zephyr/lib/libc/minimal
Peter Bigot e812ee6c21 shell: support floating point output with newlib
shell_fprintf requires that formatted output be emitted with a
putchar()-like output function.  Newlib does not provide such a
capability.  Zephyr provides two solutions: z_prf() which is part of
minimal libc and handles floating point formatting, and z_vprintk()
which is core and does not support floating point.

Move z_prf() out of minimal libc into the core lib area, and use it
unconditionally in the shell.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2020-09-03 21:53:09 +02:00
..
include libc: add strtok_r implementation 2020-08-18 09:19:58 -07:00
source shell: support floating point output with newlib 2020-09-03 21:53:09 +02:00
CMakeLists.txt shell: support floating point output with newlib 2020-09-03 21:53:09 +02:00