22 lines
524 B
Plaintext
22 lines
524 B
Plaintext
/* Layout for the nRF52840-DK and nRF52840 dongle, used by the
|
|
* app in this repository.
|
|
*/
|
|
|
|
MEMORY {
|
|
/* The application region is 64 bytes (0x40) and we reserve 0x40000 at the end
|
|
* of the flash for the persistent storage.
|
|
*/
|
|
FLASH (rx) : ORIGIN = 0x00040040, LENGTH = 0x0007FFC0
|
|
SRAM (rwx) : ORIGIN = 0x20020000, LENGTH = 128K
|
|
}
|
|
|
|
/*
|
|
* Any change to STACK_SIZE should be accompanied by a corresponding change to
|
|
* `elf2tab`'s `--stack` option
|
|
*/
|
|
STACK_SIZE = 71680;
|
|
|
|
MPU_MIN_ALIGN = 8K;
|
|
|
|
INCLUDE layout.ld
|