Skip to content

Commit 0072854

Browse files
committed
fix(variant): wrong H7 linker script definition
Fixes #2040 Signed-off-by: Frederic Pillon <[email protected]>
1 parent 9fb5081 commit 0072854

File tree

1 file changed

+2
-2
lines changed
  • variants/STM32H7xx/H742I(G-I)(K-T)_H743I(G-I)(K-T)_H750IB(K-T)_H753II(K-T)

1 file changed

+2
-2
lines changed

Diff for: variants/STM32H7xx/H742I(G-I)(K-T)_H743I(G-I)(K-T)_H750IB(K-T)_H753II(K-T)/ldscript.ld

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ MEMORY
4242
{
4343
DTCMRAM (xrw) : ORIGIN = 0x20000000, LENGTH = 128K
4444
ITCMRAM (xrw) : ORIGIN = 0x00000000, LENGTH = 64K
45-
RAM_D1 (xrw) : ORIGIN = 0x24000000, LENGTH = 512K
45+
RAM_D1 (xrw) : ORIGIN = 0x24000000, LENGTH = LD_MAX_DATA_SIZE
4646
RAM_D2 (xrw) : ORIGIN = 0x30000000, LENGTH = 288K
4747
RAM_D3 (xrw) : ORIGIN = 0x38000000, LENGTH = 64K
48-
FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 128K
48+
FLASH (rx) : ORIGIN = 0x8000000 + LD_FLASH_OFFSET, LENGTH = LD_MAX_SIZE - LD_FLASH_OFFSET
4949
}
5050

5151
/* Define output sections */

0 commit comments

Comments
 (0)