2016-10-17 18:10:38 -04:00
|
|
|
/*
|
2018-02-09 10:06:14 -05:00
|
|
|
GNU linker script for SAMD21x18 (256K flash, 32K RAM)
|
2016-10-17 18:10:38 -04:00
|
|
|
*/
|
|
|
|
|
|
|
|
/* Specify the memory areas */
|
|
|
|
MEMORY
|
|
|
|
{
|
2017-08-25 16:00:27 -04:00
|
|
|
/* 256 KiB but leave 256b for internal config and 256b for user config (protected eeprom) */
|
2018-02-09 10:06:14 -05:00
|
|
|
FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 256K - 256 - 256
|
|
|
|
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 32K
|
2016-10-17 18:10:38 -04:00
|
|
|
}
|
|
|
|
|
2019-10-20 23:50:12 -04:00
|
|
|
INCLUDE "samd21-common.ld"
|