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

Build asset_tracker_v2 from source error: ADXL362_RANGE_MAX_M_S2 undeclared here (not in a function)

Hi there,

I'm trying to build the asset_tracker_v2 example application from source and receiving this error:

../src/ext_sensors/ext_sensors.c:31:20: error: 'ADXL362_RANGE_MAX_M_S2' undeclared here (not in a function)
double threshold = ADXL362_RANGE_MAX_M_S2;

Could you tell me how to resolve this error please?

Also, an explanation as to why this is happening would be an added bonus as I have no issue building the asset_tracker (v1) example application from source.

I'm using the nRF SDK 1.6.0

Thanks,

Daz

Related