Add sources

This commit is contained in:
Nikolay Puzanov
2023-06-11 16:15:40 +03:00
parent 82f90610fb
commit 686d12bf81
48 changed files with 23261 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
MEMORY { ram (rx) : ORIGIN = 0, LENGTH = 65536 }
SECTIONS
{
. = 0x00;
.text : {
*(.init*)
*(.text*)
} > ram
.bss (NOLOAD) :
{
*(.bss*)
*(COMMON)
} > ram
.data :
{
*(.data*)
} > ram
.stack (NOLOAD) :
{
/*
. = ALIGN(4);
. = . + STACK_SIZE;
*/
. = ORIGIN(ram) + LENGTH(ram) - 4;
. = ALIGN(4);
__stack_top = .;
} > ram
}