summaryrefslogtreecommitdiff
path: root/bsp/stm32
diff options
context:
space:
mode:
authorWillian Chan <[email protected]>2019-09-11 18:16:31 +0800
committerWillian Chan <[email protected]>2019-09-11 18:16:34 +0800
commitc51352d7cbbb4228c586e68612860a14bd80d5b6 (patch)
tree11c6184ed5b928f1803bf5575d8ffa0a155e9b4e /bsp/stm32
parent315843438b375e10e2c607a0cc76c8c84146ad69 (diff)
[bsp][stm32f7]Fix "scons --dist" error in stm32f7's bsp
Signed-off-by: Willian Chan <[email protected]>
Diffstat (limited to 'bsp/stm32')
-rw-r--r--bsp/stm32/libraries/templates/stm32f7xx/SConstruct3
-rw-r--r--bsp/stm32/stm32f767-st-nucleo/SConstruct3
-rw-r--r--bsp/stm32/stm32f769-st-disco/SConstruct3
3 files changed, 9 insertions, 0 deletions
diff --git a/bsp/stm32/libraries/templates/stm32f7xx/SConstruct b/bsp/stm32/libraries/templates/stm32f7xx/SConstruct
index 012e6b41bf..782c1e6311 100644
--- a/bsp/stm32/libraries/templates/stm32f7xx/SConstruct
+++ b/bsp/stm32/libraries/templates/stm32f7xx/SConstruct
@@ -36,6 +36,9 @@ Export('rtconfig')
# prepare building environment
objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False)
+stm32_library = 'STM32F7xx_HAL'
+rtconfig.BSP_LIBRARY_TYPE = stm32_library
+
SDK_ROOT = os.path.abspath('./')
# include drivers
diff --git a/bsp/stm32/stm32f767-st-nucleo/SConstruct b/bsp/stm32/stm32f767-st-nucleo/SConstruct
index 012e6b41bf..782c1e6311 100644
--- a/bsp/stm32/stm32f767-st-nucleo/SConstruct
+++ b/bsp/stm32/stm32f767-st-nucleo/SConstruct
@@ -36,6 +36,9 @@ Export('rtconfig')
# prepare building environment
objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False)
+stm32_library = 'STM32F7xx_HAL'
+rtconfig.BSP_LIBRARY_TYPE = stm32_library
+
SDK_ROOT = os.path.abspath('./')
# include drivers
diff --git a/bsp/stm32/stm32f769-st-disco/SConstruct b/bsp/stm32/stm32f769-st-disco/SConstruct
index 012e6b41bf..782c1e6311 100644
--- a/bsp/stm32/stm32f769-st-disco/SConstruct
+++ b/bsp/stm32/stm32f769-st-disco/SConstruct
@@ -36,6 +36,9 @@ Export('rtconfig')
# prepare building environment
objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False)
+stm32_library = 'STM32F7xx_HAL'
+rtconfig.BSP_LIBRARY_TYPE = stm32_library
+
SDK_ROOT = os.path.abspath('./')
# include drivers