sam: fix ROM / RAM size on atsamd51j20

Этот коммит содержится в:
sago35 2020-05-08 06:04:10 +09:00 коммит произвёл GitHub
родитель 8ce3cfad40
коммит 5ed0f67e1c
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 11 добавлений и 1 удалений

Просмотреть файл

@ -6,7 +6,7 @@
"--target=armv7em-none-eabi", "--target=armv7em-none-eabi",
"-Qunused-arguments" "-Qunused-arguments"
], ],
"linkerscript": "targets/atsamd51.ld", "linkerscript": "targets/atsamd51j20a.ld",
"extra-files": [ "extra-files": [
"src/device/sam/atsamd51j20a.s" "src/device/sam/atsamd51j20a.s"
] ]

10
targets/atsamd51j20a.ld Обычный файл
Просмотреть файл

@ -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"