I cannot compile the sample of VL53L0X with VSC.
I have the following error: 'DT_N_INST_0_st_vl53l0x_P_label' undeclared (first use in this function)
Do I need to add specific information related to my Icarus card?
By reworking the sample with other examples, I passed this error but I'm stuck on another point:In the file /opt/nordic/ncs/v1.7.0/zephyr/drivers/sensor/vl53l0x/vl53l0x.c
DEVICE_INST_DEFINE (0, vl53l0x_init, NULL, & vl53l0x_driver,
NULL, POST_KERNEL, CONFIG_SENSOR_INIT_PRIORITY,
& vl53l0x_api_funcs);give me this first error (then others same style):
error: expected declaration specifiers or '...' before numeric constant
Does somebody have an idea ? Thanks for help
I did no other change to the example (zephyr/samples/sensor/vl53l0x/) other than create the folder "boards" and place the overlay file in that folder.
I configured for board actinius_icarus_ns…