Skip to content

Commit 0c3c3ca

Browse files
committed
Update rv003usb example and safegurad used ch32fun version
1 parent 31452c2 commit 0c3c3ca

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

examples/ch32fun-rv003usb-composite-hid/platformio.ini

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ board = genericCH32V003F4U6
1818
; prevent ch32fun from recognizing the wrong chip series
1919
; not needed anymore in latest ch32v platform versions, left for reference.
2020
;build_unflags = -DCH32V00x
21-
lib_deps = https://github.com/maxgerhardt/rv003usb.git#136e2d107c6c8c08c52acd5ae24e93e5b4af0a15
21+
lib_deps = https://github.com/cnlohr/rv003usb.git#69729219e526156aba57985224adcc5869e6854d
2222
extra_scripts =
2323
; convenience for showing USB descriptors in intellisense
2424
pre:$PROJECT_LIBDEPS_DIR/$PIOENV/rv003usb/.github/show_descriptors.py
25+
; safeguard: actually compile against older ch32fun version.
26+
platform_packages =
27+
framework-ch32v003fun@symlink://.pio/libdeps/genericCH32V003F4U6/rv003usb/ch32fun

0 commit comments

Comments
 (0)