compiled with memory file
This commit is contained in:
13
stm32u5-blinky/memory.x
Normal file
13
stm32u5-blinky/memory.x
Normal file
@@ -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);
|
||||||
Reference in New Issue
Block a user