ngl this do be ai, I remove a few things it works

This commit is contained in:
benstrb 2026-04-12 20:20:41 +02:00
parent 2854adeb13
commit a60dcf5fd9
4 changed files with 136 additions and 51 deletions

View file

@ -1,12 +1,18 @@
/* Memory layout of the STM32F469NI */
MEMORY
{
FLASH : ORIGIN = 0x08000000, LENGTH = 2048K
RAM : ORIGIN = 0x20000000, LENGTH = 256K
/* Core Coupled Memory (CCM) SRAM: 128KB at 0x10000000 */
CCMRAM : ORIGIN = 0x10000000, LENGTH = 128K
FLASH : ORIGIN = 0x08000000, LENGTH = 2M
RAM : ORIGIN = 0x20000000, LENGTH = 384K
CCMRAM : ORIGIN = 0x10000000, LENGTH = 64K
SDRAM : ORIGIN = 0xC0000000, LENGTH = 16M
}
SECTIONS
{
.sdram (NOLOAD) :
{
*(.sdram .sdram.*);
} > SDRAM
}
/* This is where the call stack will be allocated. */
/* The stack is of the full size of the RAM, minus the size of the .data section */
_stack_start = ORIGIN(RAM) + LENGTH(RAM);