Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zephyr: Move from newlibc to picolibc #1918

Closed
wants to merge 6 commits into from
Closed

Conversation

erlingrj
Copy link
Collaborator

@erlingrj erlingrj commented Jul 26, 2023

We originally used newlib, but they provided no implementation of the regexp.h (which they should?). However, picolibc does and is also smaller. This PR has Zephyr use picolibc instead. It required changing a bit of the CMake infrastructure. In particular we had to remove the calls to install() in the generated CMakeLists.txt

@erlingrj erlingrj changed the title Move from newlibc to picolibc Zephyr: Move from newlibc to picolibc Jul 26, 2023
Copy link
Member

@lhstrh lhstrh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@erlingrj
Copy link
Collaborator Author

erlingrj commented Jul 27, 2023

Update: When moving to v3.4.0 and SDK 0.16.1 picolibc gets linker errors (as seen in the test failtures). However the missing regexp.h in newlib is fixed. So closing this

@erlingrj erlingrj closed this Jul 27, 2023
@erlingrj erlingrj deleted the zephy-picolibc branch May 13, 2024 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants