24 lines
599 B
Plaintext
24 lines
599 B
Plaintext
MEMORY
|
|
{
|
|
FLASH : ORIGIN = 0x08000000, LENGTH = 256K
|
|
UNINIT: ORIGIN = 0x20000000, LENGTH = 0x10
|
|
RAM : ORIGIN = 0x20000010, LENGTH = 64K - LENGTH(UNINIT)
|
|
}
|
|
|
|
SECTIONS {
|
|
.uninit_flags (NOLOAD) : ALIGN(4)
|
|
{
|
|
. = ALIGN(4);
|
|
__suninit_flags = .;
|
|
_dfu_magic = .; . += 4;
|
|
*(.uninit_flags .uninit_flags.*)
|
|
. = ALIGN(4);
|
|
__euninit_flags = .;
|
|
} > UNINIT
|
|
}
|
|
|
|
|
|
/* 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); |