cd2223b8fe
- Makefile: update to use new ASF4 files, support frozen manifest, and include source files in upcoming commits - boards/manifest.py: add files to freeze - boards/samd51p19a.ld: add linker script for this MCU - help.c: add custom help text - main.c: execute _boot.py, boot.py and main.py on start-up - modules/_boot.py: startup file to freeze - modutime.c: add gmtime, localtime, mktime, time functions - mpconfigport.h: enabled more features for sys and io and modules - mphalport.h: add mp_hal_pin_xxx macros - mphalport.c: add mp_hal_stdio_poll
18 lines
358 B
Plaintext
18 lines
358 B
Plaintext
/*
|
|
GNU linker script for SAMD51
|
|
*/
|
|
|
|
/* Specify the memory areas */
|
|
MEMORY
|
|
{
|
|
FLASH (rx) : ORIGIN = 0x00004000, LENGTH = 512K - 16K
|
|
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 192K
|
|
}
|
|
|
|
/* Top end of the stack, with room for double-tap variable */
|
|
_estack = ORIGIN(RAM) + LENGTH(RAM) - 8;
|
|
_sstack = _estack - 16K;
|
|
|
|
_sheap = _ebss;
|
|
_eheap = _sstack;
|