summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsakumisu <[email protected]>2026-08-14 22:50:25 +0800
committersakumisu <[email protected]>2026-08-14 22:50:25 +0800
commit1bfc83ad46301553c8b626446417273b18abca6e (patch)
treedb2f90e048d8bc33d4b983190f3a5152c7e52098
parent639a4760f7e1222a41cca5a7f296f681e0d258ff (diff)
fix(port/ch32): fix ch32 macro and readme
Signed-off-by: sakumisu <[email protected]>
-rw-r--r--SConscript2
-rw-r--r--port/ch32/README.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/SConscript b/SConscript
index b1ea4906..2eeed782 100644
--- a/SConscript
+++ b/SConscript
@@ -105,7 +105,7 @@ if GetDepend(['PKG_CHERRYUSB_DEVICE']):
src += Glob('port/renesas/device/r_usb_device.c')
src += Glob('port/renesas/device/usb_dc_rensas.c')
if GetDepend(['PKG_CHERRYUSB_DEVICE_CH32']):
- if GetDepend(['PKG_CHERRYUSB_DEVICE_HS']):
+ if GetDepend(['PKG_CHERRYUSB_DEVICE_SPEED_HS']):
src += Glob('port/ch32/usb_dc_usbhs.c')
else:
src += Glob('port/ch32/usb_dc_usbfs.c')
diff --git a/port/ch32/README.md b/port/ch32/README.md
index da734e84..3c6461c8 100644
--- a/port/ch32/README.md
+++ b/port/ch32/README.md
@@ -4,7 +4,7 @@
## CH32FS
-- CH32V30X/CH32V20X(USBFS, USBD 用 fsdev)/CH32V10X/CH32X035/CH32L103
+- CH32V30X/CH32V20X(USBFS, USBD 用 fsdev)/CH32V10X/CH32L103
## CH32HS