ngl this do be ai, I remove a few things it works
This commit is contained in:
parent
2854adeb13
commit
a60dcf5fd9
4 changed files with 136 additions and 51 deletions
18
memory.x
18
memory.x
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue