Added _xxAC version linker script.

This commit is contained in:
imi415 2020-09-17 01:04:10 +08:00
parent c0cee06389
commit 71303a38e6
Signed by: imi415
GPG Key ID: 17F01E106F9F5E0A
1 changed files with 28 additions and 0 deletions

28
nrf51_xxac_softdevice.ld Normal file
View File

@ -0,0 +1,28 @@
/* Linker script to configure memory regions. */
SEARCH_DIR(.)
GROUP(-lgcc -lc -lnosys)
MEMORY
{
FLASH (rx) : ORIGIN = 0x1b000, LENGTH = 0x25000 /* --- */
RAM (rwx) : ORIGIN = 0x20001fe8, LENGTH = 0x6018 /* 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"