diff options
| author | sakumisu <[email protected]> | 2024-04-04 13:00:15 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2024-04-04 16:43:05 +0800 |
| commit | 808cd454a3e1dde6f5a7554a39fbe9795e40e449 (patch) | |
| tree | 313e24a32553f8952f6da99fdbbbccd32611a031 /SConscript | |
| parent | a41c66c2c3edb106b874aa766db095c2278f118f (diff) | |
init ohci for ehci
Diffstat (limited to 'SConscript')
| -rw-r--r-- | SConscript | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -130,8 +130,11 @@ if GetDepend(['PKG_CHERRYUSB_HOST']): src += Glob('port/ehci/usb_hc_ehci.c') src += Glob('port/ehci/usb_glue_hpm.c') if GetDepend(['PKG_CHERRYUSB_HOST_EHCI_AIC']): + path += [cwd + '/port/ehci'] + path += [cwd + '/port/ohci'] src += Glob('port/ehci/usb_hc_ehci.c') src += Glob('port/ehci/usb_glue_aic.c') + src += Glob('port/ohci/usb_hc_ohci.c') if GetDepend(['PKG_CHERRYUSB_HOST_EHCI_NUVOTON_NUC980']): src += Glob('port/ehci/usb_hc_ehci.c') src += Glob('port/ehci/usb_glue_nuc980.c') @@ -198,7 +201,7 @@ if GetDepend(['PKG_CHERRYUSB_HOST']): src += Glob('demo/usb_host.c') if GetDepend('RT_USING_DFS'): - src += Glob('third_party/rt-thread-5.0/dfs_usbh_msc.c') + src += Glob('third_party/rt-thread-5.0/dfs_usbh_msc.c') group = DefineGroup('CherryUSB', src, depend = ['PKG_USING_CHERRYUSB'], CPPPATH = path, CPPDEFINES = CPPDEFINES) |
