This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF9160 samples : undefined device names for device_get_binding

Hello,

I'm using ncs 1.2.0 and trying to compile sample projects like  v1.2.0\nrf\samples\sensor\bh1749, also v1.2.0\zephyr\samples\sensor\* but all the defines for device label like "DT_INST_0_ROHM_BH1749_BUS_NAME" passed to device_get_binding() are unknown. 

What's the proper way to define them in the project!. Should I make an overlay file where I define the communication peripheral....etc ? if yes, how can I link between lets say the SPI and the device ?

Regards,

Related