summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMatthew Tran <[email protected]>2023-11-19 18:26:40 -0800
committerhathach <[email protected]>2024-05-15 20:01:00 +0700
commitdb60fa1c63ae58c205e43e144253dab6815bb2d1 (patch)
treef15653fde2d8eb2e2c43eee8eec0bc687a068720 /tools
parentcf532d14792411fd40ad3433fe0ce9959887ef4b (diff)
add CH32V20x USB OTG/FS driver
Diffstat (limited to 'tools')
-rw-r--r--tools/get_deps.py3
-rw-r--r--tools/iar_template.ipcf1
2 files changed, 4 insertions, 0 deletions
diff --git a/tools/get_deps.py b/tools/get_deps.py
index 87c1c5ccd..cf15126b3 100644
--- a/tools/get_deps.py
+++ b/tools/get_deps.py
@@ -168,6 +168,9 @@ deps_optional = {
'hw/mcu/ti': ['https://github.com/hathach/ti_driver.git',
'143ed6cc20a7615d042b03b21e070197d473e6e5',
'msp430 msp432e4 tm4c'],
+ 'hw/mcu/wch/ch32v20x': ['https://github.com/openwch/ch32v20x.git',
+ 'de6d68c654340d7f27b00cebbfc9aa2740a1abc2',
+ 'ch32v20x'],
'hw/mcu/wch/ch32v307': ['https://github.com/openwch/ch32v307.git',
'17761f5cf9dbbf2dcf665b7c04934188add20082',
'ch32v307'],
diff --git a/tools/iar_template.ipcf b/tools/iar_template.ipcf
index e72ec0ce2..33a6ef045 100644
--- a/tools/iar_template.ipcf
+++ b/tools/iar_template.ipcf
@@ -239,6 +239,7 @@
<path>$TUSB_DIR$/src/portable/valentyusb/eptri/dcd_eptri.h</path>
</group>
<group name="src/portable/wch">
+ <path>$TUSB_DIR$/src/portable/wch/dcd_ch32_usbfs.c</path>
<path>$TUSB_DIR$/src/portable/wch/dcd_ch32_usbhs.c</path>
<path>$TUSB_DIR$/src/portable/wch/ch32_usbhs_reg.h</path>
</group>