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

Cannot build for thingy9160

Hi,

I tried building both with cmd line and SES but I get always this error:

/usr/local/bin/cmake -GNinja -DBOARD=thingy91_nrf9160ns -DBOARD_DIR=/Users/dariofanciullo/Workspace/Nordic/ncs/nrf/boards/arm/thingy91_nrf9160 -DZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -DGNUARMEMB_TOOLCHAIN_PATH=/opt/gnuarmemb -B/Users/dariofanciullo/Workspace/Nordic/ncs/nrf/applications/asset_tracker/build_thingy91_nrf9160ns -H/Users/dariofanciullo/Workspace/Nordic/ncs/nrf/applications/asset_tracker \

-DPYTHON_EXECUTABLE=/usr/local/bin/python3 -DCMAKE_MAKE_PROGRAM=/usr/local/bin/ninja -DDTC=/usr/local/bin/dtc -DWEST=/usr/local/bin/west -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=/Users/dariofanciullo/Applications/arm_segger_embedded_studio_v452_macos_x64_nordic/html/configure_nordic_project_menuconfig.py

Including boilerplate (Zephyr base (cached)): /opt/nordic/ncs/v1.3.0/zephyr/cmake/app/boilerplate.cmake

-- Application: /Users/dariofanciullo/Workspace/Nordic/ncs/nrf/applications/asset_tracker

-- Zephyr version: 2.3.0-rc1 (/opt/nordic/ncs/v1.3.0/zephyr)

-- Board: thingy91_nrf9160ns

-- Found west: /usr/local/bin/west (found suitable version "0.7.2", minimum required is "0.7.1")

-- Found dtc: /usr/local/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")

-- Found toolchain: gnuarmemb (/opt/gnuarmemb)

-- Found BOARD.dts: /Users/dariofanciullo/Workspace/Nordic/ncs/nrf/boards/arm/thingy91_nrf9160/thingy91_nrf9160ns.dts

thingy91_nrf9160ns.dts.pre.tmp:394.32-398.5: Warning (simple_bus_reg): /soc/cryptocell-sw: missing or empty reg/ranges property

thingy91_nrf9160ns.dts.pre.tmp:93.42-105.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@40000000/flash-controller@39000: duplicate unit-address (also used in node /soc/peripheral@40000000/kmu@39000)

thingy91_nrf9160ns.dts.pre.tmp:342.19-348.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@40000000/clock@5000: duplicate unit-address (also used in node /soc/peripheral@40000000/power@5000)

-- ======>> /usr/bin/python3

-- Generated zephyr.dts: /Users/dariofanciullo/Workspace/Nordic/ncs/nrf/applications/asset_tracker/build_thingy91_nrf9160ns/zephyr/zephyr.dts

-- Generated devicetree_unfixed.h: /Users/dariofanciullo/Workspace/Nordic/ncs/nrf/applications/asset_tracker/build_thingy91_nrf9160ns/zephyr/include/generated/devicetree_unfixed.h

Parsing /Users/dariofanciullo/Workspace/Nordic/ncs/nrf/applications/asset_tracker/Kconfig

Loaded configuration '/Users/dariofanciullo/Workspace/Nordic/ncs/nrf/boards/arm/thingy91_nrf9160/thingy91_nrf9160ns_defconfig'

Merged configuration '/Users/dariofanciullo/Workspace/Nordic/ncs/nrf/applications/asset_tracker/prj_thingy91_nrf9160ns.conf'

/Users/dariofanciullo/Workspace/Nordic/ncs/nrf/boards/arm/thingy91_nrf9160/thingy91_nrf9160ns_defconfig:33: warning: attempt to assign the value 'y' to the undefined symbol ADP536X

/Users/dariofanciullo/Workspace/Nordic/ncs/nrf/applications/asset_tracker/prj_thingy91_nrf9160ns.conf:22: warning: attempt to assign the value 'y' to the undefined symbol LTE_LINK_CONTROL

/Users/dariofanciullo/Workspace/Nordic/ncs/nrf/applications/asset_tracker/prj_thingy91_nrf9160ns.conf:23: warning: attempt to assign the value 'y' to the undefined symbol LTE_NETWORK_MODE_LTE_M_GPS

/Users/dariofanciullo/Workspace/Nordic/ncs/nrf/applications/asset_tracker/prj_thingy91_nrf9160ns.conf:24: warning: attempt to assign the value 'n' to the undefined symbol LTE_AUTO_INIT_AND_CONNECT

/Users/dariofanciullo/Workspace/Nordic/ncs/nrf/applications/asset_tracker/prj_thingy91_nrf9160ns.conf:25: warning: attempt to assign the value 'y' to the undefined symbol LTE_LINK_CONTROL_LOG_LEVEL_DBG

/Users/dariofanciullo/Workspace/Nordic/ncs/nrf/applications/asset_tracker/prj_thingy91_nrf9160ns.conf:27: warning: attempt to assign the value 'n' to the undefined symbol LTE_NETWORK_MODE_NBIOT

/Users/dariofanciullo/Workspace/Nordic/ncs/nrf/applications/asset_tracker/prj_thingy91_nrf9160ns.conf:28: warning: attempt to assign the value 'n' to the undefined symbol LTE_LEGACY_PCO_MODE

/Users/dariofanciullo/Workspace/Nordic/ncs/nrf/applications/asset_tracker/prj_thingy91_nrf9160ns.conf:29: warning: attempt to assign the value '"00000110"' to the undefined symbol LTE_PSM_REQ_RPTAU

/Users/dariofanciullo/Workspace/Nordic/ncs/nrf/applications/asset_tracker/prj_thingy91_nrf9160ns.conf:30: warning: attempt to assign the value '"00000010"' to the undefined symbol LTE_PSM_REQ_RAT

/Users/dariofanciullo/Workspace/Nordic/ncs/nrf/applications/asset_tracker/prj_thingy91_nrf9160ns.conf:32: warning: attempt to assign the value 'y' to the undefined symbol LTE_LOCK_BANDS

/Users/dariofanciullo/Workspace/Nordic/ncs/nrf/applications/asset_tracker/prj_thingy91_nrf9160ns.conf:34: warning: attempt to assign the value '"1000000010000001100010001110"' to the undefined symbol LTE_LOCK_BAND_MASK

/Users/dariofanciullo/Workspace/Nordic/ncs/nrf/applications/asset_tracker/prj_thingy91_nrf9160ns.conf:37: warning: attempt to assign the value 'y' to the undefined symbol MODEM_INFO

/Users/dariofanciullo/Workspace/Nordic/ncs/nrf/applications/asset_tracker/prj_thingy91_nrf9160ns.conf:40: warning: attempt to assign the value 'y' to the undefined symbol BSD_LIBRARY

/Users/dariofanciullo/Workspace/Nordic/ncs/nrf/applications/asset_tracker/prj_thingy91_nrf9160ns.conf:41: warning: attempt to assign the value 'n' to the undefined symbol BSD_LIBRARY_TRACE_ENABLED

/Users/dariofanciullo/Workspace/Nordic/ncs/nrf/applications/asset_tracker/prj_thingy91_nrf9160ns.conf:44: warning: attempt to assign the value 'y' to the undefined symbol CLOUD_API

/Users/dariofanciullo/Workspace/Nordic/ncs/nrf/applications/asset_tracker/prj_thingy91_nrf9160ns.conf:45: warning: attempt to assign the value 'y' to the undefined symbol NRF_CLOUD

/Users/dariofanciullo/Workspace/Nordic/ncs/nrf/applications/asset_tracker/prj_thingy91_nrf9160ns.conf:46: warning: attempt to assign the value 'y' to the undefined symbol NRF_CLOUD_LOG_LEVEL_DBG

/Users/dariofanciullo/Workspace/Nordic/ncs/nrf/applications/asset_tracker/prj_thingy91_nrf9160ns.conf:47: warning: attempt to assign the value 'y' to the undefined symbol NRF_CLOUD_AGPS

/Users/dariofanciullo/Workspace/Nordic/ncs/nrf/applications/asset_tracker/prj_thingy91_nrf9160ns.conf:48: warning: attempt to assign the value 'y' to the undefined symbol NRF_CLOUD_CONNECTION_POLL_THREAD

/Users/dariofanciullo/Workspace/Nordic/ncs/nrf/applications/asset_tracker/prj_thingy91_nrf9160ns.conf:49: warning: attempt to assign the value 'y' to the undefined symbol NRF_CLOUD_NONBLOCKING_SEND

/Users/dariofanciullo/Workspace/Nordic/ncs/nrf/applications/asset_tracker/prj_thingy91_nrf9160ns.conf:51: warning: attempt to assign the value 'y' to the undefined symbol CJSON_LIB

/Users/dariofanciullo/Workspace/Nordic/ncs/nrf/applications/asset_tracker/prj_thingy91_nrf9160ns.conf:55: warning: attempt to assign the value 'y' to the undefined symbol CLOUD_PERSISTENT_SESSIONS

/Users/dariofanciullo/Workspace/Nordic/ncs/nrf/applications/asset_tracker/prj_thingy91_nrf9160ns.conf:75: warning: attempt to assign the value 'y' to the undefined symbol NRF9160_GPS_LOG_LEVEL_DBG

/Users/dariofanciullo/Workspace/Nordic/ncs/nrf/applications/asset_tracker/prj_thingy91_nrf9160ns.conf:76: warning: attempt to assign the value 'y' to the undefined symbol NRF9160_GPS

/Users/dariofanciullo/Workspace/Nordic/ncs/nrf/applications/asset_tracker/prj_thingy91_nrf9160ns.conf:77: warning: attempt to assign the value 'y' to the undefined symbol NRF9160_GPS_LOG_LEVEL_DBG

/Users/dariofanciullo/Workspace/Nordic/ncs/nrf/applications/asset_tracker/prj_thingy91_nrf9160ns.conf:89: warning: attempt to assign the value 'y' to the undefined symbol DK_LIBRARY

/Users/dariofanciullo/Workspace/Nordic/ncs/nrf/applications/asset_tracker/prj_thingy91_nrf9160ns.conf:90: warning: attempt to assign the value 'n' to the undefined symbol DK_LIBRARY_INVERT_LEDS

/Users/dariofanciullo/Workspace/Nordic/ncs/nrf/applications/asset_tracker/prj_thingy91_nrf9160ns.conf:119: warning: attempt to assign the value 'y' to the undefined symbol AWS_FOTA

/Users/dariofanciullo/Workspace/Nordic/ncs/nrf/applications/asset_tracker/prj_thingy91_nrf9160ns.conf:120: warning: attempt to assign the value 'y' to the undefined symbol FOTA_DOWNLOAD

/Users/dariofanciullo/Workspace/Nordic/ncs/nrf/applications/asset_tracker/prj_thingy91_nrf9160ns.conf:121: warning: attempt to assign the value 'y' to the undefined symbol AWS_FOTA_LOG_LEVEL_DBG

/Users/dariofanciullo/Workspace/Nordic/ncs/nrf/applications/asset_tracker/prj_thingy91_nrf9160ns.conf:122: warning: attempt to assign the value 'y' to the undefined symbol AWS_JOBS_LOG_LEVEL_DBG

/Users/dariofanciullo/Workspace/Nordic/ncs/nrf/applications/asset_tracker/prj_thingy91_nrf9160ns.conf:123: warning: attempt to assign the value 'y' to the undefined symbol DFU_TARGET

/Users/dariofanciullo/Workspace/Nordic/ncs/nrf/applications/asset_tracker/prj_thingy91_nrf9160ns.conf:126: warning: attempt to assign the value 'y' to the undefined symbol DOWNLOAD_CLIENT

/Users/dariofanciullo/Workspace/Nordic/ncs/nrf/applications/asset_tracker/prj_thingy91_nrf9160ns.conf:127: warning: attempt to assign the value '4096' to the undefined symbol DOWNLOAD_CLIENT_STACK_SIZE

/Users/dariofanciullo/Workspace/Nordic/ncs/nrf/applications/asset_tracker/prj_thingy91_nrf9160ns.conf:130: warning: attempt to assign the value 'n' to the undefined symbol RESET_ON_FATAL_ERROR

error: Aborting due to Kconfig warnings

CMake Error at /opt/nordic/ncs/v1.3.0/zephyr/cmake/kconfig.cmake:217 (message):

  command failed with return code: 1

Call Stack (most recent call first):

  /opt/nordic/ncs/v1.3.0/zephyr/cmake/app/boilerplate.cmake:506 (include)

  /opt/nordic/ncs/v1.3.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)

  /opt/nordic/ncs/v1.3.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:40 (include_boilerplate)

  CMakeLists.txt:16 (find_package)

-- Configuring incomplete, errors occurred!

Any advice please?

BR,

Dario

Related