diff options
| author | sakumisu <[email protected]> | 2025-03-07 14:08:56 +0800 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2025-03-10 13:45:33 +0800 |
| commit | de30bd110511f60a8801805707093214c565f11e (patch) | |
| tree | 6ddada032878b0d46d8af9ffdcd560248cb54023 /components/drivers/usb/cherryusb/SConscript | |
| parent | 180fb2bd4c3926027646d3160f7675c1c68f8853 (diff) | |
update(cherryusb): update to v1.4.3
Signed-off-by: sakumisu <[email protected]>
Diffstat (limited to 'components/drivers/usb/cherryusb/SConscript')
| -rw-r--r-- | components/drivers/usb/cherryusb/SConscript | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/components/drivers/usb/cherryusb/SConscript b/components/drivers/usb/cherryusb/SConscript index 29cbd4ae80..e4af1fc5f6 100644 --- a/components/drivers/usb/cherryusb/SConscript +++ b/components/drivers/usb/cherryusb/SConscript @@ -1,18 +1,23 @@ from building import * cwd = GetCurrentDir() -path = [cwd + '/common'] +path = [cwd] +path += [cwd + '/common'] path += [cwd + '/core'] +path += [cwd + '/class/hub'] path += [cwd + '/class/cdc'] path += [cwd + '/class/msc'] path += [cwd + '/class/hid'] path += [cwd + '/class/audio'] path += [cwd + '/class/video'] path += [cwd + '/class/wireless'] +path += [cwd + '/class/midi'] +path += [cwd + '/class/adb'] path += [cwd + '/class/dfu'] path += [cwd + '/class/midi'] path += [cwd + '/class/vendor/net'] path += [cwd + '/class/vendor/serial'] +path += [cwd + '/class/vendor/wifi'] src = [] LIBS = [] @@ -109,13 +114,15 @@ if GetDepend(['RT_CHERRYUSB_DEVICE']): src += Glob('class/cdc/usbd_cdc_ecm.c') if GetDepend(['RT_CHERRYUSB_DEVICE_CDC_NCM']): src += Glob('class/cdc/usbd_cdc_ncm.c') - if GetDepend(['RT_CHERRYUSB_USING_DFU']): + if GetDepend(['RT_CHERRYUSB_DEVICE_DFU']): src += Glob('class/dfu/usbd_dfu.c') if GetDepend(['RT_CHERRYUSB_DEVICE_TEMPLATE_CDC_ACM']): src += Glob('demo/cdc_acm_template.c') if GetDepend(['RT_CHERRYUSB_DEVICE_TEMPLATE_MSC']): src += Glob('demo/msc_ram_template.c') + if GetDepend(['RT_CHERRYUSB_DEVICE_TEMPLATE_MSC_BLKDEV']): + src += Glob('platform/rtthread/usbd_msc_blkdev.c') if GetDepend(['RT_CHERRYUSB_DEVICE_TEMPLATE_HID_MOUSE']): src += Glob('demo/hid_mouse_template.c') if GetDepend(['RT_CHERRYUSB_DEVICE_TEMPLATE_HID_KEYBOARD']): @@ -147,7 +154,6 @@ if GetDepend(['RT_CHERRYUSB_DEVICE']): # USB HOST if GetDepend(['RT_CHERRYUSB_HOST']): - path += [cwd + '/class/hub'] src += Glob('core/usbh_core.c') src += Glob('class/hub/usbh_hub.c') src += Glob('osal/usb_osal_rtthread.c') |
