Installation

Last updated on: December 31, 2019

Using with Zephyr OS

In order for the devices to be part of the Icarus device tree, you need to use the following overlay in your project:

&i2c2 {
bme280@76 {
compatible = "bosch,bme280";
reg = <0x76>;
label = "BME280";
};
ccs811@5a {
compatible = "ams,ccs811";
reg = <0x5a>;
label = "CCS811";
};
si7060@32 {
compatible = "silabs,si7060";
reg = <0x32>;
label = "SI7060";
};
opt3001@44 {
compatible = "ti,opt3001";
reg = <0x44>;
label = "OPT3001";
};
};

Lastly, make sure that the following are defined in you prj.conf:

CONFIG_I2C=y
CONFIG_SPI=y
CONFIG_SENSOR=y
CONFIG_BME280=y
CONFIG_CCS811=y
CONFIG_CCS811_GPIO_WAKEUP=y
CONFIG_SI7060=y
CONFIG_OPT3001=y
CONFIG_I2C_2=y
CONFIG_CCS811_GPIO_DEV_NAME="GPIO_0"
CONFIG_CCS811_GPIO_WAKEUP_PIN_NUM=30