mirror of
https://github.com/dougg3/mac-rom-simm-programmer.git
synced 2024-12-11 07:50:36 +00:00
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:
parent
e1e1523a99
commit
7a77d583da
@ -1,8 +1,8 @@
|
|||||||
/* Linker script to configure memory regions. */
|
/* Linker script to configure memory regions. */
|
||||||
MEMORY
|
MEMORY
|
||||||
{
|
{
|
||||||
FLASH (rx) : ORIGIN = 0x00100000, LENGTH = 0x1000 /* 4K */
|
FLASH (rx) : ORIGIN = 0x00100000, LENGTH = 4*1024
|
||||||
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x2000 /* 8K */
|
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 16*1024
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Library configurations */
|
/* Library configurations */
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
/* Linker script to configure memory regions. */
|
/* Linker script to configure memory regions. */
|
||||||
MEMORY
|
MEMORY
|
||||||
{
|
{
|
||||||
FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 0x8000 /* 32k */
|
FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 128*1024
|
||||||
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x2000 /* 8k */
|
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 16*1024
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Library configurations */
|
/* Library configurations */
|
||||||
|
Loading…
Reference in New Issue
Block a user