From 22c2937c4cb879575ab7169913442e95498154ff Mon Sep 17 00:00:00 2001 From: SummerGift Date: Wed, 9 Jan 2019 18:16:39 +0800 Subject: [PATCH] [bsp][stm32] clean up the code --- bsp/stm32/libraries/templates/stm32f4xx/board/SConscript | 2 +- .../libraries/templates/stm32f4xx/board/linker_scripts/link.icf | 2 +- bsp/stm32/libraries/templates/stm32f7xx/rtconfig.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bsp/stm32/libraries/templates/stm32f4xx/board/SConscript b/bsp/stm32/libraries/templates/stm32f4xx/board/SConscript index a7785d3ff5..091f29472a 100644 --- a/bsp/stm32/libraries/templates/stm32f4xx/board/SConscript +++ b/bsp/stm32/libraries/templates/stm32f4xx/board/SConscript @@ -34,4 +34,4 @@ elif rtconfig.CROSS_TOOL == 'iar': CPPDEFINES = ['STM32F407xx'] group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES) -Return('group') \ No newline at end of file +Return('group') diff --git a/bsp/stm32/libraries/templates/stm32f4xx/board/linker_scripts/link.icf b/bsp/stm32/libraries/templates/stm32f4xx/board/linker_scripts/link.icf index f7c9751cd6..067691151f 100644 --- a/bsp/stm32/libraries/templates/stm32f4xx/board/linker_scripts/link.icf +++ b/bsp/stm32/libraries/templates/stm32f4xx/board/linker_scripts/link.icf @@ -25,4 +25,4 @@ do not initialize { section .noinit }; place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; place in ROM_region { readonly }; -place in RAM_region { readwrite, last block CSTACK}; \ No newline at end of file +place in RAM_region { readwrite, last block CSTACK}; diff --git a/bsp/stm32/libraries/templates/stm32f7xx/rtconfig.py b/bsp/stm32/libraries/templates/stm32f7xx/rtconfig.py index 11cbdba8c4..5b01587ff9 100644 --- a/bsp/stm32/libraries/templates/stm32f7xx/rtconfig.py +++ b/bsp/stm32/libraries/templates/stm32f7xx/rtconfig.py @@ -132,4 +132,4 @@ elif PLATFORM == 'iar': LFLAGS += ' --entry __iar_program_start' EXEC_PATH = EXEC_PATH + '/arm/bin/' - POST_ACTION = 'ielftool --bin $TARGET rtthread.bin' \ No newline at end of file + POST_ACTION = 'ielftool --bin $TARGET rtthread.bin' -- GitLab