
This page has been a big help in adding support for this new chip: https://wiki.osdev.org/HiFive-1_Bare_Bones
10 строки
178 Б
Text
10 строки
178 Б
Text
|
|
MEMORY
|
|
{
|
|
FLASH_TEXT (rw) : ORIGIN = 0x20010000, LENGTH = 0x6a120
|
|
RAM (xrw) : ORIGIN = 0x80000000, LENGTH = 0x4000
|
|
}
|
|
|
|
_stack_size = 2K;
|
|
|
|
INCLUDE "targets/riscv.ld"
|