-
Notifications
You must be signed in to change notification settings - Fork 2k
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
drivers/isl29020 : Expose Configurations to Kconfig #13995
Conversation
Please rebase |
Done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a small comment, otherwise it looks good. Squash directly.
@akshaim please squash and rebase |
Done. Thanks for the review |
Add CONFIG_ prefix to ISL29020_DEFAULT_ADDRESS
Make ISL29020_PARAM_ADDR configurable
Expose configurations to Kconfig.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. ACK.
Contribution description
This PR exposes compile configurations in ISL29020 Sensor Device driver to Kconfig.
Testing procedure
The build worked fine.
Firmware was uploaded to FIT IoT Lab test bed.
Default State:
Firmware Output
main(): This is RIOT! (Version: 2020.07-devel-311-gec19c-Kconfig_isl29020_tests)
CONFIG_ISL29020_DEFAULT_ADDRESS=0x44
ISL29020 light sensor test application
Initializing ISL29020 sensor
[Failed]
Usage with CFLAGS
/tests/driver_isl29020/Makefile
Firmware Output
main(): This is RIOT! (Version: 2020.07-devel-311-gec19c-Kconfig_isl29020_tests)
CONFIG_ISL29020_DEFAULT_ADDRESS=0x45
ISL29020 light sensor test application
Initializing ISL29020 sensor
[Failed]
Usage with Kconfig
/tests/driver_isl29020/
Firmware Output
main(): This is RIOT! (Version: 2020.07-devel-312-gc0d85b-Kconfig_isl29020_tests)
CONFIG_ISL29020_DEFAULT_ADDRESS=0x45
ISL29020 light sensor test application
Initializing ISL29020 sensor
[Failed]
Note : The sensor is not available for interfacing hence configurability of macros were only tested.
Issues/PRs references
#12888
@leandrolanzieri Please merge this only after #13981