Skip to content

Conversation

@stephanosio
Copy link
Member

@stephanosio stephanosio commented Dec 2, 2019

NEWLIB_LIBC_NANO was defined only for gnuarmemb toolchain because
Zephyr SDK did not support the newlib nano variant (as defined by
nano.specs) due to the inherent limitations of crosstool-ng, which is
used to build the toolchains.

Since crosstool-ng/crosstool-ng#1279 added support for the nano C/C++
runtime library variant and this change was introduced to the Zephyr
SDK through #153, it is no longer necessary to
restrict the newlib nano variant to gnuarmemb toolchain only.

Signed-off-by: Stephanos Ioannidis [email protected]

NOTE: This PR should be merged after zephyrproject-rtos/sdk-ng#153 is merged and available in a Zephyr SDK release.

NEWLIB_LIBC_NANO was defined only for gnuarmemb toolchain because
Zephyr SDK did not support the newlib nano variant (as defined by
nano.specs) due to the inherent limitations of crosstool-ng, which is
used to build the toolchains.

Since crosstool-ng/crosstool-ng#1279 added support for the nano C/C++
runtime library variant and this change was introduced to the Zephyr
SDK through zephyrproject-rtos#153, it is no longer necessary to
restrict the newlib nano variant to gnuarmemb toolchain only.

Signed-off-by: Stephanos Ioannidis <[email protected]>
@stephanosio stephanosio added the DNM This PR should not be merged (Do Not Merge) label Dec 2, 2019
@stephanosio stephanosio requested a review from galak December 2, 2019 08:59
@zephyrbot zephyrbot added the area: C Library C Standard Library label Dec 2, 2019
@stephanosio stephanosio added the area: Toolchains Toolchains label Dec 2, 2019
@galak
Copy link
Contributor

galak commented Dec 2, 2019

LGTM, just depends on when we move to SDK 0.11.0.

@stephanosio stephanosio added this to the v2.2.0 milestone Dec 9, 2019
@stephanosio stephanosio removed this from the v2.2.0 milestone Jan 10, 2020
@nashif
Copy link
Member

nashif commented Jan 31, 2020

this is not obsolete.

@nashif nashif closed this Jan 31, 2020
@stephanosio stephanosio deleted the newlib_nano_for_all branch April 23, 2020 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: C Library C Standard Library area: Toolchains Toolchains DNM This PR should not be merged (Do Not Merge)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants