diff options
| author | sakumisu <[email protected]> | 2025-05-20 18:46:18 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2025-05-20 18:46:18 +0800 |
| commit | 5fed8b7d0539e37100d91381a8b46847364ecd4d (patch) | |
| tree | 99cfc6b0987f48661ba438bab6c07b9dd1ee1612 /SConscript | |
| parent | 45ccc810d296f1a5ffadc50aa56bce3f2c39f7c8 (diff) | |
update: sync code from rtthread master
Signed-off-by: sakumisu <[email protected]>
Diffstat (limited to 'SConscript')
| -rw-r--r-- | SConscript | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -106,6 +106,8 @@ if GetDepend(['PKG_CHERRYUSB_DEVICE']): if GetDepend(['ARCH_ARM_CORTEX_A']): LIBPATH = [cwd + '/port/pusb2'] LIBS = ['libpusb2_dc_a32_softfp_neon.a'] + if GetDepend(['PKG_CHERRYUSB_DEVICE_NRF5X']): + src += Glob('port/nrf5x/usb_dc_nrf5x.c') if GetDepend(['PKG_CHERRYUSB_DEVICE_CDC_ACM']): src += Glob('class/cdc/usbd_cdc_acm.c') @@ -123,7 +125,7 @@ if GetDepend(['PKG_CHERRYUSB_DEVICE']): src += Glob('class/cdc/usbd_cdc_ecm.c') if GetDepend(['PKG_CHERRYUSB_DEVICE_CDC_NCM']): src += Glob('class/cdc/usbd_cdc_ncm.c') - if GetDepend(['PKG_CHERRYUSB_USING_DFU']): + if GetDepend(['PKG_CHERRYUSB_DEVICE_DFU']): src += Glob('class/dfu/usbd_dfu.c') if GetDepend(['PKG_CHERRYUSB_DEVICE_TEMPLATE_CDC_ACM']): |
