summaryrefslogtreecommitdiff
path: root/bsp/stm32f20x/Libraries/SConscript
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/stm32f20x/Libraries/SConscript
parent4b6c732cd757b8770d90e21c0e45c1991363d0f3 (diff)
delete the CMSIS from components and add the CMSIS
and add the CMSIS in some specific BSP
Diffstat (limited to 'bsp/stm32f20x/Libraries/SConscript')
-rw-r--r--bsp/stm32f20x/Libraries/SConscript7
1 files changed, 2 insertions, 5 deletions
diff --git a/bsp/stm32f20x/Libraries/SConscript b/bsp/stm32f20x/Libraries/SConscript
index 47094bb33a..bc87c26f8d 100644
--- a/bsp/stm32f20x/Libraries/SConscript
+++ b/bsp/stm32f20x/Libraries/SConscript
@@ -55,11 +55,8 @@ elif rtconfig.CROSS_TOOL == 'iar':
path = [cwd + '/STM32F2xx_StdPeriph_Driver/inc',
cwd + '/CMSIS/CM3/DeviceSupport/ST/STM32F2xx']
-if GetDepend(['RT_USING_BSP_CMSIS']):
- path += [cwd + '/CMSIS/CM3/CoreSupport']
- src += [cwd + '/CMSIS/CM3/CoreSupport/core_cm3.c']
-elif GetDepend(['RT_USING_RTT_CMSIS']):
- path += [RTT_ROOT + '/components/CMSIS/Include']
+path += [cwd + '/CMSIS/CM3/CoreSupport',
+cwd + '/CMSIS/Include']
if GetDepend('RT_USING_LWIP') == True:
src = src + ['STM32F2x7_ETH_Driver/src/stm32f2x7_eth.c']