From 59ebd512fe9d658781ba20dd77e9b24df9351ac9 Mon Sep 17 00:00:00 2001 From: SummerGift Date: Wed, 9 Jan 2019 18:20:07 +0800 Subject: [PATCH] [bsp][stm32] add new line at end of file --- .../templates/stm32f0xx/board/linker_scripts/link.icf | 2 +- .../templates/stm32f10x/board/linker_scripts/link.icf | 2 +- bsp/stm32/libraries/templates/stm32f7xx/board/SConscript | 2 +- .../templates/stm32f7xx/board/linker_scripts/link.icf | 2 +- bsp/stm32/libraries/templates/stm32l4xx/board/SConscript | 3 ++- .../templates/stm32l4xx/board/linker_scripts/link.icf | 2 +- 6 files changed, 7 insertions(+), 6 deletions(-) diff --git a/bsp/stm32/libraries/templates/stm32f0xx/board/linker_scripts/link.icf b/bsp/stm32/libraries/templates/stm32f0xx/board/linker_scripts/link.icf index 04c0e65c7a..3d2361d2b0 100644 --- a/bsp/stm32/libraries/templates/stm32f0xx/board/linker_scripts/link.icf +++ b/bsp/stm32/libraries/templates/stm32f0xx/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/stm32f10x/board/linker_scripts/link.icf b/bsp/stm32/libraries/templates/stm32f10x/board/linker_scripts/link.icf index bdd18477f4..ef28cbbd54 100644 --- a/bsp/stm32/libraries/templates/stm32f10x/board/linker_scripts/link.icf +++ b/bsp/stm32/libraries/templates/stm32f10x/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/board/SConscript b/bsp/stm32/libraries/templates/stm32f7xx/board/SConscript index 71989399ff..c1ea2dbc78 100644 --- a/bsp/stm32/libraries/templates/stm32f7xx/board/SConscript +++ b/bsp/stm32/libraries/templates/stm32f7xx/board/SConscript @@ -24,4 +24,4 @@ elif rtconfig.CROSS_TOOL == 'iar': CPPDEFINES = ['STM32F767xx'] 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/stm32f7xx/board/linker_scripts/link.icf b/bsp/stm32/libraries/templates/stm32f7xx/board/linker_scripts/link.icf index f7c9751cd6..067691151f 100644 --- a/bsp/stm32/libraries/templates/stm32f7xx/board/linker_scripts/link.icf +++ b/bsp/stm32/libraries/templates/stm32f7xx/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/stm32l4xx/board/SConscript b/bsp/stm32/libraries/templates/stm32l4xx/board/SConscript index e5741fc74d..14352c3679 100644 --- a/bsp/stm32/libraries/templates/stm32l4xx/board/SConscript +++ b/bsp/stm32/libraries/templates/stm32l4xx/board/SConscript @@ -36,4 +36,5 @@ elif rtconfig.CROSS_TOOL == 'iar': CPPDEFINES = ['STM32L475xx'] 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/stm32l4xx/board/linker_scripts/link.icf b/bsp/stm32/libraries/templates/stm32l4xx/board/linker_scripts/link.icf index c1bfcb7950..20b29c8d75 100644 --- a/bsp/stm32/libraries/templates/stm32l4xx/board/linker_scripts/link.icf +++ b/bsp/stm32/libraries/templates/stm32l4xx/board/linker_scripts/link.icf @@ -26,4 +26,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};