Skip to content

Commit 1844a65

Browse files
committed
RP2040: add simbols to linker script to compute .uninitialized_data section size
1 parent cc7e1c9 commit 1844a65

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

targets/TARGET_RASPBERRYPI/TARGET_RP2040/TOOLCHAIN_GCC_ARM/memmap_default.ld

+2
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,9 @@ SECTIONS
183183

184184
.uninitialized_data (COPY): {
185185
. = ALIGN(4);
186+
__uninitialized_data_start__ = .;
186187
*(.uninitialized_data*)
188+
__uninitialized_data_end__ = .;
187189
} > RAM
188190

189191
/* Start and end symbols must be word-aligned */

0 commit comments

Comments
 (0)