ghidraninja / game-and-watch-base Goto Github PK
View Code? Open in Web Editor NEWBase project for Game & Watch firmware.
License: BSD 3-Clause "New" or "Revised" License
Base project for Game & Watch firmware.
License: BSD 3-Clause "New" or "Revised" License
I wanted to try out using vsync interrupts to maintain timing in my game.
I've been trying for hours and I just cannot get HAL_LTDC_LineEventCallback and HAL_LTDC_ReloadEventCallback to fire.
I have found the global interrupt enable for LTDC and ive turned it on.
It just dosen't work at all, any ideas?
For audio ive used HAL_SAI_TxCpltCallback and HAL_SAI_TxHalfCpltCallback and they worked straight away!
I made the firmware and your base project help me a lot. thanks.
This is the project I am working.
https://github.com/chcbaram/game_n_watch
It is unfortunate that the communication port on the board is not outside.
I think it would be nice if a board with an improved version could be made.
Thanks again.
We should add a license to this project, MIT maybe?
I'm bringing the #1 discussion here so as not to derail it from the original topic.
i've got error compilation when make base main:
/usr/lib/gcc/arm-none-eabi/7.3.1/../../../arm-none-eabi/bin/ld: build/gw_base.elf section .lcd' will not fit in region
DTCMRAM'
/usr/lib/gcc/arm-none-eabi/7.3.1/../../../arm-none-eabi/bin/ld: build/gw_base.elf section .lcd' will not fit in region
FLASH'
/usr/lib/gcc/arm-none-eabi/7.3.1/../../../arm-none-eabi/bin/ld: region DTCMRAM' overflowed by 24792 bytes /usr/lib/gcc/arm-none-eabi/7.3.1/../../../arm-none-eabi/bin/ld: region
FLASH' overflowed by 45664 bytes
collect2: error: ld returned 1 exit status
make: *** [Makefile:187: build/gw_base.elf] Error 1
Hey, just dropping in to say hello, and drop a link. Thanks for the inspiration.
-Jake
https://github.com/Upcycle-Electronics/game-and-watch-hardware
I'm a total noob when it comes to STM32CUBEIDE so sorry if this comes across as a stupid question. But I downloaded the files and since there wasn't a project file in there, I started a new project using the base.ioc file. The problem I'm having is trying to import the other files and getting the project to compile. Is there something I'm missing here on how to open this base project? I was hoping to get the project open and sent over to my unlocked G&W so then I can mess around a try to figure out how everything works.
I wasn't sure where to get the Drivers directory from as it isn't included in this repo. I ended up using https://github.com/STMicroelectronics/STM32CubeH7
Is this correct?
I was trying to do the same thing as in the flashloader โ to upload the .ELF to the Game & Watch only temporarily. So I copied the linker script from there, compiled the project and uploaded the .ELF to the G&W, however, I was greeted by a black screen and no sound. I opened an OpenOCD instance to see if the code was even running, and it seems to be stuck inside HAL_Delay()
, constantly calling HAL_GetTick()
(pc is 0x0000XXXX, so it is running inside ITCM!). It never seems to exit that function, so is it possible that the system timer is stuck?
As you might tell, I'm quite new to STM32 (or even bare metal ARM in general) programming, so it's possible that I'm missing something obvious. I am using drivers which were automatically downloaded by retro-go.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.