Compilation sample failed in VSCode, nrfconnect, ncs1.8 (sensor MPU5060)

Hi NRF folk,

when I build sample projects in VSCode (ncs1.8) it works only for some projects (zephyr_st_ble, zephyr_system_off,...). When I use any of the sensor project eg. zephyr_mpu6050, zephyr_hts221, zephyr_bmm150 I get very similar error posted here: https://github.com/zephyrproject-rtos/zephyr/issues/42292

I submitted this issue on the github because it looked like an issue with Zephyr. In very short time I got an answer that ....

"this issue looks like that sensor is missing in devicetree. In case you didn't add it to an overlay, that might be the reason for your problem. The same holds true for the other sensor." 

Please, can you help me. Did I missed something during my environment setup? When I create a new application through nRF Connect in VS Code only some samples works.

Thank you so much,

Related