-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmemory_h7.x
38 lines (30 loc) · 1.03 KB
/
memory_h7.x
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
/* STM32H743ZI2 */
/* https://github.com/stm32-rs/stm32h7xx-hal/blob/master/memory.x */
/* Note: Do you need names like SRAM1 etc to make this work with rust? */
/* See also: ITCM vice ITCMRAM */
MEMORY
{
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 2M
RAM (xrw) : ORIGIN = 0x24000000, LENGTH = 512K
}
/* For H743. Nested comments appear not to work properly. */
/*
DTCMRAM (xrw) : ORIGIN = 0x20000000, LENGTH = 128K
RAM_D1 (xrw) : ORIGIN = 0x24000000, LENGTH = 512K
RAM_D2 (xrw) : ORIGIN = 0x30000000, LENGTH = 288K
RAM_D3 (xrw) : ORIGIN = 0x38000000, LENGTH = 64K
ITCMRAM (xrw) : ORIGIN = 0x00000000, LENGTH = 64K
*/
/* STM32H723 */
/*
MEMORY
{
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 1M
RAM (xrw) : ORIGIN = 0x24000000, LENGTH = 320K
ITCMRAM (xrw) : ORIGIN = 0x00000000, LENGTH = 64K
DTCMRAM (xrw) : ORIGIN = 0x20000000, LENGTH = 128K
RAM_D1 (xrw) : ORIGIN = 0x24000000, LENGTH = 320K
RAM_D2 (xrw) : ORIGIN = 0x30000000, LENGTH = 32K
RAM_D3 (xrw) : ORIGIN = 0x38000000, LENGTH = 16K
}
*/