Loading src/driver/Kconfig +2 −2 Original line number Diff line number Diff line Loading @@ -29,11 +29,11 @@ depends on meta_driver_i2c config driver_bme280 bool "BME280 TPH Sensor" depends on meta_driver_i2c && (arch_msp430fr5969lp || arch_msp430fr5994lp) depends on meta_driver_i2c config driver_bme680 bool "BME680 TPH+IAQ Sensor" depends on meta_driver_i2c && !driver_bme280 && (arch_arduino_nano || arch_msp430fr5969lp || arch_msp430fr5994lp) depends on meta_driver_i2c && !driver_bme280 config driver_ccs811 bool "CCS811 VOC Sensor" Loading src/driver/bme680_util.cc +4 −0 Original line number Diff line number Diff line Loading @@ -18,7 +18,11 @@ void bme680_delay_ms(uint32_t const period) void bme680_sleep_ms(uint32_t const period) { #if defined(CONFIG_arch_posix) arch.delay_ms(period); #else arch.sleep_ms(period); #endif } int8_t bme680_i2c_read(uint8_t dev_id, uint8_t reg_addr, uint8_t *reg_data, uint16_t len) Loading Loading
src/driver/Kconfig +2 −2 Original line number Diff line number Diff line Loading @@ -29,11 +29,11 @@ depends on meta_driver_i2c config driver_bme280 bool "BME280 TPH Sensor" depends on meta_driver_i2c && (arch_msp430fr5969lp || arch_msp430fr5994lp) depends on meta_driver_i2c config driver_bme680 bool "BME680 TPH+IAQ Sensor" depends on meta_driver_i2c && !driver_bme280 && (arch_arduino_nano || arch_msp430fr5969lp || arch_msp430fr5994lp) depends on meta_driver_i2c && !driver_bme280 config driver_ccs811 bool "CCS811 VOC Sensor" Loading
src/driver/bme680_util.cc +4 −0 Original line number Diff line number Diff line Loading @@ -18,7 +18,11 @@ void bme680_delay_ms(uint32_t const period) void bme680_sleep_ms(uint32_t const period) { #if defined(CONFIG_arch_posix) arch.delay_ms(period); #else arch.sleep_ms(period); #endif } int8_t bme680_i2c_read(uint8_t dev_id, uint8_t reg_addr, uint8_t *reg_data, uint16_t len) Loading