Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 623 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 623 Bytes

How to build PlatformIO based project

  1. Install PlatformIO Core
  2. Download development platform with examples
  3. Extract ZIP archive
  4. 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