diff options
| author | Willian Chan <[email protected]> | 2019-09-11 18:16:31 +0800 |
|---|---|---|
| committer | Willian Chan <[email protected]> | 2019-09-11 18:16:34 +0800 |
| commit | c51352d7cbbb4228c586e68612860a14bd80d5b6 (patch) | |
| tree | 11c6184ed5b928f1803bf5575d8ffa0a155e9b4e /bsp | |
| parent | 315843438b375e10e2c607a0cc76c8c84146ad69 (diff) | |
[bsp][stm32f7]Fix "scons --dist" error in stm32f7's bsp
Signed-off-by: Willian Chan <[email protected]>
Diffstat (limited to 'bsp')
| -rw-r--r-- | bsp/stm32/libraries/templates/stm32f7xx/SConstruct | 3 | ||||
| -rw-r--r-- | bsp/stm32/stm32f767-st-nucleo/SConstruct | 3 | ||||
| -rw-r--r-- | bsp/stm32/stm32f769-st-disco/SConstruct | 3 |
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 |
