Skip to content

Commit 82e89ad

Browse files
committed
STM32H7 : use RAM instead of DTCMRAM (GCC_ARM toolchain)
1 parent ac30a70 commit 82e89ad

File tree

1 file changed

+3
-3
lines changed
  • targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H743xI/device/TOOLCHAIN_GCC_ARM

1 file changed

+3
-3
lines changed

targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H743xI/device/TOOLCHAIN_GCC_ARM/STM32H743xI.ld

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ M_CRASH_DATA_RAM_SIZE = 0x100;
1919
MEMORY
2020
{
2121
FLASH (rx) : ORIGIN = MBED_APP_START, LENGTH = MBED_APP_SIZE
22-
DTCMRAM (rwx) : ORIGIN = 0x20000000, LENGTH = 128K
23-
RAM (xrw) : ORIGIN = 0x24000298, LENGTH = 512K - 0x298 /* end = 0x24080000 */
22+
DTCMRAM (rwx) : ORIGIN = 0x20000298, LENGTH = 128K-0x298
23+
RAM (xrw) : ORIGIN = 0x24000000, LENGTH = 512K
2424
RAM_D2 (xrw) : ORIGIN = 0x30000000, LENGTH = 288K
2525
RAM_D3 (xrw) : ORIGIN = 0x38000000, LENGTH = 64K
2626
ITCMRAM (xrw) : ORIGIN = 0x00000000, LENGTH = 64K
@@ -108,7 +108,7 @@ SECTIONS
108108
. += M_CRASH_DATA_RAM_SIZE;
109109
. = ALIGN(8);
110110
__CRASH_DATA_RAM_END__ = .; /* Define a global symbol at data end */
111-
} > RAM
111+
} > DTCMRAM
112112

113113
.data : AT (__etext)
114114
{

0 commit comments

Comments
 (0)