diff --git a/boards/arm/lpc17xx_40xx/lpc4088-devkit/scripts/memory.ld b/boards/arm/lpc17xx_40xx/lpc4088-devkit/scripts/memory.ld index 21d1813218..4cc10d8278 100644 --- a/boards/arm/lpc17xx_40xx/lpc4088-devkit/scripts/memory.ld +++ b/boards/arm/lpc17xx_40xx/lpc4088-devkit/scripts/memory.ld @@ -73,9 +73,9 @@ MEMORY /* 64Kb of SRAM in the CPU block */ - ksram (rwx) : ORIGIN = 0x10000000, LENGTH = 4K /* May include waste */ - usram (rwx) : ORIGIN = 0x10001000, LENGTH = 4K - xsram (rwx) : ORIGIN = 0x10002000, LENGTH = 24K /* All used as heap */ + ksram (rwx) : ORIGIN = 0x10000000, LENGTH = 6K /* May include waste */ + usram (rwx) : ORIGIN = 0x10001800, LENGTH = 4K + xsram (rwx) : ORIGIN = 0x10002800, LENGTH = 22K /* All used as heap */ /* Other peripheral memory (free, nothing is linked here) */ diff --git a/boards/arm/lpc17xx_40xx/lpc4088-quickstart/scripts/memory.ld b/boards/arm/lpc17xx_40xx/lpc4088-quickstart/scripts/memory.ld index cba850d0b0..28275cf76f 100644 --- a/boards/arm/lpc17xx_40xx/lpc4088-quickstart/scripts/memory.ld +++ b/boards/arm/lpc17xx_40xx/lpc4088-quickstart/scripts/memory.ld @@ -73,9 +73,9 @@ MEMORY /* 64Kb of SRAM in the CPU block */ - ksram (rwx) : ORIGIN = 0x10000000, LENGTH = 4K /* May include waste */ - usram (rwx) : ORIGIN = 0x10001000, LENGTH = 4K - xsram (rwx) : ORIGIN = 0x10002000, LENGTH = 24K /* All used as heap */ + ksram (rwx) : ORIGIN = 0x10000000, LENGTH = 6K /* May include waste */ + usram (rwx) : ORIGIN = 0x10001800, LENGTH = 4K + xsram (rwx) : ORIGIN = 0x10002800, LENGTH = 22K /* All used as heap */ /* Other peripheral memory (free, nothing is linked here) */ diff --git a/boards/arm/lpc17xx_40xx/open1788/scripts/memory.ld b/boards/arm/lpc17xx_40xx/open1788/scripts/memory.ld index f5f4a55d29..0a426207a2 100644 --- a/boards/arm/lpc17xx_40xx/open1788/scripts/memory.ld +++ b/boards/arm/lpc17xx_40xx/open1788/scripts/memory.ld @@ -73,9 +73,9 @@ MEMORY /* 64Kb of SRAM in the CPU block */ - ksram (rwx) : ORIGIN = 0x10000000, LENGTH = 4K /* May include waste */ - usram (rwx) : ORIGIN = 0x10001000, LENGTH = 4K - xsram (rwx) : ORIGIN = 0x10002000, LENGTH = 24K /* All used as heap */ + ksram (rwx) : ORIGIN = 0x10000000, LENGTH = 6K /* May include waste */ + usram (rwx) : ORIGIN = 0x10001800, LENGTH = 4K + xsram (rwx) : ORIGIN = 0x10002800, LENGTH = 22K /* All used as heap */ /* Other peripheral memory (free, nothing is linked here) */ diff --git a/boards/arm/sam34/sam3u-ek/scripts/memory.ld b/boards/arm/sam34/sam3u-ek/scripts/memory.ld index e1c985cc7f..86ddea8980 100644 --- a/boards/arm/sam34/sam3u-ek/scripts/memory.ld +++ b/boards/arm/sam34/sam3u-ek/scripts/memory.ld @@ -72,9 +72,9 @@ MEMORY /* 32Kb SRAM */ - ksram1 (rwx) : ORIGIN = 0x20000000, LENGTH = 4K - usram1 (rwx) : ORIGIN = 0x20001000, LENGTH = 4K - xsram1 (rwx) : ORIGIN = 0x20002000, LENGTH = 24K + ksram1 (rwx) : ORIGIN = 0x20000000, LENGTH = 6K + usram1 (rwx) : ORIGIN = 0x20001800, LENGTH = 4K + xsram1 (rwx) : ORIGIN = 0x20002800, LENGTH = 22K /* 16Kb SRAM */ diff --git a/boards/arm/stm32/stm3240g-eval/scripts/memory.ld b/boards/arm/stm32/stm3240g-eval/scripts/memory.ld index 115d523216..95ee51b96b 100644 --- a/boards/arm/stm32/stm3240g-eval/scripts/memory.ld +++ b/boards/arm/stm32/stm3240g-eval/scripts/memory.ld @@ -79,7 +79,7 @@ MEMORY /* 112Kb of contiguous SRAM */ - ksram (rwx) : ORIGIN = 0x20000000, LENGTH = 4K - usram (rwx) : ORIGIN = 0x20001000, LENGTH = 4K - xsram (rwx) : ORIGIN = 0x20002000, LENGTH = 104K + ksram (rwx) : ORIGIN = 0x20000000, LENGTH = 6K + usram (rwx) : ORIGIN = 0x20001800, LENGTH = 4K + xsram (rwx) : ORIGIN = 0x20002800, LENGTH = 102K }