summaryrefslogtreecommitdiffstats
path: root/STM32U083xx_RAM.ld
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2025-02-01 13:31:20 -0500
committerClyne Sullivan <clyne@bitgloo.com>2025-02-01 13:31:20 -0500
commitd09f4289b5788d6a8b34e424841292e2b8529e56 (patch)
treed8435a07321cad3904f89cfe5ba73db26240eef0 /STM32U083xx_RAM.ld
parent15f35e0bb2d0012f48c9c00762077e874c87bd51 (diff)
exec from ram; process all samplesHEADmain
Diffstat (limited to 'STM32U083xx_RAM.ld')
-rw-r--r--STM32U083xx_RAM.ld4
1 files changed, 3 insertions, 1 deletions
diff --git a/STM32U083xx_RAM.ld b/STM32U083xx_RAM.ld
index dd76c0f..4eb873b 100644
--- a/STM32U083xx_RAM.ld
+++ b/STM32U083xx_RAM.ld
@@ -44,6 +44,7 @@ _Min_Stack_Size = 0x400; /* required amount of stack */
MEMORY
{
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 32K
+ FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 256K
}
/* Sections */
@@ -55,7 +56,8 @@ SECTIONS
. = ALIGN(4);
KEEP(*(.isr_vector)) /* Startup code */
. = ALIGN(4);
- } >RAM
+ *(.text.Reset_Handler)
+ } >FLASH
/* The program code and other data into "RAM" Ram type memory */
.text :