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

Cannot load asset tracker application for THINGY91

Hi

I have installed the toolchain according to the getting started assistant, nRF Connect SDK v1.1.0


I try to load the asset tracker application in Segger with
  CMake_lists.txt = C:/prosjekt/thingy/ncs/nrf/applications/asset_tracker/CMakeLists.txt
  Board Directory = C:/prosjekt/thingy/ncs/nrf/boards/arm/nrf9160_pca20035

I get the error "... asset_tracker.emProject is invalid"

The transcript says:

Loading solution asset_tracker.emProject
Executing load commands
cmake -GNinja -DBOARD=nrf9160_pca20035 -DBOARD_DIR=C:/prosjekt/thingy/ncs/nrf/boards/arm/nrf9160_pca20035 -DZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -DGNUARMEMB_TOOLCHAIN_PATH=C:/gnuarmemb -BC:/prosjekt/thingy/ncs/nrf/applications/asset_tracker/build_nrf9160_pca20035 -HC:/prosjekt/thingy/ncs/nrf/applications/asset_tracker -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=C:/prosjekt/thingy/arm_segger_embedded_studio_v430c_win_x64_nordic/html/configure_nordic_project_menuconfig.py
-- Using application from 'C:/prosjekt/thingy/ncs/nrf/applications/asset_tracker'
Zephyr version: 2.0.99
-- Selected BOARD nrf9160_pca20035
-- Found west: C:/Python38/Scripts/west.exe (found suitable version "0.6.3", minimum required is "0.6.0")
-- Cache files will be written to: C:\Users\helger\AppData\Local/.cache/zephyr
USING OUT OF TREE BOARD
-- Loading C:/prosjekt/thingy/ncs/nrf/boards/arm/nrf9160_pca20035/nrf9160_pca20035.dts as base
-- Overlaying C:/prosjekt/thingy/ncs/zephyr/dts/common/common.dts
Devicetree configuration written to C:/prosjekt/thingy/ncs/nrf/applications/asset_tracker/build_nrf9160_pca20035/zephyr/include/generated/generated_dts_board.conf

warning: the value '' is invalid for FLIP_INPUT (defined at C:/prosjekt/thingy/ncs/nrf/applications/asset_tracker/Kconfig:109), which has type int -- assignment ignored

Parsing Kconfig tree in C:/prosjekt/thingy/ncs/nrf/applications/asset_tracker/Kconfig
Loaded configuration 'C:/prosjekt/thingy/ncs/nrf/applications/asset_tracker/build_nrf9160_pca20035/zephyr/.config'
warning: the value '' is invalid for TEMP_SIM_BUTTON (defined at C:/prosjekt/thingy/ncs/nrf/applications/asset_tracker/Kconfig:309), which has type int -- assignment ignored

warning: BSD_LIBRARY (defined at C:/prosjekt/thingy/ncs/nrf\lib\bsdlib/Kconfig:8) has direct dependencies TRUSTED_EXECUTION_NONSECURE with value n, but is currently being y-selected by the following symbols:
 - MODEM_INFO (defined at C:/prosjekt/thingy/ncs/nrf\lib\modem_info/Kconfig:7), with value y, direct dependencies y (value: y)

Error: Aborting due to non-whitelisted Kconfig warning 'warning: the value '' is invalid for
FLIP_INPUT (defined at C:/prosjekt/thingy/ncs/nrf/applications/asset_tracker/Kconfig:109), which has
type int -- assignment ignored'. Note: If this warning doesn't point to an actual problem, you can
add it to the whitelist at the top of C:/prosjekt/thingy/ncs/zephyr/scripts/kconfig/kconfig.py.

CMake Error at C:/prosjekt/thingy/ncs/zephyr/cmake/kconfig.cmake:227 (message):
  command failed with return code: 1
Call Stack (most recent call first):
  C:/prosjekt/thingy/ncs/zephyr/cmake/app/boilerplate.cmake:567 (include)
  CMakeLists.txt:11 (include)


-- Configuring incomplete, errors occurred!
See also "C:/prosjekt/thingy/ncs/nrf/applications/asset_tracker/build_nrf9160_pca20035/CMakeFiles/CMakeOutput.log".
See also "C:/prosjekt/thingy/ncs/nrf/applications/asset_tracker/build_nrf9160_pca20035/CMakeFiles/CMakeError.log".
Project load failed
Reported error: solution load command failed (1)

Is this a real error or should it be whitelisted?

Regards Helge

Related