diff options
| author | sakumisu <[email protected]> | 2022-02-13 15:06:58 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2022-02-13 15:06:58 +0800 |
| commit | f31d94c7f9f575b23d74c0d09f93be82097c07da (patch) | |
| tree | d803af5038d1f468e7685b9fb081c07431682b7e /SConscript | |
| parent | 0ec3c5e4ef8ad9a8fc0dcf95b7cccca5f9b9b5d4 (diff) | |
update sconscript and osal for rtthread
Diffstat (limited to 'SConscript')
| -rw-r--r-- | SConscript | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,7 +1,8 @@ from building import * cwd = GetCurrentDir() -path = [cwd + '/common'] +path = [cwd] +path += [cwd + '/common'] path += [cwd + '/core'] CPPDEFINES = [] @@ -55,8 +56,9 @@ if GetDepend(['PKG_CHERRYUSB_USING_HOST']): path += [cwd + '/class/msc'] src += Glob('class/msc/usbh_msc.c') path += [cwd + '/class/hub'] - src += Glob('class/hub/usbdh_hub.c') - + src += Glob('class/hub/usbh_hub.c') + + CPPDEFINES += ['CONFIG_USBHOST_HUB'] if GetDepend(['SOC_FAMILY_STM32']): src += Glob('port/synopsys/usb_hc_synopsys.c') |
