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

examples/amg88xx: fix kconfig #2984

Merged
merged 1 commit into from
Feb 5, 2025

Conversation

LuchianMihai
Copy link
Contributor

Summary

Small fix for my previous sloppy work on amg88xx example.
I forgot to add correct dependency for kconfig options.
Also, I've followed DTH driver as example, you can see that in the kconfig stack size option :D

Impact

In non-interactive build, some defines previously polluted the header file with no impact on build. Now is fixed.
In interactive build (running make menuconfig or equivalent) the amg88xx example was visible without enabling the needed driver

Testing

Manually.
Checked that the define is no longer included in the output header.
Check that the amg88xx example is not longer present in the menuconfig if the amg88xx driver is disabled.

fix amg88xx kconfig EXAMPLES_AMG88XX_STACKSIZE option name

add depends on SENSORS_AMG88XX to hide the example is the driver is not enabled
Copy link

@cederom cederom left a comment

Choose a reason for hiding this comment

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

Thank you @LuchianMihai :-)

@LuchianMihai
Copy link
Contributor Author

Thank you @LuchianMihai :-)

No worries

@anchao anchao merged commit 5d7ff30 into apache:master Feb 5, 2025
37 checks passed
@LuchianMihai LuchianMihai deleted the fix-kconfig-amg88xx branch February 10, 2025 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants