boot/stm32: Add ram function section.

This commit is contained in:
iabdalkader 2025-06-07 16:32:38 +02:00
parent a152b170ea
commit a436ab0f4f

View File

@ -90,5 +90,15 @@ SECTIONS
_estack = .;
} >RAM
.ram_function : ALIGN(4)
{
_ram_function_start = .;
*(.ram_function*)
. = ALIGN(4);
_ram_function_end = .;
} > RAM AT> ROM
_ram_function_flash = LOADADDR(.ram_function);
.ARM.attributes 0 : { *(.ARM.attributes) }
}