I am trying to build the tracer example, but I am rather lost in figuring our what I have to do to get it to build.
If I naively try just builtin git as the other samples, I get
jerryneedell@Mac-mini tracker % west build -b circuitdojo_feather_nrf9160ns
-- west build: generating a build system
-- Build type: debug 🚀
-- Backend: pyrinas 🏓
-- Adding .overlay for mcuboot.
-- Version: 0.1.4-14-gc6cad1e
Including boilerplate (Zephyr base (cached)): /opt/nordic/ncs/v1.5.0/zephyr/cmake/app/boilerplate.cmake
-- Application: /opt/nordic/ncs/v1.5.0/nfed/samples/tracker
-- Using NCS Toolchain 1.5.0 for building. (/opt/nordic/ncs/v1.5.0/toolchain/cmake)
-- Zephyr version: 2.4.99 (/opt/nordic/ncs/v1.5.0/zephyr)
-- Found west (found suitable version "0.9.0", minimum required is "0.7.1")
-- Board: circuitdojo_feather_nrf9160ns
-- Cache files will be written to: /Users/jerryneedell/Library/Caches/zephyr
-- Found dtc: /opt/nordic/ncs/v1.5.0/toolchain/bin/dtc (found suitable version "1.4.7", minimum required is "1.4.6")
-- Found toolchain: gnuarmemb (/opt/nordic/ncs/v1.5.0/toolchain)
-- Found BOARD.dts: /opt/nordic/ncs/v1.5.0/zephyr/boards/arm/circuitdojo_feather_nrf9160/circuitdojo_feather_nrf9160ns.dts
-- Found devicetree overlay: /opt/nordic/ncs/v1.5.0/nfed/samples/tracker/boards/circuitdojo_feather_nrf9160ns.overlay
-- Generated zephyr.dts: /opt/nordic/ncs/v1.5.0/nfed/samples/tracker/build/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /opt/nordic/ncs/v1.5.0/nfed/samples/tracker/build/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /opt/nordic/ncs/v1.5.0/nfed/samples/tracker/build/zephyr/include/generated/device_extern.h
Parsing /opt/nordic/ncs/v1.5.0/nfed/samples/tracker/Kconfig
Loaded configuration '/opt/nordic/ncs/v1.5.0/zephyr/boards/arm/circuitdojo_feather_nrf9160/circuitdojo_feather_nrf9160ns_defconfig'
Merged configuration '/opt/nordic/ncs/v1.5.0/nfed/samples/tracker/prj.conf'
Merged configuration '/opt/nordic/ncs/v1.5.0/nfed/samples/tracker/version.conf'
Merged configuration '/opt/nordic/ncs/v1.5.0/nfed/samples/tracker/conf/debug.conf'
Merged configuration '/opt/nordic/ncs/v1.5.0/nfed/samples/tracker/conf/backend/pyrinas.conf'
Merged configuration '/opt/nordic/ncs/v1.5.0/nfed/samples/tracker/boards/circuitdojo_feather_nrf9160ns.conf'
warning: MQTT_KEEPALIVE (defined at subsys/net/lib/mqtt/Kconfig:20) was assigned the value '3600'
but got the value ''. Check these unsatisfied dependencies: MQTT_LIB (=n). See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_MQTT_KEEPALIVE.html and/or look up
MQTT_KEEPALIVE in the menuconfig/guiconfig interface. The Application Development Primer, Setting
Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
too.
warning: MQTT_LIB_TLS (defined at subsys/net/lib/mqtt/Kconfig:27) was assigned the value 'y' but got
the value 'n'. Check these unsatisfied dependencies: MQTT_LIB (=n). See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_MQTT_LIB_TLS.html and/or look up
MQTT_LIB_TLS in the menuconfig/guiconfig interface. The Application Development Primer, Setting
Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
too.
/opt/nordic/ncs/v1.5.0/nfed/samples/tracker/version.conf:1: warning: attempt to assign the value '0' to the undefined symbol PYRINAS_APP_VERSION_MAJOR
/opt/nordic/ncs/v1.5.0/nfed/samples/tracker/version.conf:2: warning: attempt to assign the value '1' to the undefined symbol PYRINAS_APP_VERSION_MINOR
/opt/nordic/ncs/v1.5.0/nfed/samples/tracker/version.conf:3: warning: attempt to assign the value '4' to the undefined symbol PYRINAS_APP_VERSION_PATCH
/opt/nordic/ncs/v1.5.0/nfed/samples/tracker/version.conf:4: warning: attempt to assign the value '14' to the undefined symbol PYRINAS_APP_VERSION_COMMIT
/opt/nordic/ncs/v1.5.0/nfed/samples/tracker/version.conf:5: warning: attempt to assign the value '"gc6cad1e"' to the undefined symbol PYRINAS_APP_VERSION_HASH
/opt/nordic/ncs/v1.5.0/nfed/samples/tracker/conf/backend/pyrinas.conf:9: warning: attempt to assign the value 'y' to the undefined symbol PYRINAS_CLOUD_ENABLED
/opt/nordic/ncs/v1.5.0/nfed/samples/tracker/conf/backend/pyrinas.conf:10: warning: attempt to assign the value '"tracker.jaredwolff.com"' to the undefined symbol PYRINAS_CLOUD_MQTT_BROKER_HOSTNAME
error: Aborting due to Kconfig warnings
CMake Error at /opt/nordic/ncs/v1.5.0/zephyr/cmake/kconfig.cmake:262 (message):
command failed with return code: 1
Call Stack (most recent call first):
/opt/nordic/ncs/v1.5.0/zephyr/cmake/app/boilerplate.cmake:534 (include)
/opt/nordic/ncs/v1.5.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
/opt/nordic/ncs/v1.5.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:40 (include_boilerplate)
CMakeLists.txt:80 (find_package)
-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: /opt/nordic/ncs/v1.5.0/toolchain/bin/cmake -DWEST_PYTHON=/opt/nordic/ncs/v1.5.0/toolchain/bin/python3 -B/opt/nordic/ncs/v1.5.0/nfed/samples/tracker/build -S/opt/nordic/ncs/v1.5.0/nfed/samples/tracker -GNinja
jerryneedell@Mac-mini tracker %
So i expect I have to do some pre-configuration, but it is not clear to me how to do that. Can you point me in the right direction?
The README also has To set up the application to work with the Asset Tracker Cloud Example for AWS, see the Getting started guide for Asset Tracker Cloud Example for AWS
Where can I find Getting started guide for Asset Tracker Cloud Example for AWS
?