mirror of
https://github.com/laanwj/k210-sdk-stuff.git
synced 2024-11-22 01:16:20 +04:00
70d200a03c
It was disabled at some point because something in riscv-rt changed and it no longer worked. Restore the testing in a more robust way.
19 lines
484 B
Plaintext
19 lines
484 B
Plaintext
INCLUDE memory-k210.x
|
|
|
|
REGION_ALIAS("REGION_TEXT", SRAM);
|
|
REGION_ALIAS("REGION_RODATA", SRAM);
|
|
REGION_ALIAS("REGION_DATA", SRAM);
|
|
REGION_ALIAS("REGION_BSS", SRAM);
|
|
REGION_ALIAS("REGION_HEAP", SRAM);
|
|
REGION_ALIAS("REGION_STACK", SRAM);
|
|
|
|
/* memory-k210.x already sets _max_hart_id = 1 for us. */
|
|
|
|
/* Reserve 4MiB of memory for a heap. This is not used in most of the
|
|
programs.
|
|
*/
|
|
_heap_size = 4M;
|
|
|
|
/* 128Kib of stack ought to be enough for anyone. */
|
|
_hart_stack_size = 128K;
|