nuttx-update/boards/arm/stm32/stm32f103-minimum
Federico Braghiroli 3d90079f50 boards/stm32f103-minimum: fix unaligned pointer to .data section in ld.script
This patch fix _eronly value which is used during boot process to initialize
.data section to sram.

Since .data section is 4 byte aligned in flash, also _eronly must follow this
alignment to stay coherent with the start address of .data.

If one of the sections preceeding .data has a size which is not 4 byte aligned,
the _eronly value does not match with .data physical address resulting in wrong
copy of data section to sram and thus an almost immediate hardfault.

Signed-off-by: Federico Braghiroli <federico.braghiroli@gmail.com>
2024-11-13 21:59:24 +08:00
..
configs arm/stm32f103-minimum: Use common board MFRC522 2024-08-11 03:09:40 +08:00
include boards/arm/stm32: migrate to SPDX identifier 2024-11-10 01:12:34 +08:00
scripts boards/stm32f103-minimum: fix unaligned pointer to .data section in ld.script 2024-11-13 21:59:24 +08:00
src boards/arm/stm32: migrate to SPDX identifier 2024-11-10 01:12:34 +08:00
CMakeLists.txt boards/arm/stm32: migrate to SPDX identifier 2024-11-10 01:12:34 +08:00
Kconfig Change space to tab and help to ---help--- in Kconfig files. 2019-10-05 21:39:12 -06:00