Fix RAM size in linker

I never updated the RAM size in the linker when creating it from the template.  If I ever use 144K I'm writing very poor code!
This commit is contained in:
Ryan Edwards 2022-11-01 22:20:02 -04:00 committed by fenugrec
parent 051006b4e3
commit 5645f93365

View File

@ -1,5 +1,5 @@
__STACK_SIZE = 0x200;
__HEAP_SIZE = 0x400;
__STACK_SIZE = 32K;
__HEAP_SIZE = 64K;
__FLASH_SIZE = 512K;
__NVM_SIZE = 144K;
@ -7,7 +7,7 @@ __NVM_SIZE = 144K;
MEMORY
{
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = __FLASH_SIZE - __NVM_SIZE
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 6K
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 144K
DATA (xrw) : ORIGIN = 0x08000000 + __FLASH_SIZE - __NVM_SIZE, LENGTH = __NVM_SIZE
}