added memory.x file

This commit is contained in:
Robin Müller 2021-11-03 01:15:16 +01:00
parent f6bc23a7d9
commit 3b3c7da3ed
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC
1 changed files with 10 additions and 0 deletions

10
memory.x Normal file
View File

@ -0,0 +1,10 @@
MEMORY
{
ROM : ORIGIN = 0x00000000, LENGTH = 0x20000 /* 128K */
RAM: ORIGIN = 0x10000000, LENGTH = 0x08000 /* 32K */
}
/* This is where the call stack will be allocated. */
/* The stack is of the full descending type. */
/* NOTE Do NOT modify `_stack_start` unless you know what you are doing */
_stack_start = ORIGIN(RAM) + LENGTH(RAM);