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

modules liblc3: Add missing REQUIRES_FULL_LIBC Kconfig dependency #64697

Merged
merged 2 commits into from
Nov 6, 2023

Conversation

aescolar
Copy link
Member

@aescolar aescolar commented Nov 1, 2023

The LC3 codec requires floating point support in
the C library, so let's select REQUIRES_FULL_LIBC
in the module kconfig, instead of having samples
adding it to their prj.conf

Some extra info:
Today the default embedded C library is picolibc, even if REQUIRES_FULL_LIBC is not set.
REQUIRES_FULL_LIBC just prevents MINIMAL_LIBC, which is actually bigger in footprint than picolibc.

@aescolar aescolar marked this pull request as ready for review November 1, 2023 15:37
@aescolar aescolar added the Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc. label Nov 1, 2023
@aescolar aescolar requested a review from Thalley November 1, 2023 15:38
Thalley
Thalley previously approved these changes Nov 1, 2023
Copy link
Collaborator

@Thalley Thalley left a comment

Choose a reason for hiding this comment

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

This was originally rejected in #49649 by @Casper-Bonde-Bose , but I think @aescolar have convinced me that it still makes sense.

Either the LIBLC3 library needs it, and should select it, or it doesn't and shouldn't required it for the nRF5340 appcore

kartben
kartben previously approved these changes Nov 2, 2023
MariuszSkamra
MariuszSkamra previously approved these changes Nov 2, 2023
The LC3 coded requires floating point support in
the C library, so let's select REQUIRES_FULL_LIBC
in the module kconfig, instead of having samples
adding it to their prj.conf

Signed-off-by: Alberto Escolar Piedras <[email protected]>
As now this is handled by the LIBLC3 kconfig

Signed-off-by: Alberto Escolar Piedras <[email protected]>
@aescolar
Copy link
Member Author

aescolar commented Nov 3, 2023

Just a rebase to fix merge conflicts, no changes otherwise

@aescolar
Copy link
Member Author

aescolar commented Nov 5, 2023

@kartben @MariuszSkamra Thank you very much for your reviews. You'd be very welcome to reapprove as your reviews got dismissed during the rebase.

@carlescufi carlescufi merged commit c914c51 into zephyrproject-rtos:main Nov 6, 2023
22 checks passed
@aescolar aescolar deleted the libc3_fulllibc branch November 6, 2023 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Audio area: Bluetooth Audio area: Bluetooth area: Samples Samples Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

7 participants