sam: fix ROM / RAM size on atsamd51j20

This commit is contained in:
sago35
2020-05-08 06:04:10 +09:00
committed by GitHub
parent 8ce3cfad40
commit 5ed0f67e1c
2 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
"--target=armv7em-none-eabi",
"-Qunused-arguments"
],
"linkerscript": "targets/atsamd51.ld",
"linkerscript": "targets/atsamd51j20a.ld",
"extra-files": [
"src/device/sam/atsamd51j20a.s"
]
+10
View File
@@ -0,0 +1,10 @@
MEMORY
{
FLASH_TEXT (rw) : ORIGIN = 0x00000000+0x4000, LENGTH = 0x00100000-0x4000 /* First 16KB used by bootloader */
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 0x00040000
}
_stack_size = 4K;
INCLUDE "targets/arm.ld"