-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
45 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/* Linker script to configure memory regions. */ | ||
|
||
SEARCH_DIR(.) | ||
GROUP(-lgcc -lc -lnosys) | ||
|
||
MEMORY | ||
{ | ||
/* flash length is calculated using the flash origin of the bootloader_secure */ | ||
/* last subtraction is to have some free flash for pin configuration settings */ | ||
FLASH (rx) : ORIGIN = 0x0001b000, LENGTH = 0x00035C00 - 0x0001b000 - 0x0400 | ||
RAM (rwx) : ORIGIN = 0x20002008, LENGTH = 0x1ff8 + 0x4000 /* 16kB more than qfaa */ | ||
BOOTLOADER_SETTINGS (rw) : ORIGIN = 0x0003FC00, LENGTH = 0x0400 | ||
} | ||
|
||
SECTIONS | ||
{ | ||
/* Ensures the bootloader settings are placed at the last flash page. */ | ||
.bootloaderSettings(NOLOAD) : | ||
{ | ||
|
||
} > BOOTLOADER_SETTINGS | ||
.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" |