commit 64bef85c20f9b3223e25dca400edeac89a15aa4d parent 70a6c5de9da9467ad2a1bd471f4c3f6e64af8946 Author: Martin Kloeckner <mjkloeckner@gmail.com> Date: Sat, 23 Aug 2025 22:57:02 -0300 added platformio info on `README.md` Diffstat:
| M | README.md | | | 24 | +++++++++++++++++++++--- |
1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md @@ -1,9 +1,27 @@ # Nucleo board Arduino framework example -This is a simple platformio example using Arduino framework. The code blinks the -board's builtin LED +This is a simple [platformio](https://platformio.org/) example using Arduino +framework. The code blinks the board's builtin LED + +## Compiling and uploading + +To compile and upload the code [platformio](https://platformio.org/) 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: + +```console +$ pio run +``` + +And with the board connected, compile and upload the code by running the upload +target of platformio: + +```console +$ pio run -t upload +``` ## Related info -[https://github.com/platformio/platform-ststm32](https://github.com/platformio/platform-ststm32) +[https://github.com/platformio/platform-ststm32](https://github.com/platformio/platform-ststm32) [https://docs.platformio.org/en/latest/platforms/ststm32.html#platform-ststm32](https://docs.platformio.org/en/latest/platforms/ststm32.html#platform-ststm32)
