diff options
Diffstat (limited to 'bsp/stm32f10x-HAL/Libraries/SConscript')
| -rw-r--r-- | bsp/stm32f10x-HAL/Libraries/SConscript | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/bsp/stm32f10x-HAL/Libraries/SConscript b/bsp/stm32f10x-HAL/Libraries/SConscript index ba24882c6f..05c7ace82d 100644 --- a/bsp/stm32f10x-HAL/Libraries/SConscript +++ b/bsp/stm32f10x-HAL/Libraries/SConscript @@ -131,12 +131,9 @@ elif rtconfig.CROSS_TOOL == 'iar': src = src + ['CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/' + startup_scripts[STM32_TYPE]] path = [cwd + '/CMSIS/Device/ST/STM32F1xx/Include', - cwd + '/STM32F1xx_HAL_Driver/Inc', + cwd + '/STM32F1xx_HAL_Driver/Inc', cwd + '/CMSIS/Include'] -if GetDepend(['RT_USING_RTT_CMSIS']): - path += [RTT_ROOT + '/components/CMSIS/Include'] - CPPDEFINES = ['USE_HAL_DRIVER',STM32_TYPE] group = DefineGroup('STM32_HAL', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES) |
