Skip to content

Commit 2bd64b5

Browse files
GDB/Binutils release-gdb-13.2, GCC still 12.3 (#1706)
Fix #1681 due to breakage of GDB 12.3 in Platform.IO Remove new Binutils linker warning
1 parent 3c93d14 commit 2bd64b5

9 files changed

+180
-179
lines changed

lib/libbearssl.a

4.39 KB
Binary file not shown.

lib/libpico.a

2.32 KB
Binary file not shown.

lib/libpicow-ipv6-btc-ble.a

7.05 KB
Binary file not shown.

lib/libpicow-ipv6-nobtc-noble.a

4.14 KB
Binary file not shown.

lib/libpicow-noipv6-btc-ble.a

6.73 KB
Binary file not shown.

lib/libpicow-noipv6-nobtc-noble.a

3.82 KB
Binary file not shown.

package/package_pico_index.template.json

Lines changed: 178 additions & 178 deletions
Large diffs are not rendered by default.

platform.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ recipe.hooks.linking.prelink.1.pattern="{runtime.tools.pqt-python3.path}/python3
142142
recipe.hooks.linking.prelink.2.pattern="{compiler.path}{compiler.S.cmd}" {compiler.c.elf.flags} {compiler.c.elf.extra_flags} -c "{runtime.platform.path}/boot2/{build.boot2}.S" "-I{runtime.platform.path}/pico-sdk/src/rp2040/hardware_regs/include/" "-I{runtime.platform.path}/pico-sdk/src/common/pico_binary_info/include" -o "{build.path}/boot2.o"
143143

144144
## Combine gc-sections, archives, and objects
145-
recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" "-L{build.path}" {compiler.c.elf.flags} {compiler.c.elf.extra_flags} {compiler.ldflags} "-Wl,--script={build.path}/memmap_default.ld" "-Wl,-Map,{build.path}/{build.project_name}.map" -o "{build.path}/{build.project_name}.elf" -Wl,--start-group {object_files} "{build.path}/{archive_file}" "{build.path}/boot2.o" "{runtime.platform.path}/lib/ota.o" {compiler.libraries.ldflags} "{runtime.platform.path}/lib/{build.libpico}" "{runtime.platform.path}/lib/{build.libpicow}" {compiler.libbearssl} -lm -lc {build.flags.libstdcpp} -lc -Wl,--end-group
145+
recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" "-L{build.path}" {compiler.c.elf.flags} {compiler.c.elf.extra_flags} {compiler.ldflags} "-Wl,--script={build.path}/memmap_default.ld" "-Wl,-Map,{build.path}/{build.project_name}.map" -o "{build.path}/{build.project_name}.elf" -Wl,--no-warn-rwx-segments -Wl,--start-group {object_files} "{build.path}/{archive_file}" "{build.path}/boot2.o" "{runtime.platform.path}/lib/ota.o" {compiler.libraries.ldflags} "{runtime.platform.path}/lib/{build.libpico}" "{runtime.platform.path}/lib/{build.libpicow}" {compiler.libbearssl} -lm -lc {build.flags.libstdcpp} -lc -Wl,--end-group
146146

147147
## Create output (UF2 file)
148148
recipe.objcopy.uf2.pattern="{runtime.tools.pqt-elf2uf2.path}/elf2uf2" "{build.path}/{build.project_name}.elf" "{build.path}/{build.project_name}.uf2"

tools/platformio-build.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ def is_pio_build():
157157
"-u_scanf_float",
158158
# no cross-reference table, heavily spams the output
159159
# "-Wl,--cref",
160+
"-Wl,--no-warn-rwx-segments",
160161
"-Wl,--check-sections",
161162
"-Wl,--gc-sections",
162163
"-Wl,--unresolved-symbols=report-all",

0 commit comments

Comments
 (0)