error: Aborting due to Kconfig warnings when adding out of tree sensor driver to nrf9160dk

Hi,

I am adding out of tree sensor driver (LDC2114) to nrf9160dk, I follow the Adding an Out-of-Tree sensor driver to Zephyr - Golioth. But when building the configuration, the CONFIG_XXX except CONFIG_LDC2114 in the prj.conf becomes undefined (There is no error before adding the drivers).

This is my whole project .

I haven't done the driver file ldc2114.c. I just want it build correctly first. It can build successfully without Kconfig, west.yml and drivers file. So I think something wrong in these files.

Best regards,

Liza

Related