From 325c7080587424fffdaa23ff200e5bbfaf3d5514 Mon Sep 17 00:00:00 2001 From: Xavier Chapron Date: Fri, 17 May 2024 14:20:20 +0200 Subject: [PATCH] script.ld: Fix LNX and LNSP SRAM size (cherry picked from commit e502be105bbfb67ea964b992fd1b2a653b62dca3) --- target/nanos2/script.ld | 2 +- target/nanox/script.ld | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/target/nanos2/script.ld b/target/nanos2/script.ld index c775ab1f0..94b0b2e18 100644 --- a/target/nanos2/script.ld +++ b/target/nanos2/script.ld @@ -26,7 +26,7 @@ MEMORY FLASH (rx) : ORIGIN = 0xc0de0000, LENGTH = 400K DATA (r) : ORIGIN = 0xc0de0000, LENGTH = 400K - SRAM (rwx) : ORIGIN = 0xda7a0000, LENGTH = 30K + SRAM (rwx) : ORIGIN = 0xda7a0000, LENGTH = 44K } PAGE_SIZE = 512; diff --git a/target/nanox/script.ld b/target/nanox/script.ld index 44cd6d66f..cfca329f1 100644 --- a/target/nanox/script.ld +++ b/target/nanox/script.ld @@ -26,7 +26,7 @@ MEMORY FLASH (rx) : ORIGIN = 0xc0de0000, LENGTH = 400K DATA (r) : ORIGIN = 0xc0de0000, LENGTH = 400K - SRAM (rwx) : ORIGIN = 0xda7a0000, LENGTH = 30K + SRAM (rwx) : ORIGIN = 0xda7a0000, LENGTH = 28K } PAGE_SIZE = 256;