the only thing that doesn't work is the buffer, which is bad, but at least the board lights up

This commit is contained in:
benstrb 2026-04-15 23:29:45 +02:00
parent 902379cb60
commit d670a509a4
7 changed files with 41 additions and 53 deletions

View file

@ -1,18 +1,16 @@
/* Memory layout of the STM32F469NI */
MEMORY
{
FLASH : ORIGIN = 0x08000000, LENGTH = 2M
RAM : ORIGIN = 0x20000000, LENGTH = 384K
CCMRAM : ORIGIN = 0x10000000, LENGTH = 64K
SDRAM : ORIGIN = 0xC0000000, LENGTH = 16M
FLASH : ORIGIN = 0x08000000, LENGTH = 2M
RAM : ORIGIN = 0x20000000, LENGTH = 320K
SDRAM : ORIGIN = 0xC0000000, LENGTH = 16M
}
SECTIONS
{
.sdram (NOLOAD) :
{
*(.sdram .sdram.*);
} > SDRAM
.sdram (NOLOAD) :
{
. = ALIGN(4);
*(.sdram)
. = ALIGN(4);
} >SDRAM
}
_stack_start = ORIGIN(RAM) + LENGTH(RAM);