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 fe07b1d082b8..12abcde10af7 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 15a7faffe09d..22eefb9db966 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 939ce13775f6..e06517135884 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 0efcf4192cb9..07dd2ad12acb 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 193bd27f7d3c..487605501190 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 193bd27f7d3c..487605501190 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 378d974f072f..f6dcafba0a31 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 b2376e804ab3..1db12c2b594f 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 738a27853716..edf11010db61 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 738a27853716..edf11010db61 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 67912bb5eb1d..73b6a5809d16 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 363a1271d3f3..707812c09234 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 f56fcf26d2fa..7d867f3f9944 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 69c8d3d9ab55..e137c4d9aff3 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 65a91053f40a..a87e41a8c37e 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 5133ad4f0bb8..5a881c492f9c 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 15a7faffe09d..22eefb9db966 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 5133ad4f0bb8..5a881c492f9c 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 15a7faffe09d..22eefb9db966 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 5133ad4f0bb8..5a881c492f9c 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 fd9ee033d5a9..70ea2f433776 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 5133ad4f0bb8..5a881c492f9c 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 15a7faffe09d..22eefb9db966 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 5133ad4f0bb8..5a881c492f9c 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 15a7faffe09d..22eefb9db966 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 3c01dcb4d5cb..1860b28f8042 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 4e70739e0c3a..121087f3d151 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 5133ad4f0bb8..5a881c492f9c 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 8f3a4dd448fc..6358f0d5181d 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 f54b8ddfee4e..3c0df3676657 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 0efcf4192cb9..07dd2ad12acb 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 e03366ad3884..f0873b54787f 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 a0a3917868ca..e20ded360403 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 390f75e59c82..048009394eb4 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 a8118d6f0296..58c5f23cb24b 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 193bd27f7d3c..487605501190 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 ff783e073714..d80a75c7e1cd 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 665ec4d1839c..6f17a50c9dba 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 665ec4d1839c..6f17a50c9dba 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 bb6d13bf80c4..dcc1310e273e 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 7a1e91605137..66a2a922aef5 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 193bd27f7d3c..487605501190 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 ba1f396e5be7..9cd3999558d5 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 5bd6cc7eb360..2cd79d2dc08e 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 8ae7993f2128..39e48503743a 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 6939762ab331..1d199d2b301d 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 cea27d475ee8..3651b2860fb2 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 cea27d475ee8..3651b2860fb2 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 b681556952cd..0e818d025ebc 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 e3c1698f9a96..b49b0abf3cd1 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 fe3993207bb0..65416f2696d1 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 5be7db0ee111..4fa9e5fbdf9a 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 c72b574cf7c0..f2dc3924b717 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 5be7db0ee111..4fa9e5fbdf9a 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 819ceb062dc1..7eabf70f0576 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 559038326bc3..a860c453b6c5 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 9c274e291125..a1e78562fd05 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 1bdba6b3e13b..36956a27f557 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 4df669ade929..309e57a65025 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 4df669ade929..309e57a65025 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 193bd27f7d3c..487605501190 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 071ec9396c18..34c3728999fc 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 ddf1851643de..32d28e0bbd64 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 ddf1851643de..32d28e0bbd64 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 2f9e56e716e6..47fa20833cf2 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 a0df8e5a9f0f..e000b75fb2a8 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 a0df8e5a9f0f..e000b75fb2a8 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 559038326bc3..a860c453b6c5 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 559038326bc3..a860c453b6c5 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 559038326bc3..a860c453b6c5 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 6035b035a3a0..7167fc7fdee0 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 4f554f49a124..165d3784134d 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 b20251979258..fb305a09e6fd 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 221bedc51eb0..e34b66b6f6bd 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 fc8248a77239..d8ce9562ce08 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 378d974f072f..f6dcafba0a31 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 378d974f072f..f6dcafba0a31 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 5446fd2401f8..47f7f584d32e 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 378d974f072f..f6dcafba0a31 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 79fb56f93cb1..e0bedd311c84 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 b9ba7470ae48..e98cbd975018 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 98a053f8e61b..870385ea3158 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 b9ba7470ae48..e98cbd975018 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 b9ba7470ae48..e98cbd975018 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 946784222c2a..1acb0bd61f62 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 2f8e5381a8b7..83049fdce76c 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 eea2f8254fd0..0b4b25926899 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 8fa6583f931b..617a0de955ce 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 48d51d0ca5d0..e3aeed268eb7 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 90a92b7097fe..2406a4b8e6e9 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 b34f44f7816b..c76826de82a4 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 90a92b7097fe..2406a4b8e6e9 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 8f3a4dd448fc..6358f0d5181d 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 90a92b7097fe..2406a4b8e6e9 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 a0e2eba5fe38..71bfa112e7f1 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 caa679438332..4eb3060b6c2b 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 e7a74dfba46a..23420316ac36 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 063898941f82..deaa11f0059c 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 5c4a299cffec..dedd149297ea 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 7946c33034a8..ff3372851e04 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 860aaff0ac63..434ec9b4d1b7 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 19396356f6c1..cfd9c00f79f0 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 ef50d234d3a3..cd429bcfa0e1 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 0e29776ea97f..c50303f49665 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 738a27853716..edf11010db61 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 67912bb5eb1d..73b6a5809d16 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 67912bb5eb1d..73b6a5809d16 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 738a27853716..edf11010db61 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 f8c45f42ce28..21abdfc0ee54 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 626bc8006dd0..eec8d8458fcc 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