Update linker scripts with correct RAM/flash sizes

Change code style so that it's easy to see the number of kilobytes too.
This commit is contained in:
Doug Brown 2023-08-06 20:35:27 -07:00 committed by Doug Brown
parent bc9b0245ba
commit 78c4068071
2 changed files with 4 additions and 4 deletions

View File

@ -1,8 +1,8 @@
/* Linker script to configure memory regions. */
MEMORY
{
FLASH (rx) : ORIGIN = 0x00100000, LENGTH = 0x1000 /* 4K */
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x2000 /* 8K */
FLASH (rx) : ORIGIN = 0x00100000, LENGTH = 4*1024
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 16*1024
}
/* Library configurations */

View File

@ -1,8 +1,8 @@
/* Linker script to configure memory regions. */
MEMORY
{
FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 0x8000 /* 32k */
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x2000 /* 8k */
FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 128*1024
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 16*1024
}
/* Library configurations */