It appears that Newlib in the Arm GNU Toolchain Version 11.2-2022.02 is not configured with --enable-newlib-reent-small. I installed gcc-arm-11.2-2022.02-mingw-w64-i686-arm-none-eabi and built one of my embedded applications. The linker failed due to a RAM overflow. I figured out that _WANT_REENT_SMALL in newlib.h is not defined. Moreover, Newlib in this toolchain is configured quite differently than the Newlib in the previous toolchain.
Are there plans to have a GNU Toolchain 11.2 with Newlib built with --enable-newlib-reent-small?
How do we specify to use newlib-nano instead of newlib?
When invoking the compiler, if you use the option --specs=nano.specs, then this specifies the use of newlib-nano instead of newlib.
However, the issue described here is affecting the current release, and a fix for that is being worked on.