-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
boards: shields: add spi support to mikroe weather click shield #82165
boards: shields: add spi support to mikroe weather click shield #82165
Conversation
.. note:: | ||
|
||
By default the Weather Click is configured to use the I2C interface. In | ||
order to use the SPI interface the jumper settings must be changned. See |
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.
order to use the SPI interface the jumper settings must be changned. See | |
order to use the SPI interface the jumper settings must be changed. See |
config SHIELD_MIKROE_WEATHER_CLICK | ||
def_bool $(shields_list_contains,mikroe_weather_click) |
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.
You don't want to let people build for this "no-op" shield
config SHIELD_MIKROE_WEATHER_CLICK | |
def_bool $(shields_list_contains,mikroe_weather_click) |
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.
drop file
38b77fb
to
a6b4aa4
Compare
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.
Sorry, just spotted this when searching for mikroe_weather_click
across the tree to make sure there weren't stale references to the old shield: Line 44 of index.rst needs updating.
In fact, this made me realize that you also want to indicate in the migration guide that the shield was renamed (unless you maybe keep the original name as the "default" i2c and call the new spi variant/revision ..._spi
?
Added support for the SPI interface which is availble on the shield if the jumper configurations are changed. Signed-off-by: Ian Morris <[email protected]>
a6b4aa4
to
5fbdca5
Compare
Added support for the SPI interface which is availble on the shield if the jumper configurations are changed.