rp2: Revert "rp2: Build with nano.specs for newlib-nano.".#19353
rp2: Revert "rp2: Build with nano.specs for newlib-nano.".#19353projectgus wants to merge 1 commit into
Conversation
This reverts commit 6552836. Signed-off-by: Angus Gratton <angus@redyak.com.au>
a6097a6 to
c2ceed1
Compare
|
Code size report: |
|
Yeah, I feel like this is the right thing to do. Keeps things simple which is always a good thing. (For the mbdetls change, gtime_r, probably that's a good change that can stay because it eliminates an extra path through mbedtls to do an unnecessary memcpy. But I guess that can be done separately, and also done for all other ports.) |
|
I am forced to agree. Though am continuing to cut firmware builds with this change, which is something I'll probably want to address in retrospect. I carried this technique over from RP2040 and didn't consider its implications on RP2350. Sorry! Edit: A quick investigation suggests roughly a 30% performance hit to bm_pidigits. No wonder I was seeing such a huge gain when I found those double-zero-init bugs. |
No worries. We are all leaning something here 😄
Ah, that makes a lot more sense now! (see #18771 for reference) |
Summary
This reverts commit 6552836 from #19299.
Testing
I haven't done any specific testing for this revert, but PR 19352 has some before vs after performance benchmarks.
Trade-offs and Alternatives
Generative AI
I did not use generative AI tools when creating this PR.