From f31d94c7f9f575b23d74c0d09f93be82097c07da Mon Sep 17 00:00:00 2001 From: sakumisu <1203593632@qq.com> Date: Sun, 13 Feb 2022 15:06:58 +0800 Subject: update sconscript and osal for rtthread --- SConscript | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'SConscript') diff --git a/SConscript b/SConscript index e53b79e6..1621e269 100644 --- a/SConscript +++ b/SConscript @@ -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') -- cgit v1.3.1