-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmemory_stm32f469ni.x
More file actions
41 lines (33 loc) · 1.08 KB
/
memory_stm32f469ni.x
File metadata and controls
41 lines (33 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
MEMORY
{
FLASH : ORIGIN = 0x08000000, LENGTH = 2048K /* BANK_1_REGION_1 + BANK_1_REGION_2 + BANK_1_REGION_3 + BANK_2_REGION_1 + BANK_2_REGION_2 + BANK_2_REGION_3 */
RAM : ORIGIN = 0x20000000, LENGTH = 320K
OTP : ORIGIN = 0x1fff7800, LENGTH = 528
QSPI : ORIGIN = 0x90000000, LENGTH = 16M
SDRAM : ORIGIN = 0xC0000000, LENGTH = 16M
}
_stack_start = ORIGIN(RAM) + LENGTH(RAM);
SECTIONS {
.frame_buffer (NOLOAD) : {
. = ALIGN(4);
*(.frame_buffer);
. = ALIGN(4);
} > SDRAM
/*
May be used for testing, i.e., writing a static variable to the flash and reading it later on.
Make sure to use that static somewhere in the code to ensure it is not optimized away. Maybe confirm with cargo binutils (size, objdump).
*/
.qspi_flash : {
. = ALIGN(4);
*(.qspi_flash);
. = ALIGN(4);
} > QSPI
.slint_assets : {
. = ALIGN(4);
__s_slint_assets = .;
*(.slint_assets);
. = ALIGN(4);
} > SDRAM AT>QSPI
__e_slint_assets = .;
__si_slint_assets = LOADADDR(.slint_assets);
}