summaryrefslogtreecommitdiff
path: root/SConscript
diff options
context:
space:
mode:
authorsakumisu <[email protected]>2025-12-03 17:40:37 +0800
committersakumisu <[email protected]>2025-12-04 10:55:01 +0800
commita20f53c6de6e9213f3ad5e6907c334d0e10c38a6 (patch)
tree55f70c7ee4b2b8c0d33e2de65d6d44788c6debc7 /SConscript
parent006123c29676013f2e9a13e1535fa6bb09e07be3 (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']):