From 98415b6d8c14d6e5dfd0501a29fc9992b97f7919 Mon Sep 17 00:00:00 2001 From: "ethan.du" Date: Wed, 26 Aug 2020 17:59:20 +0800 Subject: [PATCH] bugfix hal flash compile --- SConscript | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/SConscript b/SConscript index acef0ae..ad43249 100644 --- a/SConscript +++ b/SConscript @@ -32,7 +32,9 @@ CPPPATH += [cwd + '/uiot/shadow/include'] CPPPATH += [cwd + '/uiot/utils'] src_base += Glob('uiot/utils/*.c') -src_base += Glob('ports/rtthread/*.c') +src_base += Glob('ports/rtthread/HAL_OS_rtthread.c') +src_base += Glob('ports/rtthread/HAL_TCP_rtthread.c') +src_base += Glob('ports/rtthread/HAL_Timer_rtthread.c') #Debug if GetDepend(['PKG_USING_UCLOUD_DEBUG']): CPPDEFINES += ['ENABLE_LOG_DEBUG', 'ENABLE_LOG_INFO', 'ENABLE_LOG_WARN', 'ENABLE_LOG_ERROR'] @@ -57,6 +59,7 @@ if GetDepend(['PKG_USING_UCLOUD_DEV_MODEL']): if GetDepend(['PKG_USING_UCLOUD_OTA']): src_base += Glob('uiot/ota/src/*.c') src_base += Glob('ports/fal/*.c') + src_base += Glob('ports/rtthread/HAL_Flash_rtthread.c') #TLS used if GetDepend(['PKG_USING_UCLOUD_TLS']):