summaryrefslogtreecommitdiffstats
path: root/STM32U083xx_RAM.ld
diff options
context:
space:
mode:
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 :