Nucleo board Arduino framework example
This is a simple platformio example using Arduino framework. The code blinks the board's builtin LED
Compiling and uploading
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
Related info
https://github.com/platformio/platform-ststm32
https://docs.platformio.org/en/latest/platforms/ststm32.html#platform-ststm32
1 # Nucleo board Arduino framework example 2 3 This is a simple [platformio](https://platformio.org/) example using Arduino 4 framework. The code blinks the board's builtin LED 5 6 ## Compiling and uploading 7 8 To compile and upload the code [platformio](https://platformio.org/) is used, 9 this is a great tool which is available as an IDE or as a set of tools for the 10 command line. To compile the code from the command line on any Linux 11 distribution run: 12 13 ```console 14 $ pio run 15 ``` 16 17 And with the board connected, compile and upload the code by running the upload 18 target of platformio: 19 20 ```console 21 $ pio run -t upload 22 ``` 23 24 ## Related info 25 26 [https://github.com/platformio/platform-ststm32](https://github.com/platformio/platform-ststm32) 27 [https://docs.platformio.org/en/latest/platforms/ststm32.html#platform-ststm32](https://docs.platformio.org/en/latest/platforms/ststm32.html#platform-ststm32)
