Implement Maloc

This commit is contained in:
2025-09-13 22:17:27 +02:00
parent 981a6cd65c
commit 44cfcd9f69
9 changed files with 153 additions and 69 deletions

10
link.ld
View File

@@ -27,9 +27,17 @@ SECTIONS {
KEEP(*(.vector_table))
}
.stack 0x8018000 : ALIGN(16)
.heap 0x8000000 : ALIGN(16)
{
__heap_start = .;
. += 0x10000; #10kB
__heap_end = .;
}
.stack : ALIGN(16)
{
__stack_start = .;
. += 0x10000; #10kB stack
__stack_end = .;
}