29 lines
600 B
Plaintext
29 lines
600 B
Plaintext
/* Linker script to configure memory regions. */
|
|
|
|
SEARCH_DIR(.)
|
|
GROUP(-lgcc -lc -lnosys)
|
|
|
|
MEMORY
|
|
{
|
|
FLASH (rx) : ORIGIN = 0x1b000, LENGTH = 0x25000 /* --- */
|
|
RAM (rwx) : ORIGIN = 0x200013c8, LENGTH = 0x2c38 /* Nordic S130 SDS v2 */
|
|
}
|
|
|
|
SECTIONS
|
|
{
|
|
.fs_data :
|
|
{
|
|
PROVIDE(__start_fs_data = .);
|
|
KEEP(*(.fs_data))
|
|
PROVIDE(__stop_fs_data = .);
|
|
} > RAM
|
|
.pwr_mgmt_data :
|
|
{
|
|
PROVIDE(__start_pwr_mgmt_data = .);
|
|
KEEP(*(.pwr_mgmt_data))
|
|
PROVIDE(__stop_pwr_mgmt_data = .);
|
|
} > RAM
|
|
} INSERT AFTER .data;
|
|
|
|
INCLUDE "nrf5x_common.ld"
|