Hello,
I am using example code of LIS2DH accelerometer sensor with nRF SDK v1.3.1. Building the example code I am getting macro error in devicetree.h file as mentioned below
#define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat))
with following message in output
error: 'DT_N_INST_0_st_lis2dh_P_label' undeclared (first use in this function)
Please suggest appropriate solution for the above problem.
Thanks.