HI,
I have already got output from each of the SHT20 and MLX90614 sensors. Now I want to combine both the code. Regards, I need an help to Setup prj.conf file
Thanks & Regards
Navin
Hi again!
Could you elaborate on what help you need? You have two applications that you would like to combine and you're having trouble with the prj.conf file? As in, their dependencies don't merge? Or something else?
Perhaps you can provide the code you're working with, or at least the individual prj.conf files.
Best regards,
Heidi
Hi,
I have written two applications for interfacing sensors with NRF5340. Now I need to combine both the applications as one.
Regards I need to know "How to do that ".
you're having trouble with the prj.conf file?
Actually, I need to know how to do??
Thanks & Regards
Navin
Hi
As I mentioned earlier, due to the summer holidays, long wait times on DevZone are to be expected.
In the log, it says
devicetree error: 'interrupts' is marked as required in 'properties:' in F:/v1.5.0/zephyr/dts/bindings\i2c\nordic,nrf-twim.yaml, but does not appear in <Node /soc/peripheral@50000000/i2c@8000/BNO055@28 in 'nrf5340dk_nrf5340_cpuapp.dts.pre.tmp'>
so you need to add the "interrupts" field in all the I2C sub-nodes, because it's specified as required by the binding file.
Hi,
After taking a closer look, I see that you're defining all the sub-nodes with the "nordic, nrf-twim" binding, which is incorrect.
For the compatible-property of the sub-nodes, you need to use the vendor specific bindings, not "nordic,nrf-twim".
For example, in the BME680 Sample, the BME680 device is defined with the BME680 binding:
&i2c0 {
bme680@76 {
compatible = "bosch,bme680";
reg = <0x76>;
label = "BME680";
};
};
Source: zephyr/samples/sensor/b,e680/boards/nrf52840dk_nrf52840.overlay-L9
It doesn't look like any of the devices you are using have a binding definition in Zephyr (see the Bindings index for a complete list of available devicetree bindings in Zephyr).
Hi,
You need to write them yourself and add them to your NCS fork.
I also encourage you to create a PR when you're done.
You should also write a driver for each device.
See How to Build Drivers for Zephyr and DOs and DON’Ts for designing and writing Devicetree bindings
Hi,
You need to write them yourself and add them to your NCS fork.
I also encourage you to create a PR when you're done.
You should also write a driver for each device.
See How to Build Drivers for Zephyr and DOs and DON’Ts for designing and writing Devicetree bindings