From 00f4afe115eba75260d26e98e68c4826b30b2b1f Mon Sep 17 00:00:00 2001 From: sakumisu <1203593632@qq.com> Date: Wed, 3 Dec 2025 17:40:37 +0800 Subject: update(demo): add more descriptor init macros Signed-off-by: sakumisu <1203593632@qq.com> --- SConscript | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'SConscript') 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']): -- cgit v1.3.1