mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-05 15:33:47 +00:00
There are three groups of sensors on this board, each of which requires a different I2C bus configuration and a different power supply. Currently only the CCS811 is supported. Change the board configuration to pull the necessary information about the CCS811 supply switch from devicetree, and to supply power based on whether the device is enabled in devicetree (rather than whether a driver is selected). The implementation is designed to support additional supply switches (there are at least six on the board, most of which are dedicated). Also document the I2C configuration necessary for the other sensors. There is currently no way to select alternative configurations without editing the devicetree binding, but at least they're available for use in overlays. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no> |
||
---|---|---|
.. | ||
doc | ||
board.c | ||
board.cmake | ||
CMakeLists.txt | ||
efr32mg_sltb004a_defconfig | ||
efr32mg_sltb004a.dts | ||
efr32mg_sltb004a.yaml | ||
Kconfig | ||
Kconfig.board | ||
Kconfig.defconfig |