Build and upload the mbed-rtos-events example
developTo build and upload the mbed-rtos-events example project using PlatformIO Core, follow these steps:
- Install PlatformIO Core.
- Download the development platform with examples from the repository.
- Extract the ZIP archive.
- Navigate to the example directory and use the
pioCLI to build, upload, or clean the project.
# Change directory to example
$ cd platform-ststm32/examples/mbed-rtos-events
# Build project
$ pio run
# Upload firmware
$ pio run --target upload
# Build specific environment
$ pio run -e nucleo_f091rc
# Upload firmware for the specific environment
$ pio run -e nucleo_f091rc --target upload
# Clean build files
$ pio run --target clean