From 560fea17a0c50483214770855e22cc94df0e55b5 Mon Sep 17 00:00:00 2001 From: Gunar Schorcht Date: Sat, 22 Jul 2023 12:22:37 +0200 Subject: [PATCH] REMOVEME: ld script fix in PR #19842 --- cpu/stm32/ldscripts/stm32.ld | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cpu/stm32/ldscripts/stm32.ld b/cpu/stm32/ldscripts/stm32.ld index f216ac3ff6fc7..e1434277435e1 100644 --- a/cpu/stm32/ldscripts/stm32.ld +++ b/cpu/stm32/ldscripts/stm32.ld @@ -18,8 +18,8 @@ * @} */ -ccmram_length = DEFINED( ccmram_len ) ? ccmram_len : 0x0 ; -sram4_length = DEFINED( sram4_length ) ? sram4_length : 0x0 ; +ccmram_length = DEFINED( _ccmram_len ) ? _ccmram_len : 0x0 ; +sram4_length = DEFINED( _sram4_length ) ? _sram4_length : 0x0 ; MEMORY { @@ -31,7 +31,7 @@ SECTIONS { .heap2 ALIGN(4) (NOLOAD) : { - _sheap2 = . ; + _sheap2 = ORIGIN(sram4); _eheap2 = ORIGIN(sram4) + LENGTH(sram4); } > sram4 }