Hello everybody,
i succeeded to get the output from BME280 and MPU6060 sensors
I need to merge them together
Kindly, I need help to Setup prj.conf file
Thanks & Regards
You can put both the BME280 and the MPU6060 dts nodes inside the same I2C node instance. Check how it's done in the board thingy91_nrf9160: https://github.com/nrfconnect/sdk-nrf/blob/v1.7.0/boards/arm/thingy91_nrf9160/thingy91_nrf9160_common.dts#L107-L126
Best regards,
Simon
Rihab said:yeah but how do i put them together in the same project ?
i just put the 2 project in the same file and then i create the dts ?
If you want to merge two projects, you simply merge both of the corresponding files into one file. E.g. merge bme280/prj.conf and mpu6060/prj.conf into bme280_mpu_6060/prj.conf. Do the same with the .c/.h, overlay files, CMakeLists.txt and so on...
Best regards,
Simon
thanks Simon
i think you got what i want to do
now i' trying to combine the 3 projects i created and merge them in only one
i posted a ticket about my button issue, and you helped me with it
i'm very thankful for that
i' stuck since days with the global project that I'm trying to merge i have config errors in the overlay
it's not taking in consideration all the sensors
do you have a useful link for merging 2 or more projects into one
it can help me alot
kindly reply me as fast as you can, i'm one day away from the deadline delivery
thank you in advance