summaryrefslogtreecommitdiff
path: root/components/drivers/usb/cherryusb/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'components/drivers/usb/cherryusb/SConscript')
-rw-r--r--components/drivers/usb/cherryusb/SConscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/drivers/usb/cherryusb/SConscript b/components/drivers/usb/cherryusb/SConscript
index 88255f4540..86a3eced36 100644
--- a/components/drivers/usb/cherryusb/SConscript
+++ b/components/drivers/usb/cherryusb/SConscript
@@ -37,6 +37,9 @@ if GetDepend(['RT_CHERRYUSB_DEVICE']):
if GetDepend(['RT_CHERRYUSB_DEVICE_FSDEV_ST']):
src += Glob('port/fsdev/usb_dc_fsdev.c')
src += Glob('port/fsdev/usb_glue_st.c')
+ if GetDepend(['RT_CHERRYUSB_DEVICE_FSDEV_NATION']):
+ src += Glob('port/fsdev/usb_dc_fsdev.c')
+ src += Glob('port/fsdev/usb_glue_nation.c')
if GetDepend(['RT_CHERRYUSB_DEVICE_FSDEV_CUSTOM']):
src += Glob('port/fsdev/usb_dc_fsdev.c')
if GetDepend(['RT_CHERRYUSB_DEVICE_DWC2_ST']):