MSP430: Increase the amount of main memory available in sim ld scripts

The main memory region of the GDB simulator ends at address 0xFFBF,
but the simulator linker scripts do not make full use of this available
memory.

>From 61f3d212741acee583e21ff2c2808775584ecad6 Mon Sep 17 00:00:00 2001
From: Jozef Lawrynowicz <jozef.l@mittosystems.com>
Date: Mon, 3 Aug 2020 19:38:23 +0100
Subject: [PATCH 2/2] MSP430: Increase the amount of main memory available in
 sim ld scripts

The main memory region of the GDB simulator ends at address 0xFFBF,
but the simulator linker scripts do not make full use of this available
memory.
This commit is contained in:
Jozef Lawrynowicz 2020-08-07 11:49:54 +01:00 committed by Corinna Vinschen
parent 748970c833
commit e3f29b2472
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ INCLUDE intr_vectors.ld
MEMORY MEMORY
{ {
RAM (w) : ORIGIN = 0x00500, LENGTH = 0x0eb00 RAM (w) : ORIGIN = 0x00500, LENGTH = 0x0fac0 /* END=0xffbf */
} }
SECTIONS SECTIONS

View File

@ -26,7 +26,7 @@ INCLUDE intr_vectors.ld
MEMORY MEMORY
{ {
RAM (rw) : ORIGIN = 0x00500, LENGTH = 0x01b00 RAM (rw) : ORIGIN = 0x00500, LENGTH = 0x01b00
ROM (rx) : ORIGIN = 0x02000, LENGTH = 0x0df00 ROM (rx) : ORIGIN = 0x02000, LENGTH = 0x0dfc0
/* The regions from intr_vectors.ld go here. */ /* The regions from intr_vectors.ld go here. */
HIFRAM (rw) : ORIGIN = 0x10000, LENGTH = 0x80000 HIFRAM (rw) : ORIGIN = 0x10000, LENGTH = 0x80000
HIROM (rx) : ORIGIN = 0x90000, LENGTH = 0x70000 HIROM (rx) : ORIGIN = 0x90000, LENGTH = 0x70000