diff --git a/hal/m258ke/nuvoton/LDROM.ld b/hal/m258ke/nuvoton/LDROM.ld index e0c5e44..977097e 100644 --- a/hal/m258ke/nuvoton/LDROM.ld +++ b/hal/m258ke/nuvoton/LDROM.ld @@ -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 */ diff --git a/hal/m258ke/nuvoton/gcc_arm.ld b/hal/m258ke/nuvoton/gcc_arm.ld index 3966b27..0e89af2 100644 --- a/hal/m258ke/nuvoton/gcc_arm.ld +++ b/hal/m258ke/nuvoton/gcc_arm.ld @@ -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 */