mirror of
https://github.com/ghidraninja/game-and-watch-flashloader.git
synced 2025-12-17 01:16:08 +01:00
- Added configuration options for SDK location and version. - Separated source tracking variables into application C sources, SDK C sources, SDK ASM sources and and SDK headers (the latter were added so they can be downloaded individually). - Added automated prerequisite generation for SDK object file rules. This compensates for the fact that chains of implicit rules cannot work anymore as they did, as file location can't be determined through vpath anymore (downloaded files don't exist until after rules are procesed).
11 lines
328 B
Markdown
11 lines
328 B
Markdown
# game-and-watch-flashloader
|
|
A small tool to flash the SPI-flash using OpenOCD.
|
|
|
|
## Usage
|
|
|
|
- (Optional) Initialize using STM32CubeMX or dowload all SDK files using `make download_sdk -j`
|
|
- Build the code using `make`
|
|
- Run `flash.sh`, point it to the image you want to flash
|
|
- Wait until your device blinks once a second
|
|
- Done
|