Firmware implementation for mouse-pcb.
-
Build
cargo build --release # for production release # or cargo build --features="disable_usb" # for dev build without usb support - for debugging
-
"Extract" the binary
arm-none-eabi-objcopy -O binary target/thumbv6m-none-eabi/release/mouse-fw-rust out.bin
-
Flash using your debug probe
# example using st-link st-flash write out.bin 0x08000000
-
Debug (for development)
Use openocd/st-util/... to set up the gdb server and connect to it using arm-none-eabi-gdb