I'm trying to modify the asset tracker for the Thingy91 to read the actual values of the ADXL362 and BME680 sensors. By default for some reason the project uses simulated values. So I updated my proj.conf with the following updates as per the zephyr sample example:
# SENSORS
CONFIG_SENSOR=y
# ACCELEROMETER
CONFIG_SPI=y
CONFIG_ACCEL_USE_EXTERNAL=y
CONFIG_ACCEL_DEV_NAME="ADXL362"
CONFIG_ADXL362=y
CONFIG_ADXL362_TRIGGER_GLOBAL_THREAD=y
CONFIG_ADXL362_ABS_REF_MODE=1
CONFIG_ADXL362_ACTIVITY_THRESHOLD=200
CONFIG_ADXL362_INACTIVITY_THRESHOLD=200
CONFIG_ADXL362_INTERRUPT_MODE=1
# ENVIROMENT SENSE
CONFIG_I2C=y
CONFIG_TEMP_USE_EXTERNAL=y
CONFIG_TEMP_DEV_NAME="BME680"
# Deselect CONFIG_BME680 if CONFIG_USE_BME680_BSEC is selected
CONFIG_BME680=y
CONFIG_USE_BME680_BSEC=n
However when I go to run the code I still see that CONFIG_ACCEL_DEV_NAME is set to "SENSOR_SIM". The autoconf.h rendered header file still shows the "SENSOR_SIM" value. I can't verify the stored value at runtime since SES would ever display variable values at run-debug time (variables are always "symbol not found").
So how can I modify the Asset Tracker example to get proper Sensor values polled? Currently the Accelerometer only ever show 20mg on all axis which I assure is the simulated value rendering.
Thanks for your help,
DC
