- Install PlatformIO Core
- Download development platform with examples
- Extract ZIP archive
- Run these commands:
# Change directory to example
$ cd platform-ch32v/examples/blinky-none-os-ch5xx
# Build project
$ pio run
# Upload firmware
$ pio run --target upload
# Upload firmware for the specific environment
$ pio run -e genericCH582F --target upload
# Clean build files
$ pio run --target clean