![]() | stm32f103rb-pio-arduino-framework-exampleBlinking the board’s built-in LED with PlatformIO’s Arduino framework |
| Mode | Name | Size |
| d--------- | src | . |
| -rw-r--r-- | README.md | 27L |
| -rw-r--r-- | platformio.ini | 5L |
This is a simple platformio example using Arduino framework. The code blinks the board's builtin LED
To compile and upload the code platformio is used, this is a great tool which is available as an IDE or as a set of tools for the command line. To compile the code from the command line on any Linux distribution run:
$ pio run
And with the board connected, compile and upload the code by running the upload target of platformio:
$ pio run -t upload
https://github.com/platformio/platform-ststm32
https://docs.platformio.org/en/latest/platforms/ststm32.html#platform-ststm32