Hi Support Team,
I want to run the sample 'BME68X: Gas Sensor' on nRF5340-DK. Following the desrciption of BME68X IAQ driver, I download the BSEC lib to my SDK(ncs v2.5.2).
In the 'Build Configuration', I set Board=nrf5340dk_nrf5340_cpuapp and added an overlay as below:
&i2c1 { compatible = "nordic,nrf-twim"; bme680: bme680@77 { compatible = "bosch,bme680"; reg = <0x77>; }; };
With the sample code, there is a compiling error for 'undefined reference to `__device_dts_ord_134'', the error info as below:
[1/6] Linking C executable zephyr\zephyr_pre0.elf ... c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.c.obj): in function `main': C:/ncs/v2.5.2/nrf/samples/sensor/bme68x_iaq/src/main.c:61: undefined reference to `__device_dts_ord_134'
Could you help check how to compile this sample for nRF5340-DK? Thank you very much.
Best regards,
Yanpeng Wu