From 4febbb20ebf001d037987dbebba2e2ad34863bd5 Mon Sep 17 00:00:00 2001 From: ralfak Date: Thu, 22 May 2014 21:02:13 +0800 Subject: [PATCH] Update SConscript --- bsp/stm32f40x/Libraries/SConscript | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/bsp/stm32f40x/Libraries/SConscript b/bsp/stm32f40x/Libraries/SConscript index 976061dd28..d23856456a 100644 --- a/bsp/stm32f40x/Libraries/SConscript +++ b/bsp/stm32f40x/Libraries/SConscript @@ -12,16 +12,6 @@ CMSIS/ST/STM32F4xx/Source/Templates/system_stm32f4xx.c src += Glob('STM32F4xx_StdPeriph_Driver/src/*.c') -# starupt scripts for each STM32 kind -# startup_scripts = {} -# startup_scripts['STM32F10X_CL'] = 'startup_stm32f10x_cl.s' -# startup_scripts['STM32F10X_HD'] = 'startup_stm32f10x_hd.s' -# startup_scripts['STM32F10X_HD_VL'] = 'startup_stm32f10x_hd_vl.s' -# startup_scripts['STM32F10X_LD'] = 'startup_stm32f10x_ld.s' -# startup_scripts['STM32F10X_LD_VL'] = 'startup_stm32f10x_ld_vl.s' -# startup_scripts['STM32F10X_MD'] = 'startup_stm32f10x_md.s' -# startup_scripts['STM32F10X_MD_VL'] = 'startup_stm32f10x_md_vl.s' -# startup_scripts['STM32F10X_XL'] = 'startup_stm32f10x_xl.s' #add for startup script if rtconfig.CROSS_TOOL == 'gcc': @@ -33,8 +23,7 @@ elif rtconfig.CROSS_TOOL == 'keil': path = [cwd + '/STM32F4xx_StdPeriph_Driver/inc', cwd + '/CMSIS/ST/STM32F4xx/Include', - cwd + '/CMSIS/Include', - cwd + '/CMSIS/CM3/DeviceSupport/ST/STM32F10x'] + cwd + '/CMSIS/Include'] #CPPDEFINES = ['USE_STDPERIPH_DRIVER', rtconfig.STM32_TYPE] CPPDEFINES = ['USE_STDPERIPH_DRIVER'] -- GitLab