diff options
| author | sakumisu <[email protected]> | 2025-12-03 17:40:37 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2025-12-04 10:55:01 +0800 |
| commit | a20f53c6de6e9213f3ad5e6907c334d0e10c38a6 (patch) | |
| tree | 55f70c7ee4b2b8c0d33e2de65d6d44788c6debc7 /SConscript | |
| parent | 006123c29676013f2e9a13e1535fa6bb09e07be3 (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']): |
