Skip to content

Commit b2ec6ec

Browse files
GCC to 12.4, Newlib to 4.3.0, faster RP2350 libs (#2480)
Newlib built using `-Os` causes things like `memcpy` to be very slow on the RP2350 because it uses byte-wise operations. On the RP2040 this doesn't matter because there is a ROM routine we use instead of the library, but on the Pico 2 it's almost 10x slower than the optimal method. Update GCC to 12.4 Update Newlib to 4.4.0 Move to -O2 library compilation New toolchain looks to add ~10K to RP2350 flash usage (less on the RP2040).
1 parent f18fa88 commit b2ec6ec

19 files changed

+177
-174
lines changed

lib/rp2040/libbearssl.a

-140 Bytes
Binary file not shown.

lib/rp2040/libipv4-big.a

204 Bytes
Binary file not shown.

lib/rp2040/libipv4-bt-big.a

532 Bytes
Binary file not shown.

lib/rp2040/libipv4-bt.a

532 Bytes
Binary file not shown.

lib/rp2040/libipv4-ipv6-big.a

304 Bytes
Binary file not shown.

lib/rp2040/libipv4-ipv6-bt-big.a

636 Bytes
Binary file not shown.

lib/rp2040/libipv4-ipv6-bt.a

636 Bytes
Binary file not shown.

lib/rp2040/libipv4-ipv6.a

304 Bytes
Binary file not shown.

lib/rp2040/libipv4.a

204 Bytes
Binary file not shown.

lib/rp2040/libpico.a

140 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)