You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2024/06/04 06:27:04 UTC
(nuttx) 03/03: boards/arm/lpc17xx_40xx: enlarge ksram size to 6k
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit a219d75aceacd5b1275b2735d833fbacf5c8ab90
Author: chao an <an...@lixiang.com>
AuthorDate: Mon Jun 3 08:55:28 2024 +0800
boards/arm/lpc17xx_40xx: enlarge ksram size to 6k
Signed-off-by: chao an <an...@lixiang.com>
---
boards/arm/lpc17xx_40xx/lpc4088-devkit/scripts/memory.ld | 6 +++---
boards/arm/lpc17xx_40xx/lpc4088-quickstart/scripts/memory.ld | 6 +++---
boards/arm/lpc17xx_40xx/open1788/scripts/memory.ld | 6 +++---
boards/arm/sam34/sam3u-ek/scripts/memory.ld | 6 +++---
boards/arm/stm32/stm3240g-eval/scripts/memory.ld | 6 +++---
5 files changed, 15 insertions(+), 15 deletions(-)
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
}