summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2023-11-24 13:21:38 +0700
committerGitHub <[email protected]>2023-11-24 13:21:38 +0700
commitf03f60eae2894993373b48e2104bf02116bef1fa (patch)
treeca928a5957eff4c73aee2a9454b5108cb2fe0496 /tools
parentd6b8b3515df4bb83b6038bd60260771e65af8de7 (diff)
parentb6059fa942897d3037e6dce2a6f4082b9f2ebb57 (diff)
Merge pull request #2278 from Krasutski/feature/ch32f20x
Add CH32F20x support
Diffstat (limited to 'tools')
-rw-r--r--tools/get_deps.py3
-rw-r--r--tools/iar_template.ipcf4
2 files changed, 5 insertions, 2 deletions
diff --git a/tools/get_deps.py b/tools/get_deps.py
index 6850cacb1..a993d696e 100644
--- a/tools/get_deps.py
+++ b/tools/get_deps.py
@@ -164,6 +164,9 @@ deps_optional = {
'hw/mcu/wch/ch32v307': ['https://github.com/openwch/ch32v307.git',
'17761f5cf9dbbf2dcf665b7c04934188add20082',
'ch32v307'],
+ 'hw/mcu/wch/ch32f20x': ['https://github.com/openwch/ch32f20x.git',
+ '77c4095087e5ed2c548ec9058e655d0b8757663b',
+ 'ch32f20x'],
'lib/CMSIS_5': ['https://github.com/ARM-software/CMSIS_5.git',
'20285262657d1b482d132d20d755c8c330d55c1f',
'imxrt kinetis_k32l2 kinetis_kl lpc51 lpc54 lpc55 mcx mm32 msp432e4 nrf ra saml2x'
diff --git a/tools/iar_template.ipcf b/tools/iar_template.ipcf
index 4919fe7b4..c3683c3d7 100644
--- a/tools/iar_template.ipcf
+++ b/tools/iar_template.ipcf
@@ -164,8 +164,8 @@
<group name="src/portable/valentyusb/eptri">
<path>$TUSB_DIR$/src/portable/valentyusb/eptri/dcd_eptri.c</path>
</group>
- <group name="src/portable/wch/ch32v307">
- <path>$TUSB_DIR$/src/portable/wch/ch32v307/dcd_usbhs.c</path>
+ <group name="src/portable/wch">
+ <path>$TUSB_DIR$/src/portable/wch/dcd_ch32_usbhs.c</path>
</group>
<group name="src/typec">
<path>$TUSB_DIR$/src/typec/usbc.c</path>