diff options
| author | sakumisu <[email protected]> | 2025-12-03 17:40:37 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2025-12-23 16:52:25 +0800 |
| commit | 00f4afe115eba75260d26e98e68c4826b30b2b1f (patch) | |
| tree | 2e33096769383de9c7c4fe30a40882b048eb9e21 /SConscript | |
| parent | 825765708ba4ab062d8664e7b039492aad8d1eb9 (diff) | |
update(demo): add more descriptor init macros
Signed-off-by: sakumisu <[email protected]>
Diffstat (limited to 'SConscript')
| -rw-r--r-- | SConscript | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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']): |
