Unverified Commit fba865b2 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

bme280 and bme680 work just fine on posix

parent 277600fd
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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"
+4 −0
Original line number Diff line number Diff line
@@ -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)