Skip to content

Commit 8d23dcc

Browse files
committed
[WB] Update linker scripts
Add start and end address for the .MB_MEM2 section Signed-off-by: Frederic Pillon <[email protected]>
1 parent 4d68668 commit 8d23dcc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

variants/MKR_SHARKY/ldscript.ld

+1-1
Original file line numberDiff line numberDiff line change
@@ -182,5 +182,5 @@ SECTIONS
182182
.ARM.attributes 0 : { *(.ARM.attributes) }
183183
MAPPING_TABLE (NOLOAD) : { *(MAPPING_TABLE) } >RAM_SHARED
184184
MB_MEM1 (NOLOAD) : { *(MB_MEM1) } >RAM_SHARED
185-
MB_MEM2 : { *(MB_MEM2) } >RAM_SHARED
185+
MB_MEM2 (NOLOAD) : { _sMB_MEM2 = . ; *(MB_MEM2) ; _eMB_MEM2 = . ; } >RAM_SHARED
186186
}

variants/PNUCLEO_WB55RG/ldscript.ld

+1-1
Original file line numberDiff line numberDiff line change
@@ -182,5 +182,5 @@ SECTIONS
182182
.ARM.attributes 0 : { *(.ARM.attributes) }
183183
MAPPING_TABLE (NOLOAD) : { *(MAPPING_TABLE) } >RAM_SHARED
184184
MB_MEM1 (NOLOAD) : { *(MB_MEM1) } >RAM_SHARED
185-
MB_MEM2 : { *(MB_MEM2) } >RAM_SHARED
185+
MB_MEM2 (NOLOAD) : { _sMB_MEM2 = . ; *(MB_MEM2) ; _eMB_MEM2 = . ; } >RAM_SHARED
186186
}

0 commit comments

Comments
 (0)