From 7fad01e939f72195c3a0af76f878ddb488b545b7 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Fri, 7 Jun 2024 07:36:24 -0400 Subject: go os-less; filter in sram; consider dynamic freq --- STM32G031x6.ld | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'STM32G031x6.ld') diff --git a/STM32G031x6.ld b/STM32G031x6.ld index ea0c0d4..d53e6d5 100644 --- a/STM32G031x6.ld +++ b/STM32G031x6.ld @@ -27,7 +27,7 @@ MEMORY flash5 (rx) : org = 0x00000000, len = 0 flash6 (rx) : org = 0x00000000, len = 0 flash7 (rx) : org = 0x00000000, len = 0 - ram0 (wx) : org = 0x20000000, len = 8k + ram0 (rwx) : org = 0x20000000, len = 8k ram1 (wx) : org = 0x00000000, len = 0 ram2 (wx) : org = 0x00000000, len = 0 ram3 (wx) : org = 0x00000000, len = 0 @@ -79,7 +79,7 @@ REGION_ALIAS("DATA_RAM_LMA", flash0); REGION_ALIAS("BSS_RAM", ram0); /* RAM region to be used for the default heap.*/ -REGION_ALIAS("HEAP_RAM", ram0); +REGION_ALIAS("HEAP_RAM", ram1); /* Generic rules inclusion.*/ INCLUDE rules.ld -- cgit v1.2.3