File tree Expand file tree Collapse file tree 5 files changed +23
-68
lines changed
TARGET_STM/TARGET_STM32H7/TARGET_STM32H743xI Expand file tree Collapse file tree 5 files changed +23
-68
lines changed Original file line number Diff line number Diff line change @@ -51,14 +51,14 @@ LR_IROM1 MBED_APP_START MBED_APP_SIZE {
5151 RW_m_crash_data MBED_CRASH_REPORT_RAM_START EMPTY MBED_CRASH_REPORT_RAM_SIZE { ; RW data
5252 }
5353
54- RW_IRAM1 (MBED_RAM_START ) { ; RW data
54+ RW_IRAM1 (MBED_RAM1_START ) { ; RW data
5555 .ANY (+RW +ZI)
5656 }
5757
58- ARM_LIB_HEAP AlignExpr(+0, 16) EMPTY (MBED_RAM_START + MBED_RAM_SIZE - MBED_CONF_TARGET_BOOT_STACK_SIZE - AlignExpr(ImageLimit(RW_IRAM1), 16)) { ; Heap growing up
58+ ARM_LIB_HEAP AlignExpr(+0, 16) EMPTY (MBED_RAM1_START + MBED_RAM1_SIZE - MBED_CONF_TARGET_BOOT_STACK_SIZE - AlignExpr(ImageLimit(RW_IRAM1), 16)) { ; Heap growing up
5959 }
6060
61- ARM_LIB_STACK (MBED_RAM_START + MBED_RAM_SIZE ) EMPTY -MBED_CONF_TARGET_BOOT_STACK_SIZE { ; Stack region growing down
61+ ARM_LIB_STACK (MBED_RAM1_START + MBED_RAM1_SIZE ) EMPTY -MBED_CONF_TARGET_BOOT_STACK_SIZE { ; Stack region growing down
6262 }
6363
6464 RW_DMARxDscrTab 0x30040000 0x60 {
Original file line number Diff line number Diff line change 4141{
4242 FLASH (rx) : ORIGIN = MBED_APP_START, LENGTH = MBED_APP_SIZE
4343 DTCMRAM (rwx) : ORIGIN = NVIC_RAM_VECTOR_ADDRESS + VECTORS_SIZE, LENGTH = 128K - VECTORS_SIZE
44- RAM (xrw) : ORIGIN = MBED_RAM_START , LENGTH = MBED_RAM_SIZE
44+ RAM (xrw) : ORIGIN = MBED_RAM1_START , LENGTH = MBED_RAM1_SIZE
4545 RAM_D2 (xrw) : ORIGIN = 0x30000000 , LENGTH = 288K
4646 RAM_D3 (xrw) : ORIGIN = 0x38000000 , LENGTH = 64K
4747 ITCMRAM (xrw) : ORIGIN = 0x00000000 , LENGTH = 64K
Original file line number Diff line number Diff line change 2222#endif
2323
2424#if !defined(MBED_ROM_SIZE )
25+ // 0x0x08000000-0x080FFFFF Bank1 (8 x 128K sectors)
26+ // 0x0x08100000-0x081FFFFF Bank2 (8 x 128K sectors)
2527#define MBED_ROM_SIZE 0x200000 // 2.0 MB
2628#endif
2729
2830#if !defined(MBED_RAM_START )
29- #define MBED_RAM_START 0x24000000
31+ #define MBED_RAM_START 0x20000000
3032#endif
3133
3234#if !defined(MBED_RAM_SIZE )
33- #define MBED_RAM_SIZE 0x80000 // 512 KB
35+ // 0x38000000 - 0x3800FFFF 64K SRAM4
36+ // 0x30040000 - 0x30047FFF 32K SRAM3
37+ // 0x30020000 - 0x3003FFFF 128K SRAM2
38+ // 0x30000000 - 0x3001FFFF 128K SRAM1
39+ // 0x24000000 - 0x2407FFFF 512K AXI SRAM
40+ // 0x20000000 - 0x2001FFFF 128K DTCM
41+ #define MBED_RAM_SIZE 0x20000 // 128 KB
3442#endif
3543
36- // DON'T USE MBED_RAM1_START and MBED_RAM1_SIZE (wrong values in tools/arm_pack_manager/index.json)
44+ #if !defined(MBED_RAM1_START )
45+ #define MBED_RAM1_START 0x24000000
46+ #endif
47+
48+ #if !defined(MBED_RAM1_SIZE )
49+ #define MBED_RAM1_SIZE 0x80000 // 512 KB
50+ #endif
3751
3852#define NVIC_NUM_VECTORS 166
39- #define NVIC_RAM_VECTOR_ADDRESS 0x20000000
53+ #define NVIC_RAM_VECTOR_ADDRESS MBED_RAM_START
4054
4155#endif
Original file line number Diff line number Diff line change 31973197 ],
31983198 "public" : false ,
31993199 "core" : " Cortex-M7FD" ,
3200- "mbed_rom_start" : " 0x08000000" ,
3201- "mbed_rom_size" : " 0x200000" ,
3202- "mbed_ram_start" : " 0x24000000" ,
3203- "mbed_ram_size" : " 0x80000" ,
32043200 "extra_labels_add" : [
32053201 " STM32H743xI"
32063202 ],
Original file line number Diff line number Diff line change @@ -437822,46 +437822,6 @@
437822437822 "ram_start": 536870912,
437823437823 "size": 2097152,
437824437824 "start": 134217728
437825- },
437826- {
437827- "default": false,
437828- "file_name": "CMSIS/Flash/STM32H7xx_MT25TL01G.FLM",
437829- "ram_size": 65524,
437830- "ram_start": 536870912,
437831- "size": 67108864,
437832- "start": 2415919104
437833- },
437834- {
437835- "default": false,
437836- "file_name": "CMSIS/Flash/STM32H7xx_MT25TL01G_DUAL.FLM",
437837- "ram_size": 65524,
437838- "ram_start": 536870912,
437839- "size": 134217728,
437840- "start": 2415919104
437841- },
437842- {
437843- "default": false,
437844- "file_name": "CMSIS/Flash/MT25TL01G_STM32H750B-DISCO.FLM",
437845- "ram_size": 65524,
437846- "ram_start": 536870912,
437847- "size": 134217728,
437848- "start": 2415919104
437849- },
437850- {
437851- "default": false,
437852- "file_name": "CMSIS/Flash/MT25TL01G_STM32H745I-DISCO.FLM",
437853- "ram_size": 65524,
437854- "ram_start": 536870912,
437855- "size": 134217728,
437856- "start": 2415919104
437857- },
437858- {
437859- "default": false,
437860- "file_name": "CMSIS/Flash/STM32H743I-eval_FMC.FLM",
437861- "ram_size": 65524,
437862- "ram_start": 536870912,
437863- "size": 16777216,
437864- "start": 1610612736
437865437825 }
437866437826 ],
437867437827 "family": "STM32H7 Series",
@@ -437913,25 +437873,10 @@
437913437873 "write": false
437914437874 },
437915437875 "default": true,
437916- "size": 1048576,
437876+ "size": 2097152,
437917437877 "start": 134217728,
437918437878 "startup": true
437919437879 },
437920- "IROM2": {
437921- "access": {
437922- "execute": true,
437923- "non_secure": false,
437924- "non_secure_callable": false,
437925- "peripheral": false,
437926- "read": true,
437927- "secure": false,
437928- "write": false
437929- },
437930- "default": true,
437931- "size": 1048576,
437932- "start": 135266304,
437933- "startup": true
437934- },
437935437880 "RAM_D2": {
437936437881 "access": {
437937437882 "execute": true,
You can’t perform that action at this time.
0 commit comments