circuitpython/ports/atmel-samd/boards/samd21x18-bootloader.ld
2019-10-20 23:50:12 -04:00

15 lines
365 B
Plaintext

/*
GNU linker script for SAMD21x18 (256K flash, 32K RAM)
*/
/* Specify the memory areas */
MEMORY
{
/* Leave 8KiB for the bootloader, 64k for the flash file system, and 256b
for user config. */
FLASH (rx) : ORIGIN = 0x00000000 + 8K, LENGTH = 256K - 8K - 64K - 256
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 32K
}
INCLUDE "samd21-common.ld"