File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
bsp/stm32/stm32h750-artpi-h750/board Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ import os
22import rtconfig
33from building import *
44
5+ Import ('SDK_LIB' )
6+
57objs = []
68cwd = GetCurrentDir ()
79list = os .listdir (cwd )
@@ -43,12 +45,14 @@ path = [cwd]
4345path += [cwd + '/CubeMX_Config/Core/Inc' ]
4446path += [cwd + '/port' ]
4547
48+ startup_path_prefix = SDK_LIB
49+
4650if rtconfig .CROSS_TOOL == 'gcc' :
47- src += [cwd + '/../../libraries /STM32H7xx_HAL/CMSIS/Device/ST/STM32H7xx/Source/Templates/gcc/startup_stm32h750xx.s' ]
51+ src += [startup_path_prefix + '/STM32H7xx_HAL/CMSIS/Device/ST/STM32H7xx/Source/Templates/gcc/startup_stm32h750xx.s' ]
4852elif rtconfig .CROSS_TOOL == 'keil' :
49- src += [cwd + '/../../libraries /STM32H7xx_HAL/CMSIS/Device/ST/STM32H7xx/Source/Templates/arm/startup_stm32h750xx.s' ]
53+ src += [startup_path_prefix + '/STM32H7xx_HAL/CMSIS/Device/ST/STM32H7xx/Source/Templates/arm/startup_stm32h750xx.s' ]
5054elif rtconfig .CROSS_TOOL == 'iar' :
51- src += [cwd + '/../../libraries /STM32H7xx_HAL/CMSIS/Device/ST/STM32H7xx/Source/Templates/iar/startup_stm32h750xx.s' ]
55+ src += [startup_path_prefix + '/STM32H7xx_HAL/CMSIS/Device/ST/STM32H7xx/Source/Templates/iar/startup_stm32h750xx.s' ]
5256
5357# STM32H743xx || STM32H750xx || STM32F753xx
5458# You can select chips from the list above
You can’t perform that action at this time.
0 commit comments