-
Couldn't load subscription status.
- Fork 8.1k
libc: Default to picolibc where supported #57340
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -54,8 +54,8 @@ menu "C Library" | |
| choice LIBC_IMPLEMENTATION | ||
| prompt "C Library Implementation" | ||
| default EXTERNAL_LIBC if NATIVE_BUILD | ||
| default PICOLIBC | ||
| default NEWLIB_LIBC if REQUIRES_FULL_LIBC | ||
| default PICOLIBC if REQUIRES_FULL_LIBC | ||
| default MINIMAL_LIBC | ||
keith-zephyr marked this conversation as resolved.
Show resolved
Hide resolved
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. dont we end up with both picolibc and minimal libc set as default? or does order here play a role? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Kconfig appears to pick the first which matches and which can be enabled -- the goal is to use picolibc where supported otherwise use minimal C library. |
||
|
|
||
| config MINIMAL_LIBC | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,8 @@ | ||
| tests: | ||
| kernel.objects: | ||
| tags: kernel | ||
| kernel.objects.minimallibc: | ||
| filter: CONFIG_MINIMAL_LIBC_SUPPORTED | ||
| tags: kernel libc | ||
| extra_configs: | ||
| - CONFIG_MINIMAL_LIBC=y |
Uh oh!
There was an error while loading. Please reload this page.