This is your basic "Hello World" program for the 1Bitsy setup to work with Drone OS
It sets up the system clock to run at 168 MHz.
This example uses drone-os v0.12.1
- STM32F415RGT6
- HSI - 16 MHz
- HSE - 25 MHz
- LSE - 32.768 kHz
- 512K Flash
- 128K RAM
- has a LED connected to PA8 (active low)
Drone.tomlchangedgdb-clientto bearm-none-eabi-gdb, since I haven't found gdb-multiarch for MacOS.Drone.tomlchangedserial-endpointandgdb-endpointto match the USB names that my Black Magic Probe shows up as under MacOS.
To build - assuming other setup has been done as per the Drone Book
git clone https://github.com/dhylands/drone-bitsy-blinky.git bitsy-blinky
cd bitsy-blinky
just build