summaryrefslogtreecommitdiff
path: root/SConscript
diff options
context:
space:
mode:
authorsakumisu <[email protected]>2025-12-03 17:40:37 +0800
committersakumisu <[email protected]>2025-12-23 16:52:25 +0800
commit00f4afe115eba75260d26e98e68c4826b30b2b1f (patch)
tree2e33096769383de9c7c4fe30a40882b048eb9e21 /SConscript
parent825765708ba4ab062d8664e7b039492aad8d1eb9 (diff)
update(demo): add more descriptor init macros
Signed-off-by: sakumisu <[email protected]>
Diffstat (limited to 'SConscript')
-rw-r--r--SConscript6
1 files changed, 4 insertions, 2 deletions
diff --git a/SConscript b/SConscript
index fb7b5bdf..a4bc8163 100644
--- a/SConscript
+++ b/SConscript
@@ -166,10 +166,12 @@ if GetDepend(['PKG_CHERRYUSB_DEVICE']):
src += Glob('demo/cdc_acm_hid_msc_template.c')
if GetDepend(['PKG_CHERRYUSB_DEVICE_TEMPLATE_WINUSBV1']):
src += Glob('demo/winusb1.0_template.c')
+ if GetDepend(['PKG_CHERRYUSB_DEVICE_TEMPLATE_WINUSBV2']):
+ src += Glob('demo/winusb2.0_template.c')
if GetDepend(['PKG_CHERRYUSB_DEVICE_TEMPLATE_WINUSBV2_CDC']):
src += Glob('demo/winusb2.0_cdc_template.c')
- if GetDepend(['PKG_CHERRYUSB_DEVICE_TEMPLATE_WINUSBV2_HID']):
- src += Glob('demo/winusb2.0_hid_template.c')
+ if GetDepend(['PKG_CHERRYUSB_DEVICE_TEMPLATE_WEBUSB_HID']):
+ src += Glob('demo/webusb_hid_template.c')
if GetDepend(['PKG_CHERRYUSB_DEVICE_TEMPLATE_ADB']):
src += Glob('demo/adb/usbd_adb_template.c')
if GetDepend(['PKG_CHERRYUSB_DEVICE_TEMPLATE_CDC_ACM_CHARDEV']):