start of a hal crate

This commit is contained in:
Priec
2025-10-19 11:15:06 +02:00
commit 24ad631416
6 changed files with 271 additions and 0 deletions

13
memory.x Normal file
View 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);