From 5988415b2c2c7eb0772d7578c982629ff152e60e Mon Sep 17 00:00:00 2001 From: avm1234567 Date: Sun, 27 Sep 2026 17:46:02 +0530 Subject: [PATCH] fix stack alignment to 8 bytes for ARM AAPCS compliance --- .../templates/stm32f0xx/board/linker_scripts/link.lds | 4 ++-- .../templates/stm32f10x/board/linker_scripts/link.lds | 4 ++-- .../templates/stm32f2xx/board/linker_scripts/link.lds | 4 ++-- .../templates/stm32f3xx/board/linker_scripts/link.lds | 4 ++-- .../templates/stm32f4xx/board/linker_scripts/link.lds | 4 ++-- .../templates/stm32f7xx/board/linker_scripts/link.lds | 4 ++-- .../templates/stm32h7xx/board/linker_scripts/link.lds | 4 ++-- .../templates/stm32l1xx/board/linker_scripts/link.lds | 4 ++-- .../templates/stm32l4xx/board/linker_scripts/link.lds | 4 ++-- .../templates/stm32l5xx/board/linker_scripts/link.lds | 4 ++-- .../templates/stm32mp1xx/board/linker_scripts/link.lds | 4 ++-- .../templates/stm32wbxx/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32f072-st-nucleo/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32f091-st-nucleo/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32f103-100ask-mini/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32f103-100ask-pro/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32f103-atk-nano/board/linker_scripts/link.lds | 4 ++-- .../stm32f103-atk-warshipv3/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32f103-blue-pill/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32f103-dofly-M3S/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32f103-dofly-lyc8/board/linker_scripts/link.lds | 4 ++-- .../stm32f103-fire-arbitrary/board/linker_scripts/link.lds | 4 ++-- .../stm32f103-gizwits-gokitv21/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32f103-hw100k-ibox/board/linker_scripts/link.lds | 4 ++-- .../stm32f103-keysking-learning/board/linker_scripts/link.lds | 4 ++-- .../stm32f103-onenet-nbiot/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32f103-yf-ufun/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32f103-ys-f1pro/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32f107-uc-eval/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32f207-st-nucleo/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32f302-st-nucleo/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32f334-st-nucleo/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32f401-st-nucleo/board/linker_scripts/link.lds | 4 ++-- .../stm32f401-weact-blackpill/board/linker_scripts/link.lds | 4 ++-- .../stm32f405-smdz-breadfruit/board/linker_scripts/link.lds | 4 ++-- .../stm32f405zg-mini-template/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32f407-armfly-v5/board/linker_scripts/link.lds | 4 ++-- .../stm32f407-atk-explorer/board/linker_scripts/link.lds | 4 ++-- .../stm32f407-fk407m2-zgt6/board/linker_scripts/link.lds | 4 ++-- .../stm32f407-lckfb-skystar/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32f407-micu/board/linker_scripts/link.lds | 4 ++-- .../stm32f407-robomaster-c/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32f407-rt-spark/board/linker_scripts/link.lds | 4 ++-- .../stm32f407-st-discovery/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32f410-st-nucleo/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32f411-atk-nano/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32f411-st-nucleo/board/linker_scripts/link.lds | 4 ++-- .../stm32f411-weact-blackpill/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32f412-st-nucleo/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32f413-st-nucleo/board/linker_scripts/link.lds | 4 ++-- .../stm32f427-robomaster-a/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32f429-armfly-v6/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32f429-atk-apollo/board/linker_scripts/link.lds | 4 ++-- .../stm32f429-fire-challenger/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32f429-st-disco/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32f446-st-nucleo/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32f469-st-disco/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32f723-st-disco/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32f746-st-disco/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32f746-st-nucleo/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32f767-atk-apollo/board/linker_scripts/link.lds | 4 ++-- .../board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32f767-st-nucleo/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32f769-st-disco/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32g030-tiny-board/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32g070-st-nucleo/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32g071-st-nucleo/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32g431-st-nucleo/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32g474-st-nucleo/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32g491-st-nucleo/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32h503-st-nucleo/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32h563-st-nucleo/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32h723-DM-MC02/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32h723-lxb-disco/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32h723-st-nucleo/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32h743-armfly-v7/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32h743-atk-apollo/board/linker_scripts/link.lds | 4 ++-- .../stm32h743-openmv-h7plus/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32h743-st-nucleo/board/linker_scripts/link.lds | 4 ++-- .../stm32h747-st-discovery/board/linker_scripts/link.lds | 4 ++-- .../stm32h750-armfly-h7-tool/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32h750-artpi/board/linker_scripts/link.lds | 4 ++-- .../stm32h750-fk750m1-vbt6/board/linker_scripts/link.lds | 4 ++-- .../board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32h7r7-artpi2/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32h7s7-st-disco/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32l010-st-nucleo/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32l053-st-nucleo/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32l412-st-nucleo/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32l431-BearPi/board/linker_scripts/link.lds | 4 ++-- .../board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32l432-st-nucleo/board/linker_scripts/link.lds | 4 ++-- .../stm32l433-ali-startkit/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32l433-st-nucleo/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32l452-st-nucleo/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32l475-atk-pandora/board/linker_scripts/link.lds | 4 ++-- .../stm32l475-st-discovery/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32l476-st-nucleo/board/linker_scripts/link.lds | 4 ++-- .../stm32l496-ali-developer/board/linker_scripts/link.lds | 4 ++-- .../stm32l496-st-discovery/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32l496-st-nucleo/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32l4r5-st-nucleo/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32l4r9-st-eval/board/linker_scripts/link.lds | 4 ++-- .../stm32l4r9-st-sensortile-box/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32l552-st-nucleo/board/linker_scripts/link.lds | 4 ++-- .../stm32mp157a-st-discovery/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32mp157a-st-ev1/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32u575-st-nucleo/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32u585-iot02a/board/linker_scripts/link.lds | 4 ++-- bsp/stm32/stm32wb55-st-nucleo/board/linker_scripts/link.lds | 4 ++-- 110 files changed, 220 insertions(+), 220 deletions(-) diff --git a/bsp/stm32/libraries/templates/stm32f0xx/board/linker_scripts/link.lds b/bsp/stm32/libraries/templates/stm32f0xx/board/linker_scripts/link.lds index fe07b1d082b..12abcde10af 100644 --- a/bsp/stm32/libraries/templates/stm32f0xx/board/linker_scripts/link.lds +++ b/bsp/stm32/libraries/templates/stm32f0xx/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/libraries/templates/stm32f10x/board/linker_scripts/link.lds b/bsp/stm32/libraries/templates/stm32f10x/board/linker_scripts/link.lds index 15a7faffe09..22eefb9db96 100644 --- a/bsp/stm32/libraries/templates/stm32f10x/board/linker_scripts/link.lds +++ b/bsp/stm32/libraries/templates/stm32f10x/board/linker_scripts/link.lds @@ -92,10 +92,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/libraries/templates/stm32f2xx/board/linker_scripts/link.lds b/bsp/stm32/libraries/templates/stm32f2xx/board/linker_scripts/link.lds index 939ce13775f..e0651713588 100644 --- a/bsp/stm32/libraries/templates/stm32f2xx/board/linker_scripts/link.lds +++ b/bsp/stm32/libraries/templates/stm32f2xx/board/linker_scripts/link.lds @@ -79,10 +79,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/libraries/templates/stm32f3xx/board/linker_scripts/link.lds b/bsp/stm32/libraries/templates/stm32f3xx/board/linker_scripts/link.lds index 0efcf4192cb..07dd2ad12ac 100644 --- a/bsp/stm32/libraries/templates/stm32f3xx/board/linker_scripts/link.lds +++ b/bsp/stm32/libraries/templates/stm32f3xx/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/libraries/templates/stm32f4xx/board/linker_scripts/link.lds b/bsp/stm32/libraries/templates/stm32f4xx/board/linker_scripts/link.lds index 193bd27f7d3..48760550119 100644 --- a/bsp/stm32/libraries/templates/stm32f4xx/board/linker_scripts/link.lds +++ b/bsp/stm32/libraries/templates/stm32f4xx/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/libraries/templates/stm32f7xx/board/linker_scripts/link.lds b/bsp/stm32/libraries/templates/stm32f7xx/board/linker_scripts/link.lds index 193bd27f7d3..48760550119 100644 --- a/bsp/stm32/libraries/templates/stm32f7xx/board/linker_scripts/link.lds +++ b/bsp/stm32/libraries/templates/stm32f7xx/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/libraries/templates/stm32h7xx/board/linker_scripts/link.lds b/bsp/stm32/libraries/templates/stm32h7xx/board/linker_scripts/link.lds index 378d974f072..f6dcafba0a3 100644 --- a/bsp/stm32/libraries/templates/stm32h7xx/board/linker_scripts/link.lds +++ b/bsp/stm32/libraries/templates/stm32h7xx/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/libraries/templates/stm32l1xx/board/linker_scripts/link.lds b/bsp/stm32/libraries/templates/stm32l1xx/board/linker_scripts/link.lds index b2376e804ab..1db12c2b594 100644 --- a/bsp/stm32/libraries/templates/stm32l1xx/board/linker_scripts/link.lds +++ b/bsp/stm32/libraries/templates/stm32l1xx/board/linker_scripts/link.lds @@ -92,10 +92,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/libraries/templates/stm32l4xx/board/linker_scripts/link.lds b/bsp/stm32/libraries/templates/stm32l4xx/board/linker_scripts/link.lds index 738a2785371..edf11010db6 100644 --- a/bsp/stm32/libraries/templates/stm32l4xx/board/linker_scripts/link.lds +++ b/bsp/stm32/libraries/templates/stm32l4xx/board/linker_scripts/link.lds @@ -92,10 +92,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } > RAM diff --git a/bsp/stm32/libraries/templates/stm32l5xx/board/linker_scripts/link.lds b/bsp/stm32/libraries/templates/stm32l5xx/board/linker_scripts/link.lds index 738a2785371..edf11010db6 100644 --- a/bsp/stm32/libraries/templates/stm32l5xx/board/linker_scripts/link.lds +++ b/bsp/stm32/libraries/templates/stm32l5xx/board/linker_scripts/link.lds @@ -92,10 +92,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } > RAM diff --git a/bsp/stm32/libraries/templates/stm32mp1xx/board/linker_scripts/link.lds b/bsp/stm32/libraries/templates/stm32mp1xx/board/linker_scripts/link.lds index 67912bb5eb1..73b6a5809d1 100644 --- a/bsp/stm32/libraries/templates/stm32mp1xx/board/linker_scripts/link.lds +++ b/bsp/stm32/libraries/templates/stm32mp1xx/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/libraries/templates/stm32wbxx/board/linker_scripts/link.lds b/bsp/stm32/libraries/templates/stm32wbxx/board/linker_scripts/link.lds index 363a1271d3f..707812c0923 100644 --- a/bsp/stm32/libraries/templates/stm32wbxx/board/linker_scripts/link.lds +++ b/bsp/stm32/libraries/templates/stm32wbxx/board/linker_scripts/link.lds @@ -92,10 +92,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } > RAM diff --git a/bsp/stm32/stm32f072-st-nucleo/board/linker_scripts/link.lds b/bsp/stm32/stm32f072-st-nucleo/board/linker_scripts/link.lds index f56fcf26d2f..7d867f3f994 100644 --- a/bsp/stm32/stm32f072-st-nucleo/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f072-st-nucleo/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32f091-st-nucleo/board/linker_scripts/link.lds b/bsp/stm32/stm32f091-st-nucleo/board/linker_scripts/link.lds index 69c8d3d9ab5..e137c4d9aff 100644 --- a/bsp/stm32/stm32f091-st-nucleo/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f091-st-nucleo/board/linker_scripts/link.lds @@ -92,10 +92,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32f103-100ask-mini/board/linker_scripts/link.lds b/bsp/stm32/stm32f103-100ask-mini/board/linker_scripts/link.lds index 65a91053f40..a87e41a8c37 100644 --- a/bsp/stm32/stm32f103-100ask-mini/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f103-100ask-mini/board/linker_scripts/link.lds @@ -92,10 +92,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32f103-100ask-pro/board/linker_scripts/link.lds b/bsp/stm32/stm32f103-100ask-pro/board/linker_scripts/link.lds index 5133ad4f0bb..5a881c492f9 100644 --- a/bsp/stm32/stm32f103-100ask-pro/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f103-100ask-pro/board/linker_scripts/link.lds @@ -92,10 +92,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32f103-atk-nano/board/linker_scripts/link.lds b/bsp/stm32/stm32f103-atk-nano/board/linker_scripts/link.lds index 15a7faffe09..22eefb9db96 100644 --- a/bsp/stm32/stm32f103-atk-nano/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f103-atk-nano/board/linker_scripts/link.lds @@ -92,10 +92,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32f103-atk-warshipv3/board/linker_scripts/link.lds b/bsp/stm32/stm32f103-atk-warshipv3/board/linker_scripts/link.lds index 5133ad4f0bb..5a881c492f9 100644 --- a/bsp/stm32/stm32f103-atk-warshipv3/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f103-atk-warshipv3/board/linker_scripts/link.lds @@ -92,10 +92,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32f103-blue-pill/board/linker_scripts/link.lds b/bsp/stm32/stm32f103-blue-pill/board/linker_scripts/link.lds index 15a7faffe09..22eefb9db96 100644 --- a/bsp/stm32/stm32f103-blue-pill/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f103-blue-pill/board/linker_scripts/link.lds @@ -92,10 +92,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32f103-dofly-M3S/board/linker_scripts/link.lds b/bsp/stm32/stm32f103-dofly-M3S/board/linker_scripts/link.lds index 5133ad4f0bb..5a881c492f9 100644 --- a/bsp/stm32/stm32f103-dofly-M3S/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f103-dofly-M3S/board/linker_scripts/link.lds @@ -92,10 +92,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32f103-dofly-lyc8/board/linker_scripts/link.lds b/bsp/stm32/stm32f103-dofly-lyc8/board/linker_scripts/link.lds index fd9ee033d5a..70ea2f43377 100644 --- a/bsp/stm32/stm32f103-dofly-lyc8/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f103-dofly-lyc8/board/linker_scripts/link.lds @@ -92,10 +92,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32f103-fire-arbitrary/board/linker_scripts/link.lds b/bsp/stm32/stm32f103-fire-arbitrary/board/linker_scripts/link.lds index 5133ad4f0bb..5a881c492f9 100644 --- a/bsp/stm32/stm32f103-fire-arbitrary/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f103-fire-arbitrary/board/linker_scripts/link.lds @@ -92,10 +92,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32f103-gizwits-gokitv21/board/linker_scripts/link.lds b/bsp/stm32/stm32f103-gizwits-gokitv21/board/linker_scripts/link.lds index 15a7faffe09..22eefb9db96 100644 --- a/bsp/stm32/stm32f103-gizwits-gokitv21/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f103-gizwits-gokitv21/board/linker_scripts/link.lds @@ -92,10 +92,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32f103-hw100k-ibox/board/linker_scripts/link.lds b/bsp/stm32/stm32f103-hw100k-ibox/board/linker_scripts/link.lds index 5133ad4f0bb..5a881c492f9 100644 --- a/bsp/stm32/stm32f103-hw100k-ibox/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f103-hw100k-ibox/board/linker_scripts/link.lds @@ -92,10 +92,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32f103-keysking-learning/board/linker_scripts/link.lds b/bsp/stm32/stm32f103-keysking-learning/board/linker_scripts/link.lds index 15a7faffe09..22eefb9db96 100644 --- a/bsp/stm32/stm32f103-keysking-learning/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f103-keysking-learning/board/linker_scripts/link.lds @@ -92,10 +92,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32f103-onenet-nbiot/board/linker_scripts/link.lds b/bsp/stm32/stm32f103-onenet-nbiot/board/linker_scripts/link.lds index 3c01dcb4d5c..1860b28f804 100644 --- a/bsp/stm32/stm32f103-onenet-nbiot/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f103-onenet-nbiot/board/linker_scripts/link.lds @@ -92,10 +92,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32f103-yf-ufun/board/linker_scripts/link.lds b/bsp/stm32/stm32f103-yf-ufun/board/linker_scripts/link.lds index 4e70739e0c3..121087f3d15 100644 --- a/bsp/stm32/stm32f103-yf-ufun/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f103-yf-ufun/board/linker_scripts/link.lds @@ -92,10 +92,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32f103-ys-f1pro/board/linker_scripts/link.lds b/bsp/stm32/stm32f103-ys-f1pro/board/linker_scripts/link.lds index 5133ad4f0bb..5a881c492f9 100644 --- a/bsp/stm32/stm32f103-ys-f1pro/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f103-ys-f1pro/board/linker_scripts/link.lds @@ -92,10 +92,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32f107-uc-eval/board/linker_scripts/link.lds b/bsp/stm32/stm32f107-uc-eval/board/linker_scripts/link.lds index 8f3a4dd448f..6358f0d5181 100644 --- a/bsp/stm32/stm32f107-uc-eval/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f107-uc-eval/board/linker_scripts/link.lds @@ -92,10 +92,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32f207-st-nucleo/board/linker_scripts/link.lds b/bsp/stm32/stm32f207-st-nucleo/board/linker_scripts/link.lds index f54b8ddfee4..3c0df367665 100644 --- a/bsp/stm32/stm32f207-st-nucleo/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f207-st-nucleo/board/linker_scripts/link.lds @@ -79,10 +79,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32f302-st-nucleo/board/linker_scripts/link.lds b/bsp/stm32/stm32f302-st-nucleo/board/linker_scripts/link.lds index 0efcf4192cb..07dd2ad12ac 100644 --- a/bsp/stm32/stm32f302-st-nucleo/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f302-st-nucleo/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32f334-st-nucleo/board/linker_scripts/link.lds b/bsp/stm32/stm32f334-st-nucleo/board/linker_scripts/link.lds index e03366ad388..f0873b54787 100644 --- a/bsp/stm32/stm32f334-st-nucleo/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f334-st-nucleo/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32f401-st-nucleo/board/linker_scripts/link.lds b/bsp/stm32/stm32f401-st-nucleo/board/linker_scripts/link.lds index a0a3917868c..e20ded36040 100644 --- a/bsp/stm32/stm32f401-st-nucleo/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f401-st-nucleo/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32f401-weact-blackpill/board/linker_scripts/link.lds b/bsp/stm32/stm32f401-weact-blackpill/board/linker_scripts/link.lds index 390f75e59c8..048009394eb 100644 --- a/bsp/stm32/stm32f401-weact-blackpill/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f401-weact-blackpill/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32f405-smdz-breadfruit/board/linker_scripts/link.lds b/bsp/stm32/stm32f405-smdz-breadfruit/board/linker_scripts/link.lds index a8118d6f029..58c5f23cb24 100644 --- a/bsp/stm32/stm32f405-smdz-breadfruit/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f405-smdz-breadfruit/board/linker_scripts/link.lds @@ -95,10 +95,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM1 diff --git a/bsp/stm32/stm32f405zg-mini-template/board/linker_scripts/link.lds b/bsp/stm32/stm32f405zg-mini-template/board/linker_scripts/link.lds index 193bd27f7d3..48760550119 100644 --- a/bsp/stm32/stm32f405zg-mini-template/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f405zg-mini-template/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32f407-armfly-v5/board/linker_scripts/link.lds b/bsp/stm32/stm32f407-armfly-v5/board/linker_scripts/link.lds index ff783e07371..d80a75c7e1c 100644 --- a/bsp/stm32/stm32f407-armfly-v5/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f407-armfly-v5/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32f407-atk-explorer/board/linker_scripts/link.lds b/bsp/stm32/stm32f407-atk-explorer/board/linker_scripts/link.lds index 665ec4d1839..6f17a50c9db 100644 --- a/bsp/stm32/stm32f407-atk-explorer/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f407-atk-explorer/board/linker_scripts/link.lds @@ -96,10 +96,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM1 diff --git a/bsp/stm32/stm32f407-fk407m2-zgt6/board/linker_scripts/link.lds b/bsp/stm32/stm32f407-fk407m2-zgt6/board/linker_scripts/link.lds index 665ec4d1839..6f17a50c9db 100644 --- a/bsp/stm32/stm32f407-fk407m2-zgt6/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f407-fk407m2-zgt6/board/linker_scripts/link.lds @@ -96,10 +96,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM1 diff --git a/bsp/stm32/stm32f407-lckfb-skystar/board/linker_scripts/link.lds b/bsp/stm32/stm32f407-lckfb-skystar/board/linker_scripts/link.lds index bb6d13bf80c..dcc1310e273 100644 --- a/bsp/stm32/stm32f407-lckfb-skystar/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f407-lckfb-skystar/board/linker_scripts/link.lds @@ -104,10 +104,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM1 diff --git a/bsp/stm32/stm32f407-micu/board/linker_scripts/link.lds b/bsp/stm32/stm32f407-micu/board/linker_scripts/link.lds index 7a1e9160513..66a2a922aef 100644 --- a/bsp/stm32/stm32f407-micu/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f407-micu/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32f407-robomaster-c/board/linker_scripts/link.lds b/bsp/stm32/stm32f407-robomaster-c/board/linker_scripts/link.lds index 193bd27f7d3..48760550119 100644 --- a/bsp/stm32/stm32f407-robomaster-c/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f407-robomaster-c/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32f407-rt-spark/board/linker_scripts/link.lds b/bsp/stm32/stm32f407-rt-spark/board/linker_scripts/link.lds index ba1f396e5be..9cd3999558d 100644 --- a/bsp/stm32/stm32f407-rt-spark/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f407-rt-spark/board/linker_scripts/link.lds @@ -110,10 +110,10 @@ SECTIONS .stack (NOLOAD): { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM1 diff --git a/bsp/stm32/stm32f407-st-discovery/board/linker_scripts/link.lds b/bsp/stm32/stm32f407-st-discovery/board/linker_scripts/link.lds index 5bd6cc7eb36..2cd79d2dc08 100644 --- a/bsp/stm32/stm32f407-st-discovery/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f407-st-discovery/board/linker_scripts/link.lds @@ -89,10 +89,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM1 diff --git a/bsp/stm32/stm32f410-st-nucleo/board/linker_scripts/link.lds b/bsp/stm32/stm32f410-st-nucleo/board/linker_scripts/link.lds index 8ae7993f212..39e48503743 100644 --- a/bsp/stm32/stm32f410-st-nucleo/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f410-st-nucleo/board/linker_scripts/link.lds @@ -94,10 +94,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32f411-atk-nano/board/linker_scripts/link.lds b/bsp/stm32/stm32f411-atk-nano/board/linker_scripts/link.lds index 6939762ab33..1d199d2b301 100644 --- a/bsp/stm32/stm32f411-atk-nano/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f411-atk-nano/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32f411-st-nucleo/board/linker_scripts/link.lds b/bsp/stm32/stm32f411-st-nucleo/board/linker_scripts/link.lds index cea27d475ee..3651b2860fb 100644 --- a/bsp/stm32/stm32f411-st-nucleo/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f411-st-nucleo/board/linker_scripts/link.lds @@ -94,10 +94,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32f411-weact-blackpill/board/linker_scripts/link.lds b/bsp/stm32/stm32f411-weact-blackpill/board/linker_scripts/link.lds index cea27d475ee..3651b2860fb 100644 --- a/bsp/stm32/stm32f411-weact-blackpill/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f411-weact-blackpill/board/linker_scripts/link.lds @@ -94,10 +94,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32f412-st-nucleo/board/linker_scripts/link.lds b/bsp/stm32/stm32f412-st-nucleo/board/linker_scripts/link.lds index b681556952c..0e818d025eb 100644 --- a/bsp/stm32/stm32f412-st-nucleo/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f412-st-nucleo/board/linker_scripts/link.lds @@ -94,10 +94,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32f413-st-nucleo/board/linker_scripts/link.lds b/bsp/stm32/stm32f413-st-nucleo/board/linker_scripts/link.lds index e3c1698f9a9..b49b0abf3cd 100644 --- a/bsp/stm32/stm32f413-st-nucleo/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f413-st-nucleo/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32f427-robomaster-a/board/linker_scripts/link.lds b/bsp/stm32/stm32f427-robomaster-a/board/linker_scripts/link.lds index fe3993207bb..65416f2696d 100644 --- a/bsp/stm32/stm32f427-robomaster-a/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f427-robomaster-a/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } > RAM1 diff --git a/bsp/stm32/stm32f429-armfly-v6/board/linker_scripts/link.lds b/bsp/stm32/stm32f429-armfly-v6/board/linker_scripts/link.lds index 5be7db0ee11..4fa9e5fbdf9 100644 --- a/bsp/stm32/stm32f429-armfly-v6/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f429-armfly-v6/board/linker_scripts/link.lds @@ -95,10 +95,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM1 diff --git a/bsp/stm32/stm32f429-atk-apollo/board/linker_scripts/link.lds b/bsp/stm32/stm32f429-atk-apollo/board/linker_scripts/link.lds index c72b574cf7c..f2dc3924b71 100644 --- a/bsp/stm32/stm32f429-atk-apollo/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f429-atk-apollo/board/linker_scripts/link.lds @@ -101,10 +101,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM1 diff --git a/bsp/stm32/stm32f429-fire-challenger/board/linker_scripts/link.lds b/bsp/stm32/stm32f429-fire-challenger/board/linker_scripts/link.lds index 5be7db0ee11..4fa9e5fbdf9 100644 --- a/bsp/stm32/stm32f429-fire-challenger/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f429-fire-challenger/board/linker_scripts/link.lds @@ -95,10 +95,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM1 diff --git a/bsp/stm32/stm32f429-st-disco/board/linker_scripts/link.lds b/bsp/stm32/stm32f429-st-disco/board/linker_scripts/link.lds index 819ceb062dc..7eabf70f057 100644 --- a/bsp/stm32/stm32f429-st-disco/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f429-st-disco/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32f446-st-nucleo/board/linker_scripts/link.lds b/bsp/stm32/stm32f446-st-nucleo/board/linker_scripts/link.lds index 559038326bc..a860c453b6c 100644 --- a/bsp/stm32/stm32f446-st-nucleo/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f446-st-nucleo/board/linker_scripts/link.lds @@ -94,10 +94,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32f469-st-disco/board/linker_scripts/link.lds b/bsp/stm32/stm32f469-st-disco/board/linker_scripts/link.lds index 9c274e29112..a1e78562fd0 100644 --- a/bsp/stm32/stm32f469-st-disco/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f469-st-disco/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32f723-st-disco/board/linker_scripts/link.lds b/bsp/stm32/stm32f723-st-disco/board/linker_scripts/link.lds index 1bdba6b3e13..36956a27f55 100644 --- a/bsp/stm32/stm32f723-st-disco/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f723-st-disco/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32f746-st-disco/board/linker_scripts/link.lds b/bsp/stm32/stm32f746-st-disco/board/linker_scripts/link.lds index 4df669ade92..309e57a6502 100644 --- a/bsp/stm32/stm32f746-st-disco/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f746-st-disco/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32f746-st-nucleo/board/linker_scripts/link.lds b/bsp/stm32/stm32f746-st-nucleo/board/linker_scripts/link.lds index 4df669ade92..309e57a6502 100644 --- a/bsp/stm32/stm32f746-st-nucleo/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f746-st-nucleo/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32f767-atk-apollo/board/linker_scripts/link.lds b/bsp/stm32/stm32f767-atk-apollo/board/linker_scripts/link.lds index 193bd27f7d3..48760550119 100644 --- a/bsp/stm32/stm32f767-atk-apollo/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f767-atk-apollo/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32f767-fire-challenger-v1/board/linker_scripts/link.lds b/bsp/stm32/stm32f767-fire-challenger-v1/board/linker_scripts/link.lds index 071ec9396c1..34c3728999f 100644 --- a/bsp/stm32/stm32f767-fire-challenger-v1/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f767-fire-challenger-v1/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32f767-st-nucleo/board/linker_scripts/link.lds b/bsp/stm32/stm32f767-st-nucleo/board/linker_scripts/link.lds index ddf1851643d..32d28e0bbd6 100644 --- a/bsp/stm32/stm32f767-st-nucleo/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f767-st-nucleo/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32f769-st-disco/board/linker_scripts/link.lds b/bsp/stm32/stm32f769-st-disco/board/linker_scripts/link.lds index ddf1851643d..32d28e0bbd6 100644 --- a/bsp/stm32/stm32f769-st-disco/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f769-st-disco/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32g030-tiny-board/board/linker_scripts/link.lds b/bsp/stm32/stm32g030-tiny-board/board/linker_scripts/link.lds index 2f9e56e716e..47fa20833cf 100644 --- a/bsp/stm32/stm32g030-tiny-board/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32g030-tiny-board/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32g070-st-nucleo/board/linker_scripts/link.lds b/bsp/stm32/stm32g070-st-nucleo/board/linker_scripts/link.lds index a0df8e5a9f0..e000b75fb2a 100644 --- a/bsp/stm32/stm32g070-st-nucleo/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32g070-st-nucleo/board/linker_scripts/link.lds @@ -92,10 +92,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32g071-st-nucleo/board/linker_scripts/link.lds b/bsp/stm32/stm32g071-st-nucleo/board/linker_scripts/link.lds index a0df8e5a9f0..e000b75fb2a 100644 --- a/bsp/stm32/stm32g071-st-nucleo/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32g071-st-nucleo/board/linker_scripts/link.lds @@ -92,10 +92,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32g431-st-nucleo/board/linker_scripts/link.lds b/bsp/stm32/stm32g431-st-nucleo/board/linker_scripts/link.lds index 559038326bc..a860c453b6c 100644 --- a/bsp/stm32/stm32g431-st-nucleo/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32g431-st-nucleo/board/linker_scripts/link.lds @@ -94,10 +94,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32g474-st-nucleo/board/linker_scripts/link.lds b/bsp/stm32/stm32g474-st-nucleo/board/linker_scripts/link.lds index 559038326bc..a860c453b6c 100644 --- a/bsp/stm32/stm32g474-st-nucleo/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32g474-st-nucleo/board/linker_scripts/link.lds @@ -94,10 +94,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32g491-st-nucleo/board/linker_scripts/link.lds b/bsp/stm32/stm32g491-st-nucleo/board/linker_scripts/link.lds index 559038326bc..a860c453b6c 100644 --- a/bsp/stm32/stm32g491-st-nucleo/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32g491-st-nucleo/board/linker_scripts/link.lds @@ -94,10 +94,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32h503-st-nucleo/board/linker_scripts/link.lds b/bsp/stm32/stm32h503-st-nucleo/board/linker_scripts/link.lds index 6035b035a3a..7167fc7fdee 100644 --- a/bsp/stm32/stm32h503-st-nucleo/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32h503-st-nucleo/board/linker_scripts/link.lds @@ -92,10 +92,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } > RAM diff --git a/bsp/stm32/stm32h563-st-nucleo/board/linker_scripts/link.lds b/bsp/stm32/stm32h563-st-nucleo/board/linker_scripts/link.lds index 4f554f49a12..165d3784134 100644 --- a/bsp/stm32/stm32h563-st-nucleo/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32h563-st-nucleo/board/linker_scripts/link.lds @@ -92,10 +92,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } > RAM diff --git a/bsp/stm32/stm32h723-DM-MC02/board/linker_scripts/link.lds b/bsp/stm32/stm32h723-DM-MC02/board/linker_scripts/link.lds index b2025197925..fb305a09e6f 100644 --- a/bsp/stm32/stm32h723-DM-MC02/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32h723-DM-MC02/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32h723-lxb-disco/board/linker_scripts/link.lds b/bsp/stm32/stm32h723-lxb-disco/board/linker_scripts/link.lds index 221bedc51eb..e34b66b6f6b 100644 --- a/bsp/stm32/stm32h723-lxb-disco/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32h723-lxb-disco/board/linker_scripts/link.lds @@ -98,10 +98,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32h723-st-nucleo/board/linker_scripts/link.lds b/bsp/stm32/stm32h723-st-nucleo/board/linker_scripts/link.lds index fc8248a7723..d8ce9562ce0 100644 --- a/bsp/stm32/stm32h723-st-nucleo/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32h723-st-nucleo/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32h743-armfly-v7/board/linker_scripts/link.lds b/bsp/stm32/stm32h743-armfly-v7/board/linker_scripts/link.lds index 378d974f072..f6dcafba0a3 100644 --- a/bsp/stm32/stm32h743-armfly-v7/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32h743-armfly-v7/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32h743-atk-apollo/board/linker_scripts/link.lds b/bsp/stm32/stm32h743-atk-apollo/board/linker_scripts/link.lds index 378d974f072..f6dcafba0a3 100644 --- a/bsp/stm32/stm32h743-atk-apollo/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32h743-atk-apollo/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32h743-openmv-h7plus/board/linker_scripts/link.lds b/bsp/stm32/stm32h743-openmv-h7plus/board/linker_scripts/link.lds index 5446fd2401f..47f7f584d32 100644 --- a/bsp/stm32/stm32h743-openmv-h7plus/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32h743-openmv-h7plus/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM2 diff --git a/bsp/stm32/stm32h743-st-nucleo/board/linker_scripts/link.lds b/bsp/stm32/stm32h743-st-nucleo/board/linker_scripts/link.lds index 378d974f072..f6dcafba0a3 100644 --- a/bsp/stm32/stm32h743-st-nucleo/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32h743-st-nucleo/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32h747-st-discovery/board/linker_scripts/link.lds b/bsp/stm32/stm32h747-st-discovery/board/linker_scripts/link.lds index 79fb56f93cb..e0bedd311c8 100644 --- a/bsp/stm32/stm32h747-st-discovery/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32h747-st-discovery/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32h750-armfly-h7-tool/board/linker_scripts/link.lds b/bsp/stm32/stm32h750-armfly-h7-tool/board/linker_scripts/link.lds index b9ba7470ae4..e98cbd97501 100644 --- a/bsp/stm32/stm32h750-armfly-h7-tool/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32h750-armfly-h7-tool/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32h750-artpi/board/linker_scripts/link.lds b/bsp/stm32/stm32h750-artpi/board/linker_scripts/link.lds index 98a053f8e61..870385ea315 100644 --- a/bsp/stm32/stm32h750-artpi/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32h750-artpi/board/linker_scripts/link.lds @@ -120,10 +120,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32h750-fk750m1-vbt6/board/linker_scripts/link.lds b/bsp/stm32/stm32h750-fk750m1-vbt6/board/linker_scripts/link.lds index b9ba7470ae4..e98cbd97501 100644 --- a/bsp/stm32/stm32h750-fk750m1-vbt6/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32h750-fk750m1-vbt6/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32h750-weact-ministm32h7xx/board/linker_scripts/link.lds b/bsp/stm32/stm32h750-weact-ministm32h7xx/board/linker_scripts/link.lds index b9ba7470ae4..e98cbd97501 100644 --- a/bsp/stm32/stm32h750-weact-ministm32h7xx/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32h750-weact-ministm32h7xx/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32h7r7-artpi2/board/linker_scripts/link.lds b/bsp/stm32/stm32h7r7-artpi2/board/linker_scripts/link.lds index 946784222c2..1acb0bd61f6 100644 --- a/bsp/stm32/stm32h7r7-artpi2/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32h7r7-artpi2/board/linker_scripts/link.lds @@ -113,10 +113,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32h7s7-st-disco/board/linker_scripts/link.lds b/bsp/stm32/stm32h7s7-st-disco/board/linker_scripts/link.lds index 2f8e5381a8b..83049fdce76 100644 --- a/bsp/stm32/stm32h7s7-st-disco/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32h7s7-st-disco/board/linker_scripts/link.lds @@ -115,10 +115,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32l010-st-nucleo/board/linker_scripts/link.lds b/bsp/stm32/stm32l010-st-nucleo/board/linker_scripts/link.lds index eea2f8254fd..0b4b2592689 100644 --- a/bsp/stm32/stm32l010-st-nucleo/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32l010-st-nucleo/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } > RAM diff --git a/bsp/stm32/stm32l053-st-nucleo/board/linker_scripts/link.lds b/bsp/stm32/stm32l053-st-nucleo/board/linker_scripts/link.lds index 8fa6583f931..617a0de955c 100644 --- a/bsp/stm32/stm32l053-st-nucleo/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32l053-st-nucleo/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } > RAM diff --git a/bsp/stm32/stm32l412-st-nucleo/board/linker_scripts/link.lds b/bsp/stm32/stm32l412-st-nucleo/board/linker_scripts/link.lds index 48d51d0ca5d..e3aeed268eb 100644 --- a/bsp/stm32/stm32l412-st-nucleo/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32l412-st-nucleo/board/linker_scripts/link.lds @@ -94,10 +94,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM1 diff --git a/bsp/stm32/stm32l431-BearPi/board/linker_scripts/link.lds b/bsp/stm32/stm32l431-BearPi/board/linker_scripts/link.lds index 90a92b7097f..2406a4b8e6e 100644 --- a/bsp/stm32/stm32l431-BearPi/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32l431-BearPi/board/linker_scripts/link.lds @@ -94,10 +94,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM2 diff --git a/bsp/stm32/stm32l431-tencentos-tiny-EVB_MX+/board/linker_scripts/link.lds b/bsp/stm32/stm32l431-tencentos-tiny-EVB_MX+/board/linker_scripts/link.lds index b34f44f7816..c76826de82a 100644 --- a/bsp/stm32/stm32l431-tencentos-tiny-EVB_MX+/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32l431-tencentos-tiny-EVB_MX+/board/linker_scripts/link.lds @@ -92,10 +92,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } > RAM diff --git a/bsp/stm32/stm32l432-st-nucleo/board/linker_scripts/link.lds b/bsp/stm32/stm32l432-st-nucleo/board/linker_scripts/link.lds index 90a92b7097f..2406a4b8e6e 100644 --- a/bsp/stm32/stm32l432-st-nucleo/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32l432-st-nucleo/board/linker_scripts/link.lds @@ -94,10 +94,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM2 diff --git a/bsp/stm32/stm32l433-ali-startkit/board/linker_scripts/link.lds b/bsp/stm32/stm32l433-ali-startkit/board/linker_scripts/link.lds index 8f3a4dd448f..6358f0d5181 100644 --- a/bsp/stm32/stm32l433-ali-startkit/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32l433-ali-startkit/board/linker_scripts/link.lds @@ -92,10 +92,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32l433-st-nucleo/board/linker_scripts/link.lds b/bsp/stm32/stm32l433-st-nucleo/board/linker_scripts/link.lds index 90a92b7097f..2406a4b8e6e 100644 --- a/bsp/stm32/stm32l433-st-nucleo/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32l433-st-nucleo/board/linker_scripts/link.lds @@ -94,10 +94,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM2 diff --git a/bsp/stm32/stm32l452-st-nucleo/board/linker_scripts/link.lds b/bsp/stm32/stm32l452-st-nucleo/board/linker_scripts/link.lds index a0e2eba5fe3..71bfa112e7f 100644 --- a/bsp/stm32/stm32l452-st-nucleo/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32l452-st-nucleo/board/linker_scripts/link.lds @@ -92,10 +92,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } > RAM diff --git a/bsp/stm32/stm32l475-atk-pandora/board/linker_scripts/link.lds b/bsp/stm32/stm32l475-atk-pandora/board/linker_scripts/link.lds index caa67943833..4eb3060b6c2 100644 --- a/bsp/stm32/stm32l475-atk-pandora/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32l475-atk-pandora/board/linker_scripts/link.lds @@ -101,10 +101,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM1 diff --git a/bsp/stm32/stm32l475-st-discovery/board/linker_scripts/link.lds b/bsp/stm32/stm32l475-st-discovery/board/linker_scripts/link.lds index e7a74dfba46..23420316ac3 100644 --- a/bsp/stm32/stm32l475-st-discovery/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32l475-st-discovery/board/linker_scripts/link.lds @@ -94,10 +94,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } > RAM2 diff --git a/bsp/stm32/stm32l476-st-nucleo/board/linker_scripts/link.lds b/bsp/stm32/stm32l476-st-nucleo/board/linker_scripts/link.lds index 063898941f8..deaa11f0059 100644 --- a/bsp/stm32/stm32l476-st-nucleo/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32l476-st-nucleo/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM2 diff --git a/bsp/stm32/stm32l496-ali-developer/board/linker_scripts/link.lds b/bsp/stm32/stm32l496-ali-developer/board/linker_scripts/link.lds index 5c4a299cffe..dedd149297e 100644 --- a/bsp/stm32/stm32l496-ali-developer/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32l496-ali-developer/board/linker_scripts/link.lds @@ -92,10 +92,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32l496-st-discovery/board/linker_scripts/link.lds b/bsp/stm32/stm32l496-st-discovery/board/linker_scripts/link.lds index 7946c33034a..ff3372851e0 100644 --- a/bsp/stm32/stm32l496-st-discovery/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32l496-st-discovery/board/linker_scripts/link.lds @@ -92,10 +92,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } > RAM diff --git a/bsp/stm32/stm32l496-st-nucleo/board/linker_scripts/link.lds b/bsp/stm32/stm32l496-st-nucleo/board/linker_scripts/link.lds index 860aaff0ac6..434ec9b4d1b 100644 --- a/bsp/stm32/stm32l496-st-nucleo/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32l496-st-nucleo/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM1 diff --git a/bsp/stm32/stm32l4r5-st-nucleo/board/linker_scripts/link.lds b/bsp/stm32/stm32l4r5-st-nucleo/board/linker_scripts/link.lds index 19396356f6c..cfd9c00f79f 100644 --- a/bsp/stm32/stm32l4r5-st-nucleo/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32l4r5-st-nucleo/board/linker_scripts/link.lds @@ -91,10 +91,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM1 diff --git a/bsp/stm32/stm32l4r9-st-eval/board/linker_scripts/link.lds b/bsp/stm32/stm32l4r9-st-eval/board/linker_scripts/link.lds index ef50d234d3a..cd429bcfa0e 100644 --- a/bsp/stm32/stm32l4r9-st-eval/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32l4r9-st-eval/board/linker_scripts/link.lds @@ -91,10 +91,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM2 diff --git a/bsp/stm32/stm32l4r9-st-sensortile-box/board/linker_scripts/link.lds b/bsp/stm32/stm32l4r9-st-sensortile-box/board/linker_scripts/link.lds index 0e29776ea97..c50303f4966 100644 --- a/bsp/stm32/stm32l4r9-st-sensortile-box/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32l4r9-st-sensortile-box/board/linker_scripts/link.lds @@ -90,10 +90,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM2 diff --git a/bsp/stm32/stm32l552-st-nucleo/board/linker_scripts/link.lds b/bsp/stm32/stm32l552-st-nucleo/board/linker_scripts/link.lds index 738a2785371..edf11010db6 100644 --- a/bsp/stm32/stm32l552-st-nucleo/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32l552-st-nucleo/board/linker_scripts/link.lds @@ -92,10 +92,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } > RAM diff --git a/bsp/stm32/stm32mp157a-st-discovery/board/linker_scripts/link.lds b/bsp/stm32/stm32mp157a-st-discovery/board/linker_scripts/link.lds index 67912bb5eb1..73b6a5809d1 100644 --- a/bsp/stm32/stm32mp157a-st-discovery/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32mp157a-st-discovery/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32mp157a-st-ev1/board/linker_scripts/link.lds b/bsp/stm32/stm32mp157a-st-ev1/board/linker_scripts/link.lds index 67912bb5eb1..73b6a5809d1 100644 --- a/bsp/stm32/stm32mp157a-st-ev1/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32mp157a-st-ev1/board/linker_scripts/link.lds @@ -93,10 +93,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } >RAM diff --git a/bsp/stm32/stm32u575-st-nucleo/board/linker_scripts/link.lds b/bsp/stm32/stm32u575-st-nucleo/board/linker_scripts/link.lds index 738a2785371..edf11010db6 100644 --- a/bsp/stm32/stm32u575-st-nucleo/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32u575-st-nucleo/board/linker_scripts/link.lds @@ -92,10 +92,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } > RAM diff --git a/bsp/stm32/stm32u585-iot02a/board/linker_scripts/link.lds b/bsp/stm32/stm32u585-iot02a/board/linker_scripts/link.lds index f8c45f42ce2..21abdfc0ee5 100644 --- a/bsp/stm32/stm32u585-iot02a/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32u585-iot02a/board/linker_scripts/link.lds @@ -92,10 +92,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } > RAM diff --git a/bsp/stm32/stm32wb55-st-nucleo/board/linker_scripts/link.lds b/bsp/stm32/stm32wb55-st-nucleo/board/linker_scripts/link.lds index 626bc8006dd..eec8d8458fc 100644 --- a/bsp/stm32/stm32wb55-st-nucleo/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32wb55-st-nucleo/board/linker_scripts/link.lds @@ -92,10 +92,10 @@ SECTIONS .stack (NOLOAD) : { - . = ALIGN(4); + . = ALIGN(8); _sstack = .; . = . + _system_stack_size; - . = ALIGN(4); + . = ALIGN(8); _estack = .; } > RAM