Skip to content
Snippets Groups Projects
nrf52840_layout.ld 524 B
Newer Older
Jean-Michel Picod's avatar
Jean-Michel Picod committed
/* 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
Jean-Michel Picod's avatar
Jean-Michel Picod committed
  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 = 16384;

MPU_MIN_ALIGN = 8K;

INCLUDE layout.ld