1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:32:45 +01:00

cpu/stm32: fix ld script for SRAM4

This commit is contained in:
Gunar Schorcht 2023-07-22 12:22:37 +02:00
parent d11255bb69
commit fdac7d4e31

View File

@ -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
}