I've just received my nRF9160 development kit this morning and after trying to setup the development environment for a few hours I've come to a halt.
I got it working using the nrf9160_pca10090 board but than it's apparently missing header files, so changed it to nrf9160_pca10090ns as I found that in another issue in here.
Anyway now I get the error Unable to find dtc, which is weird as I definitely have dtc installed on my system.
I'm using Mac OS X Catalina 10.15.2
Full Output
Loading solution nrf9160.emProject Executing load commands /usr/local/bin/cmake -GNinja -DBOARD=nrf9160_pca10090ns -DBOARD_DIR=/Users/jasperdemoor/ncs/zephyr/boards/arm/nrf9160_pca10090 -DZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -DGNUARMEMB_TOOLCHAIN_PATH=/Users/jasperdemoor/gnuarmemb -B/Users/jasperdemoor/Documents/versbox/nrf9160/build_nrf9160_pca10090ns -H/Users/jasperdemoor/Documents/versbox/nrf9160 -DPYTHON_EXECUTABLE=/Library/Frameworks/Python.framework/Versions/3.6/bin/python3 -DCMAKE_MAKE_PROGRAM=/usr/local/bin/ninja -DDTC=/usr/local/bin/dtc -DWEST=/Library/Frameworks/Python.framework/Versions/3.6/bin/west -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=/Applications/Segger Embedded Studio/html/configure_nordic_project_menuconfig.py Zephyr version: 2.1.0 -- git describe failed: fatal: No tags can describe 'eb4e78d449a37114da70439366e9134e574d9144'. Try --always, or create some tags.; BUILD_VERSION is left undefined -- Selected BOARD nrf9160_pca10090ns -- Found west: /Library/Frameworks/Python.framework/Versions/3.6/bin/west (found suitable version "0.6.3", minimum required is "0.6.0") -- Loading /Users/jasperdemoor/ncs/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090ns.dts as base nrf9160_pca10090ns.dts.pre.tmp:89.42-101.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) nrf9160_pca10090ns.dts.pre.tmp:338.19-344.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@40000000/clock@5000: duplicate unit-address (also used in node /soc/peripheral@40000000/power@5000) Devicetree configuration written to /Users/jasperdemoor/Documents/versbox/nrf9160/build_nrf9160_pca10090ns/zephyr/include/generated/generated_dts_board.conf Parsing Kconfig tree in /Users/jasperdemoor/ncs/zephyr/Kconfig /Users/jasperdemoor/ncs/nrf/lib/fprotect/Kconfig:20: WARNING: dt_int_val is deprecated. /Users/jasperdemoor/ncs/mcuboot/zephyr/Kconfig:37: WARNING: dt_int_val is deprecated. Loaded configuration '/Users/jasperdemoor/Documents/versbox/nrf9160/build_nrf9160_pca10090ns/zephyr/.config' No change to '/Users/jasperdemoor/Documents/versbox/nrf9160/build_nrf9160_pca10090ns/zephyr/.config' -- Cache files will be written to: /Users/jasperdemoor/Library/Caches/zephyr === child image spm begin === Changed board to secure nrf9160_pca10090 (NOT NS) Zephyr version: 2.1.0 -- git describe failed: fatal: No tags can describe 'eb4e78d449a37114da70439366e9134e574d9144'. Try --always, or create some tags.; BUILD_VERSION is left undefined -- Selected BOARD nrf9160_pca10090 -- Configuring incomplete, errors occurred! CMake Error at /Users/jasperdemoor/ncs/zephyr/cmake/host-tools.cmake:59 (message): Unable to find dtc Call Stack (most recent call first): /Users/jasperdemoor/ncs/zephyr/cmake/app/boilerplate.cmake:443 (include) CMakeLists.txt:9 (include) CMake Error at /Users/jasperdemoor/ncs/nrf/cmake/multi_image.cmake:173 (message): CMake generation for spm failed, aborting. Command: 1 Call Stack (most recent call first): /Users/jasperdemoor/ncs/nrf/cmake/multi_image.cmake:73 (add_child_image_from_source) /Users/jasperdemoor/ncs/nrf/samples/CMakeLists.txt:8 (add_child_image) -- Configuring incomplete, errors occurred! See also "/Users/jasperdemoor/Documents/versbox/nrf9160/build_nrf9160_pca10090ns/CMakeFiles/CMakeOutput.log". See also "/Users/jasperdemoor/Documents/versbox/nrf9160/build_nrf9160_pca10090ns/CMakeFiles/CMakeError.log". Project load failed Reported error: solution load command failed (1)