diff options
| author | sakumisu <[email protected]> | 2023-12-21 20:23:54 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2023-12-21 21:58:08 +0800 |
| commit | 8a831cdaa5a547c3e92a73f4b772c32407b21161 (patch) | |
| tree | c134c2b046246bae50b3b789dcab9f7d8b6df86f /SConscript | |
| parent | 44e9c1cf4f64d2669e68486ad855de157171b655 (diff) | |
user must define some configs in usb_config.h when use fsdev/musb/dwc2
Diffstat (limited to 'SConscript')
| -rw-r--r-- | SConscript | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -64,10 +64,6 @@ if GetDepend(['PKG_CHERRYUSB_DEVICE']): src += Glob('port/dwc2/usb_dc_dwc2.c') if GetDepend(['PKG_CHERRYUSB_DEVICE_DWC2_STM32']): src += Glob('port/dwc2/usb_glue_st.c') - if GetDepend(['PKG_CHERRYUSB_DEVICE_DWC2_PORT_FS']): - CPPDEFINES += ['CONFIG_USB_DWC2_PORT=FS_PORT'] - elif GetDepend(['PKG_CHERRYUSB_DEVICE_DWC2_PORT_HS']): - CPPDEFINES += ['CONFIG_USB_DWC2_PORT=HS_PORT'] if GetDepend(['PKG_CHERRYUSB_DEVICE_MUSB']): src += Glob('port/musb/usb_dc_musb.c') |
