zephyr/doc/develop
Stephanos Ioannidis 28b22b276a lib: libc: newlib: Make newlib nano variant optional
The newlib nano variant is currently enabled by default when
`CONFIG_NEWLIB_LIBC=y` and the selected toolchain-architecture
combination includes the newlib nano variant support, even if
`CONFIG_NEWLIB_LIBC_NANO` is not selected by the user.

When `CONFIG_NEWLIB_LIBC=y`, this results in the newlib nano variant
being selected for some architectures (e.g. ARC, ARM and RISC-V), while
the full variant is selected for the rest of the architectures.

The above behaviour is problematic because there exist functional
differences between the newlib full and nano variants (e.g. C99 format
modifiers such as `hh`, `ll`, `z`, `j` and `t` are not available in the
newlib nano variant), and this effectively leads to different level of
C standard support across different architectures when
`CONFIG_NEWLIB_LIBC=y`.

This commit fixes this problem by making the `CONFIG_NEWLIB_LIBC_NANO`
not `default y` and requiring its user to explicitly set this symbol to
`y` when they want to use the newlib nano variant.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-10-19 16:02:51 +02:00
..
api doc: api: update overview page 2022-09-26 09:53:05 -05:00
application doc: Use inline literals 2022-09-29 12:20:14 +02:00
flash_debug scripts: west: introduce Lauterbach TRACE32 runner 2022-10-14 09:51:14 +02:00
getting_started doc: Update to Zephyr SDK 0.15.1 2022-10-12 19:23:32 -04:00
languages lib: libc: newlib: Make newlib nano variant optional 2022-10-19 16:02:51 +02:00
optimizations doc: move sections from guides 2022-04-07 16:35:19 +02:00
test doc: develop: test: update twister guide 2022-10-06 07:23:17 -04:00
toolchains doc: Update to Zephyr SDK 0.15.1 2022-10-12 19:23:32 -04:00
tools doc: tools: coccinelle: Update documentation link 2022-09-29 12:20:14 +02:00
west doc: west: Update outdated link to SPDX specification 2022-09-29 12:20:14 +02:00
beyond-GSG.rst doc: fix incorrect usage of envvar role 2022-08-23 10:15:34 +02:00
env_vars.rst doc: fix incorrect usage of envvar role 2022-08-23 10:15:34 +02:00
index.rst doc: develop: Add 'Language Support' sub-category 2022-06-01 15:26:48 +02:00
modules.rst doc: modules: document recommendations 2022-09-05 14:54:07 +00:00