Bare metal projects using FrameworkLibOpenCM3
- Install PlatformIO Core
- Download development platform with examples
- Extract ZIP archive
- Run these commands:
# Change directory to example
$ cd platform-ststm32/examples/libopencm3-blink
# Build project
$ pio run
# Upload firmware
$ pio run --target upload
# Build specific environment
$ pio run -e disco_f407vg
# Upload firmware for the specific environment
$ pio run -e disco_f407vg --target upload
# Clean build files
$ pio run --target clean