Guess section alignment & write __ArenaHi in .lcf

This commit is contained in:
2023-08-10 00:03:14 -04:00
parent 98ab89a1de
commit 265e26ee40
2 changed files with 37 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
MEMORY
{
text : origin = 0x80003100
text : origin = $ORIGIN
}
SECTIONS
@@ -16,7 +16,7 @@ SECTIONS
_db_stack_addr = (_stack_addr + 0x2000);
_db_stack_end = _stack_addr;
__ArenaLo = (_db_stack_addr + 0x1f) & ~0x1f;
__ArenaHi = 0x81700000;
__ArenaHi = $ARENAHI;
}
FORCEFILES