Firmware for my GB/GBA cart reader/writer/flasher.
- gb-rw-host: Host part of the program
- gb-cart-nucleo-shield: PCB design to beused on top of a STM32 Nucleo compatible development board.
This firmware uses the
stm32f4xx-hal
crate and as such
should be easily adaptable to other stm32fYXX microcontrollers as well as any
other microcontroller that implements the
embedded-hal
traits.
It also uses my uRPC
library (server side)
to communicate with the host via UART.
To build the firmware you will need the rust target thumbv7em-none-eabihf
. Install it with:
rustup target add thumbv7em-none-eabihf
To flash the firmware you will need openocd.
Debian install:
sudo apt install openocd
Arch install:
sudo pacman -S openocd
To build the firmware:
cargo build --release
To flash the firmware:
./flash.sh