From 325f47debc2103443d7a74d3f7c503f251c4949d Mon Sep 17 00:00:00 2001 From: Priec Date: Tue, 7 Oct 2025 11:29:44 +0200 Subject: [PATCH] compiled with memory file --- stm32u5-blinky/memory.x | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 stm32u5-blinky/memory.x diff --git a/stm32u5-blinky/memory.x b/stm32u5-blinky/memory.x new file mode 100644 index 0000000..89f96e1 --- /dev/null +++ b/stm32u5-blinky/memory.x @@ -0,0 +1,13 @@ +/* memory.x - STM32U575ZITxQ memory layout */ + +/* Flash: 2 MB starting at 0x08000000 */ +/* SRAM1 + SRAM2 + SRAM3 total 786 KB starting at 0x20000000 */ + +MEMORY +{ + FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 2048K + RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 786K +} + +/* provide stack start symbol (end of RAM) */ +_stack_start = ORIGIN(RAM) + LENGTH(RAM);