radomctld/memory.x

24 lines
599 B
Plaintext
Raw Normal View History

2024-07-28 21:41:42 +02:00
MEMORY
{
FLASH : ORIGIN = 0x08000000, LENGTH = 256K
2024-10-03 22:54:05 +02:00
UNINIT: ORIGIN = 0x20000000, LENGTH = 0x10
RAM : ORIGIN = 0x20000010, LENGTH = 64K - LENGTH(UNINIT)
2024-07-28 21:41:42 +02:00
}
2024-10-03 22:54:05 +02:00
SECTIONS {
.uninit_flags (NOLOAD) : ALIGN(4)
{
. = ALIGN(4);
__suninit_flags = .;
_dfu_magic = .; . += 4;
*(.uninit_flags .uninit_flags.*)
. = ALIGN(4);
__euninit_flags = .;
} > UNINIT
}
2024-07-28 21:41:42 +02:00
/* This is where the call stack will be allocated. */
/* The stack is of the full descending type. */
/* NOTE Do NOT modify `_stack_start` unless you know what you are doing */
_stack_start = ORIGIN(RAM) + LENGTH(RAM);