summaryrefslogtreecommitdiff
path: root/bsp/stm32f20x/Libraries/SConscript
diff options
context:
space:
mode:
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']