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

14 lines
347 B
Plaintext

/*
GNU linker script for SAMD21x18 (256K flash, 32K RAM)
*/
/* Specify the memory areas */
MEMORY
{
/* 256 KiB but leave 256b for internal config and 256b for user config (protected eeprom) */
FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 256K - 256 - 256
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 32K
}
INCLUDE "samd21-common.ld"