22 lines
820 B
INI
22 lines
820 B
INI
; PlatformIO Project Configuration File
|
|
;
|
|
; Build options: build flags, source filter
|
|
; Upload options: custom upload port, speed and extra flags
|
|
; Library options: dependencies, extra library storages
|
|
; Advanced options: extra scripting
|
|
;
|
|
; Please visit documentation for the other options and examples
|
|
; https://docs.platformio.org/page/projectconf.html
|
|
|
|
[env:genericCH32V203C8T6]
|
|
platform = https://git.hye.su/mira/platform-ch32v.git
|
|
|
|
platform_packages =
|
|
toolchain-riscv @ https://git.hye.su/mira/toolchain-riscv-linux.git ; gcc 14.2.0
|
|
framework-ch32v003fun @ https://github.com/cnlohr/ch32v003fun.git ; upstream cnlohr repo
|
|
board = genericCH32V203C8T6
|
|
framework = ch32v003fun
|
|
upload_protocol = wlink # isp, minichlink, wch-link, wlink
|
|
build_unflags = -march=rv32imacxw
|
|
build_flags = -march=rv32imac
|