Skip to content

Commit

Permalink
Remove SDK C++ new/delete, duplicated objects (#2760)
Browse files Browse the repository at this point in the history
* Remove Pico-SDK C++ exception-override new/delete

We support exceptions on and off, but the cxx_options file in the
SDK implemented a single override to new/delete.

Remove it so we will use GCC's build-in operator new/delete
which will be correct for either option (2 different libstdc++
versions are shipped as part of the toolchain).

* Remove duplicated SDK files

The SDK will link in the same compilation unit in the LWIP builds.
Remove them to shrink the repo size by ~28MB.
  • Loading branch information
earlephilhower authored Jan 16, 2025
1 parent 2348051 commit 7bfe25b
Show file tree
Hide file tree
Showing 28 changed files with 7 additions and 1 deletion.
Binary file modified lib/rp2040/libipv4-big.a
Binary file not shown.
Binary file modified lib/rp2040/libipv4-bt-big.a
Binary file not shown.
Binary file modified lib/rp2040/libipv4-bt.a
Binary file not shown.
Binary file modified lib/rp2040/libipv4-ipv6-big.a
Binary file not shown.
Binary file modified lib/rp2040/libipv4-ipv6-bt-big.a
Binary file not shown.
Binary file modified lib/rp2040/libipv4-ipv6-bt.a
Binary file not shown.
Binary file modified lib/rp2040/libipv4-ipv6.a
Binary file not shown.
Binary file modified lib/rp2040/libipv4.a
Binary file not shown.
Binary file modified lib/rp2040/libpico.a
Binary file not shown.
Binary file modified lib/rp2350-riscv/libipv4-big.a
Binary file not shown.
Binary file modified lib/rp2350-riscv/libipv4-bt-big.a
Binary file not shown.
Binary file modified lib/rp2350-riscv/libipv4-bt.a
Binary file not shown.
Binary file modified lib/rp2350-riscv/libipv4-ipv6-big.a
Binary file not shown.
Binary file modified lib/rp2350-riscv/libipv4-ipv6-bt-big.a
Binary file not shown.
Binary file modified lib/rp2350-riscv/libipv4-ipv6-bt.a
Binary file not shown.
Binary file modified lib/rp2350-riscv/libipv4-ipv6.a
Binary file not shown.
Binary file modified lib/rp2350-riscv/libipv4.a
Binary file not shown.
Binary file modified lib/rp2350-riscv/libpico.a
Binary file not shown.
Binary file modified lib/rp2350/libipv4-big.a
Binary file not shown.
Binary file modified lib/rp2350/libipv4-bt-big.a
Binary file not shown.
Binary file modified lib/rp2350/libipv4-bt.a
Binary file not shown.
Binary file modified lib/rp2350/libipv4-ipv6-big.a
Binary file not shown.
Binary file modified lib/rp2350/libipv4-ipv6-bt-big.a
Binary file not shown.
Binary file modified lib/rp2350/libipv4-ipv6-bt.a
Binary file not shown.
Binary file modified lib/rp2350/libipv4-ipv6.a
Binary file not shown.
Binary file modified lib/rp2350/libipv4.a
Binary file not shown.
Binary file modified lib/rp2350/libpico.a
Binary file not shown.
8 changes: 7 additions & 1 deletion tools/libpico/CMakeLists.txt

0 comments on commit 7bfe25b

Please sign in to comment.