From 2e43815c929acb818b34a5ff8828494b0c6f6891 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Sun, 11 Jul 2021 14:35:16 +0800 Subject: [PATCH] ea3131/pgnsh: Fix the follow linker error ld: /github/workspace/sources/nuttx/nuttx section `.data' will not fit in region `locked' ld: section .paged LMA [0000000011034000,0000000011040fa3] overlaps section .data LMA [0000000011033ff4,00000000110340e3] ld: region `locked' overflowed by 228 bytes Signed-off-by: Xiang Xiao --- boards/arm/lpc31xx/ea3131/scripts/pg-ld.script | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boards/arm/lpc31xx/ea3131/scripts/pg-ld.script b/boards/arm/lpc31xx/ea3131/scripts/pg-ld.script index fe55efa64f..f652adff5d 100644 --- a/boards/arm/lpc31xx/ea3131/scripts/pg-ld.script +++ b/boards/arm/lpc31xx/ea3131/scripts/pg-ld.script @@ -53,8 +53,8 @@ MEMORY { - locked (rx) : ORIGIN = 0x11029080, LENGTH = 48K - 4224 - paged (rx) : ORIGIN = 0x11034000, LENGTH = 384K + locked (rx) : ORIGIN = 0x11029080, LENGTH = 52K - 4224 + paged (rx) : ORIGIN = 0x11035000, LENGTH = 380K data (rw) : ORIGIN = 0x11094000, LENGTH = 44K }