-
Notifications
You must be signed in to change notification settings - Fork 10
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
[SL-UP]modified to support si917 #346
base: release_2.5-1.4
Are you sure you want to change the base?
Conversation
#include <sparkfun_sgp40.h> | ||
|
||
#if (defined(SLI_SI917)) |
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.
This define is set to true for the SoC and NCP configuration. Wouldn't work for the efr32 + 917 NCP
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.
@mkardous-silabs What is the correct way to verify if its a 917 soc device?
#if SLI_SI91X_MCU_INTERFACE
?
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.
Also, the app is not available for NCP combinations.
We do not support Sparkfun sensor with CSA.
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.
SLI_SI91X_MCU_INTERFACE
is the define for SoC.
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.
Based on the customer issue that brought this feature to light; nothing prevent a customer to have efr+917ncp and try to use the airquality sensor feature.
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.
ok. This code is copied as is from https://github.com/SiliconLabs/third_party_hw_drivers_extension/blob/master/app/example/sparkfun_air_quality_sgp40/app.c#L42 I will confirm with them if NCPs were considered. At least they do not support the app for the NCPs https://github.com/SiliconLabs/third_party_hw_drivers_extension/blob/master/templates.xml#L862
Need to support si917 boards.
Added support for si917 , referenced from https://github.com/SiliconLabs/third_party_hw_drivers_extension/blob/master/app/example/sparkfun_air_quality_sgp40/app.c
Testing
Studio