UXN on STM32 ARM
Getting Started with Development
I used this guide to get started.
Building
$ make
Programming
$ make flash
Debugging
Connect to target via OpenOCD
$ openocd -f interface/stlink.cfg -f target/stm32f4x.cfg
Open another terminal window and start a GDB session. This series of commands loads the target symbols, connects to the running OpenOCD session, and resets remote execution halting.
$ arm-none-eabi-gdb build/blinky.elf
> target remote :3333
> monitor reset halt
You are now ready to debug using GDB commands
Useful Docs
Some important data sheets are included in the repo, but here is some further reading...
libopenCM3 examples for F4-Disco