circuitpython/nrf52/gcc_nrf52_s132.ld

24 lines
435 B
Plaintext

/* Linker script to configure memory regions. */
SEARCH_DIR(.)
GROUP(-lgcc -lc -lnosys)
MEMORY
{
FLASH (rx) : ORIGIN = 0x1c000, LENGTH = 0x64000
RAM (rwx) : ORIGIN = 0x20002080, LENGTH = 0xdf80
}
SECTIONS
{
.fs_data :
{
PROVIDE(__start_fs_data = .);
KEEP(*(.fs_data))
PROVIDE(__stop_fs_data = .);
} > RAM
} INSERT AFTER .data;
/* found in the nordic SDK components/toolchain/gcc */
INCLUDE "nrf5x_common.ld"