This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

NOT GETTING DEVICE NAME

I want to run BME680 sensor example from zeyphyr->samples->sensors, i loaded the project with adding nrf9160dk_nrf9160ns overlay file with the contents :

&i2c2 {
compatible = "nordic,nrf-twim";
status = "okay";
sda-pin = <23>;
scl-pin = <24>;
clock-frequency = <I2C_BITRATE_FAST>;

bme680@76 {
compatible = "bosch,bme680";
label = "BME680";
reg = <0x76>;
};

bh1749@38 {
compatible = "rohm,bh1749";
label = "BH1749";
reg = <0x38>;
int-gpios = <&gpio0 22 0>;
};
};

as I am connecting the sensors on these sda and scl pins, now I am not able to run the code as the code stucks on the first line "device_get_binding" function.

Parents Reply Children
Related