summaryrefslogtreecommitdiff
path: root/bsp/stm32/libraries
diff options
context:
space:
mode:
authortyustli <[email protected]>2019-03-26 13:58:33 +0800
committertyustli <[email protected]>2019-03-26 13:58:33 +0800
commit1be90253d0c887aecbdeab0800520a1e30cabdec (patch)
tree5106d8c66e776433df5818639e68d69868ed57eb /bsp/stm32/libraries
parent4b6c732cd757b8770d90e21c0e45c1991363d0f3 (diff)
delete the CMSIS from components and add the CMSIS
and add the CMSIS in some specific BSP
Diffstat (limited to 'bsp/stm32/libraries')
-rw-r--r--bsp/stm32/libraries/STM32F0xx_HAL/SConscript5
-rw-r--r--bsp/stm32/libraries/STM32F1xx_HAL/SConscript3
2 files changed, 1 insertions, 7 deletions
diff --git a/bsp/stm32/libraries/STM32F0xx_HAL/SConscript b/bsp/stm32/libraries/STM32F0xx_HAL/SConscript
index daab047603..e8ac68c42c 100644
--- a/bsp/stm32/libraries/STM32F0xx_HAL/SConscript
+++ b/bsp/stm32/libraries/STM32F0xx_HAL/SConscript
@@ -78,12 +78,9 @@ if GetDepend(['BSP_USING_ON_CHIP_FLASH']):
src += ['STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c']
path = [cwd + '/CMSIS/Device/ST/STM32F0xx/Include',
- cwd + '/STM32F0xx_HAL_Driver/Inc',
+ cwd + '/STM32F0xx_HAL_Driver/Inc',
cwd + '/CMSIS/Include']
-if GetDepend(['RT_USING_RTT_CMSIS']):
- path += [RTT_ROOT + '/components/CMSIS/Include']
-
CPPDEFINES = ['USE_HAL_DRIVER']
group = DefineGroup('STM32_HAL', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
diff --git a/bsp/stm32/libraries/STM32F1xx_HAL/SConscript b/bsp/stm32/libraries/STM32F1xx_HAL/SConscript
index 37101b6c74..cc20d36181 100644
--- a/bsp/stm32/libraries/STM32F1xx_HAL/SConscript
+++ b/bsp/stm32/libraries/STM32F1xx_HAL/SConscript
@@ -84,9 +84,6 @@ path = [cwd + '/CMSIS/Device/ST/STM32F1xx/Include',
cwd + '/STM32F1xx_HAL_Driver/Inc',
cwd + '/CMSIS/Include']
-if GetDepend(['RT_USING_RTT_CMSIS']):
- path += [RTT_ROOT + '/components/CMSIS/Include']
-
CPPDEFINES = ['USE_HAL_DRIVER']
group = DefineGroup('STM32_HAL', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)