Ism dongle not installed error

broken image

Let's build the sample code with this devicetree overlay, adding configuration options to initialize USB at boot and enable Zephyr's nrfutil pkg generate -hw-version 52 -sd-req =0x00 -application build/zephyr/zephyr.hex -application-version 1 bme280.zip If you're building the project for another board, the overlay will be ignored. overlay, Zephyr's build system picks it up automatically if you're building the project for the nRF52840 Dongle and merges it with the default devicetree of the board. So, with this overlay, you can use the BME280 sensor connected to pins 0.31 (SDA) and 0.29 (SCL).īecause the file name of the devicetree overlay is the board name nrf52840dongle_nrf52840 with the extension. If you have an Adafruit BME280 breakout board, the address should be 0x77. We need to add this sensor definition here because the nRF52840 Dongle doesn't have it built in. The &i2c0 part defines the bme280 sensor with the I☬ address 0x76. However, this doesn't matter if you're not using i2c1.

broken image

Pin 31 is also assigned as the default SCL pin for the i2c1 peripheral. The &pinctrl section was copied from the devicetree source include file for the nRF52840 Dongle, with pins 26 and 27 changed to 31 and 29, respectively. Your device may have a different * address check your device documentation if unsure.

broken image

* * Configuration of a BME280 device on an I2C bus.

broken image