mirror of
https://github.com/candle-usb/candleLight_fw.git
synced 2025-01-28 06:02:52 +08:00
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:
parent
051006b4e3
commit
5645f93365
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user