Add base code

This commit is contained in:
2024-11-02 19:07:52 +01:00
parent 9c1b7d0321
commit 6587c8498f
10 changed files with 184 additions and 0 deletions

15
linker.ld Normal file
View File

@@ -0,0 +1,15 @@
ENTRY(_start)
SECTIONS
{
/* text section (code)*/
.text : { *(.text*) }
/* data section, initialized variables */
.data : { *(.data) }
ram_start = 0x20000000;
/* bss section, uninitialized variables */
.bss : { *(.bss*) }
/* stack section */
/* The stack is placed at the end of the RAM */
stack_top = 0x2001ffff;
}