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

How to Configure the Asset Tracker to Using external Temp and not Simulated Temp

Hey everyone, I am trying to setup the external temp sensor instead of using the simulated data

I modified prj.conf  to:

CONFIG_TEMP_USE_EXTERNAL=y

and Kconfig default to TEMP_USE_EXTERNAL

choice
prompt "Temperature measurement device"
default TEMP_USE_EXTERNAL

I am able to build and flash and run  the program but get the following message.

ASSERTION FAIL [env_sensors[i]->dev] @ ../src/main.c:1034


	Could not get device 




***** Kernel Panic! *****


Current thread ID = 0x20021d5c


Faulting instruction address = 0x61166


Where in the config do I define the pins id like to use for the external sensor connected?

Thanks!
Related