summaryrefslogtreecommitdiff
path: root/components/drivers/usb/cherryusb/SConscript
diff options
context:
space:
mode:
authorsakumisu <[email protected]>2024-10-20 00:23:21 +0800
committerGitHub <[email protected]>2024-10-19 12:23:21 -0400
commit4c206caf8b472ebbbff536ccbe85e20fe213e5ea (patch)
treed22f44ece37d81dcdb7747ffccbad2dc995b5d42 /components/drivers/usb/cherryusb/SConscript
parente47f478e1249f1fb938885dadcc1e4bab66f0c59 (diff)
update(cherryusb): update to v1.4.1
Diffstat (limited to 'components/drivers/usb/cherryusb/SConscript')
-rw-r--r--components/drivers/usb/cherryusb/SConscript10
1 files changed, 10 insertions, 0 deletions
diff --git a/components/drivers/usb/cherryusb/SConscript b/components/drivers/usb/cherryusb/SConscript
index baeec17889..e8e69705b0 100644
--- a/components/drivers/usb/cherryusb/SConscript
+++ b/components/drivers/usb/cherryusb/SConscript
@@ -58,6 +58,11 @@ if GetDepend(['RT_CHERRYUSB_DEVICE']):
src += Glob('port/musb/usb_glue_bk.c')
if GetDepend(['RT_CHERRYUSB_DEVICE_MUSB_CUSTOM']):
src += Glob('port/musb/usb_dc_musb.c')
+ if GetDepend(['RT_CHERRYUSB_DEVICE_KINETIS_MCX']):
+ src += Glob('port/kinetis/usb_dc_kinetis.c')
+ src += Glob('port/kinetis/usb_glue_mcx.c')
+ if GetDepend(['RT_CHERRYUSB_DEVICE_KINETIS_CUSTOM']):
+ src += Glob('port/kinetis/usb_dc_kinetis.c')
if GetDepend(['RT_CHERRYUSB_DEVICE_CHIPIDEA_MCX']):
src += Glob('port/chipidea/usb_dc_chipidea.c')
src += Glob('port/chipidea/usb_glue_mcx.c')
@@ -187,6 +192,11 @@ if GetDepend(['RT_CHERRYUSB_HOST']):
src += Glob('port/musb/usb_glue_bk.c')
if GetDepend(['RT_CHERRYUSB_HOST_MUSB_CUSTOM']):
src += Glob('port/musb/usb_hc_musb.c')
+ if GetDepend(['RT_CHERRYUSB_HOST_KINETIS_MCX']):
+ src += Glob('port/kinetis/usb_hc_kinetis.c')
+ src += Glob('port/kinetis/usb_glue_mcx.c')
+ if GetDepend(['RT_CHERRYUSB_HOST_KINETIS_CUSTOM']):
+ src += Glob('port/kinetis/usb_hc_kinetis.c')
if GetDepend(['RT_CHERRYUSB_HOST_PUSB2']):
path += [cwd + '/port/pusb2/rt-thread']
src += Glob('port/pusb2/rt-thread/usb_hc_glue_phytium.c')