Seems to compile and work fine, albeit I haven't tested enabling the new "tiny stdio" implementation. it would also be good to verify nano-malloc behaviour before merging.
Note that, for improved support of platforms with 16-bit ints and such, it might be worthwhile to migrate to picolibc going forward, which is a fork of Newlib with a greater focus on small, embedded platforms. Even then, as it's based on Newlib, this PR would make for a good first step.
Seems to compile and work fine, albeit I haven't tested enabling the new "tiny stdio" implementation. it would also be good to verify nano-malloc behaviour before merging.
Note that, for improved support of platforms with 16-bit ints and such, it might be worthwhile to migrate to picolibc going forward, which is a fork of Newlib with a greater focus on small, embedded platforms. Even then, as it's based on Newlib, this PR would make for a good first step.