- Install PlatformIO Core
- Run these commands:
# Build project
$ pio run
# Upload firmware
$ pio run --target upload
# Build specific environment
$ pio run -e core2
# Upload firmware for the specific environment
$ pio run -e core2 --target upload
# Clean build files
$ pio run --target clean