summaryrefslogtreecommitdiff
path: root/SConscript
diff options
context:
space:
mode:
authorWayne Lin <[email protected]>2023-09-07 12:43:30 +0800
committersakumisu <[email protected]>2023-09-07 15:07:04 +0800
commitdd1f1d3ba80d979ef5c0153bf3897ccf45febeac (patch)
tree720e17a389336047bb624f47b54353c1a6352e03 /SConscript
parentbc1e7c4bd5d55f8963d1781ad861323c451b9ed6 (diff)
Update hcd-ehci, dcd-dwc2 and examples.
1. Add some example Msh commands. 2. Fix device enumeration on EXT hub. 3. Re-file some templates. 4. Extend end-point number of dwc2 device driver. 5. Re-file rndis_host implementation includes a. rt_mutex_take in ISR b. 2rd pmsg is unaligned issue. c. destroy u0 ethernet resource after removing dongle.
Diffstat (limited to 'SConscript')
-rw-r--r--SConscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/SConscript b/SConscript
index 71b4cd22..d9594298 100644
--- a/SConscript
+++ b/SConscript
@@ -97,6 +97,7 @@ if GetDepend(['PKG_CHERRYUSB_HOST']):
src += Glob('class/msc/usbh_msc.c')
if GetDepend(['PKG_CHERRYUSB_HOST_RNDIS']):
src += Glob('class/wireless/usbh_rndis.c')
+ src += Glob('third_party/rt-thread-4.1.1/rndis_host/rndis_host.c')
if GetDepend(['PKG_CHERRYUSB_HOST_DWC2']):
src += Glob('port/dwc2/usb_hc_dwc2.c')
@@ -119,6 +120,8 @@ if GetDepend(['PKG_CHERRYUSB_HOST']):
src += Glob('class/vendor/cp201x/usbh_cp210x.c')
src += Glob('third_party/rt-thread-4.1.1/dfs/drv_usbh_cp210x_rtt.c')
+src += Glob('third_party/rt-thread-4.1.1/msh_cmd.c')
+
group = DefineGroup('CherryUSB', src, depend = ['PKG_USING_CHERRYUSB'], CPPPATH = path, CPPDEFINES = CPPDEFINES)
Return('group')