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

Can't load project file on nRF9160 DK

I was trying the nRF Connect SDK but I encountered an  error laoding sample program.

I'm following "Getting Started Assistant" instruction.

  • Python version is 3.7.2
  • Use gcc-arm-none-eabi-7-2018-q2-update and extract it in "/opt/gunarmemb"
  • transcript output is below

Loading solution asset_tracker.emProject
Executing load commands
/usr/local/bin/cmake -GNinja -DBOARD=nrf9160_pca10090) -DBOARD_DIR=/Users/fukuharayuusuke/Documents/nRF9160/ncs/zephyr/boards/arm/nrf9160_pca10090) -DZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -DGNUARMEMB_TOOLCHAIN_PATH=/opt/gnuarmemb -B/Users/fukuharayuusuke/Documents/nRF9160/ncs/nrf/samples/nrf9160/asset_tracker/build -H/Users/fukuharayuusuke/Documents/nRF9160/ncs/nrf/samples/nrf9160/asset_tracker -DPYTHON_EXECUTABLE=/usr/local/bin/python3 -DCMAKE_MAKE_PROGRAM=/usr/local/bin/ninja -DDTC=/usr/local/bin/dtc
-- Found PythonInterp: /usr/local/bin/python3 (found suitable version "3.6.3", minimum required is "3.4") 
-- Selected BOARD nrf9160_pca10090)
Zephyr version: 1.13.99
CMake Error at /Users/fukuharayuusuke/Documents/nRF9160/ncs/zephyr/cmake/kconfig.cmake:101 (message):
  File not found:
  /Users/fukuharayuusuke/Documents/nRF9160/ncs/zephyr/boards/arm/nrf9160_pca10090)/nrf9160_pca10090)_defconfig
Call Stack (most recent call first):
  /Users/fukuharayuusuke/Documents/nRF9160/ncs/zephyr/cmake/app/boilerplate.cmake:259 (include)
  CMakeLists.txt:9 (include)


-- Configuring incomplete, errors occurred!
Project load failed
Reported error: solution load command failed (1)

  • I change GNU ARM Embedded Toolchain Directory to /usr/local/opt/gnuarmemb, but same error occurs

  • I use pyenv so I should set "Python Executable" as /Users/fukuharayuusuke/.pyenv/shims/python

    $ which python
    /Users/fukuharayuusuke/.pyenv/shims/python

    But error still occurs. why.....

    Loading solution asset_tracker.emProject
    Executing load commands
    /usr/local/bin/cmake -GNinja -DBOARD=nrf9160_pca10090) -DBOARD_DIR=/Users/fukuharayuusuke/Documents/nRF9160/ncs/zephyr/boards/arm/nrf9160_pca10090) -DZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -DGNUARMEMB_TOOLCHAIN_PATH=/usr/local/opt/gnuarmemb -B/Users/fukuharayuusuke/Documents/nRF9160/ncs/nrf/samples/nrf9160/asset_tracker/build -H/Users/fukuharayuusuke/Documents/nRF9160/ncs/nrf/samples/nrf9160/asset_tracker -DPYTHON_EXECUTABLE=/Users/fukuharayuusuke/.pyenv/shims/python -DCMAKE_MAKE_PROGRAM=/usr/local/bin/ninja -DDTC=/usr/local/bin/dtc
    -- Found PythonInterp: /Users/fukuharayuusuke/.pyenv/shims/python (found suitable version "3.7.2", minimum required is "3.4") 
    -- Selected BOARD nrf9160_pca10090)
    Zephyr version: 1.13.99
    CMake Error at /Users/fukuharayuusuke/Documents/nRF9160/ncs/zephyr/cmake/kconfig.cmake:101 (message):
      File not found:
      /Users/fukuharayuusuke/Documents/nRF9160/ncs/zephyr/boards/arm/nrf9160_pca10090)/nrf9160_pca10090)_defconfig
    Call Stack (most recent call first):
      /Users/fukuharayuusuke/Documents/nRF9160/ncs/zephyr/cmake/app/boilerplate.cmake:259 (include)
      CMakeLists.txt:9 (include)
    
    
    -- Configuring incomplete, errors occurred!
    Project load failed
    Reported error: solution load command failed (1)

  • there was a stupid mistake.. I put wrong value in Board Directory.

    I fixed it. then I have found another error. Please advise me.

    Loading solution asset_tracker.emProject
    Executing load commands
    /usr/local/bin/cmake -GNinja -DBOARD=nrf9160_pca10090 -DBOARD_DIR=/Users/fukuharayuusuke/Documents/nRF9160/ncs/zephyr/boards/arm/nrf9160_pca10090 -DZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -DGNUARMEMB_TOOLCHAIN_PATH=/usr/local/opt/gnuarmemb -B/Users/fukuharayuusuke/Documents/nRF9160/ncs/nrf/samples/nrf9160/asset_tracker/build -H/Users/fukuharayuusuke/Documents/nRF9160/ncs/nrf/samples/nrf9160/asset_tracker -DPYTHON_EXECUTABLE=/Users/fukuharayuusuke/.pyenv/shims/python -DCMAKE_MAKE_PROGRAM=/usr/local/bin/ninja -DDTC=/usr/local/bin/dtc
    -- Found PythonInterp: /Users/fukuharayuusuke/.pyenv/shims/python (found suitable version "3.7.2", minimum required is "3.4") 
    -- Selected BOARD nrf9160_pca10090
    Zephyr version: 1.13.99
    Parsing Kconfig tree in /Users/fukuharayuusuke/Documents/nRF9160/ncs/nrf/samples/nrf9160/asset_tracker/Kconfig
    Loading /Users/fukuharayuusuke/Documents/nRF9160/ncs/nrf/samples/nrf9160/asset_tracker/build/zephyr/.config as base
    -- Loading /Users/fukuharayuusuke/Documents/nRF9160/ncs/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090.dts as base
    -- Overlaying /Users/fukuharayuusuke/Documents/nRF9160/ncs/zephyr/dts/common/common.dts
    nrf9160_pca10090.dts_compiled: Warning (unit_address_format): /soc/adc@0x4000e000: unit name should not have leading "0x"
    nrf9160_pca10090.dts_compiled: Warning (unique_unit_address): /soc/uart@40008000: duplicate unit-address (also used in node /soc/i2c@40008000)
    nrf9160_pca10090.dts_compiled: Warning (unique_unit_address): /soc/uart@40009000: duplicate unit-address (also used in node /soc/i2c@40009000)
    nrf9160_pca10090.dts_compiled: Warning (unique_unit_address): /soc/uart@4000a000: duplicate unit-address (also used in node /soc/i2c@4000a000)
    nrf9160_pca10090.dts_compiled: Warning (unique_unit_address): /soc/uart@4000b000: duplicate unit-address (also used in node /soc/i2c@4000b000)
    nrf9160_pca10090.dts_compiled: Warning (unique_unit_address): /soc/uart@40008000: duplicate unit-address (also used in node /soc/spi@40008000)
    nrf9160_pca10090.dts_compiled: Warning (unique_unit_address): /soc/i2c@40008000: duplicate unit-address (also used in node /soc/spi@40008000)
    nrf9160_pca10090.dts_compiled: Warning (unique_unit_address): /soc/uart@40009000: duplicate unit-address (also used in node /soc/spi@40009000)
    nrf9160_pca10090.dts_compiled: Warning (unique_unit_address): /soc/i2c@40009000: duplicate unit-address (also used in node /soc/spi@40009000)
    nrf9160_pca10090.dts_compiled: Warning (unique_unit_address): /soc/uart@4000a000: duplicate unit-address (also used in node /soc/spi@4000a000)
    nrf9160_pca10090.dts_compiled: Warning (unique_unit_address): /soc/i2c@4000a000: duplicate unit-address (also used in node /soc/spi@4000a000)
    nrf9160_pca10090.dts_compiled: Warning (unique_unit_address): /soc/uart@4000b000: duplicate unit-address (also used in node /soc/spi@4000b000)
    nrf9160_pca10090.dts_compiled: Warning (unique_unit_address): /soc/i2c@4000b000: duplicate unit-address (also used in node /soc/spi@4000b000)
    nrf9160_pca10090.dts_compiled: Warning (unique_unit_address): /soc/clock@40005000: duplicate unit-address (also used in node /soc/power@40005000)
    -- Cache files will be written to: /Users/fukuharayuusuke/Library/Caches/zephyr
    -- The C compiler identification is GNU 7.3.1
    -- The CXX compiler identification is GNU 7.3.1
    -- The ASM compiler identification is GNU
    -- Found assembler: /usr/local/opt/gnuarmemb/bin/arm-none-eabi-gcc
    -- Performing Test toolchain_is_ok
    -- Performing Test toolchain_is_ok - Success
    CMake Warning (dev) at /Users/fukuharayuusuke/Documents/nRF9160/ncs/zephyr/cmake/extensions.cmake:837 (target_link_libraries):
      Policy CMP0079 is not set: target_link_libraries allows use with targets in
      other directories.  Run "cmake --help-policy CMP0079" for policy details.
      Use the cmake_policy command to set the policy and suppress this warning.
    
      Target
    
        zephyr_interface
    
      is not created in this directory.  For compatibility with older versions of
      CMake, link library
    
        -mabi=aapcs
    
      will be looked up in the directory in which the target was created rather
      than in this calling directory.
    Call Stack (most recent call first):
      /Users/fukuharayuusuke/Documents/nRF9160/ncs/zephyr/cmake/extensions.cmake:1055 (target_link_libraries_ifdef)
      /Users/fukuharayuusuke/Documents/nRF9160/ncs/zephyr/cmake/extensions.cmake:115 (target_ld_options)
      /Users/fukuharayuusuke/Documents/nRF9160/ncs/zephyr/arch/arm/CMakeLists.txt:20 (zephyr_ld_options)
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    CMake Warning (dev) at /Users/fukuharayuusuke/Documents/nRF9160/ncs/zephyr/cmake/extensions.cmake:837 (target_link_libraries):
      Policy CMP0079 is not set: target_link_libraries allows use with targets in
      other directories.  Run "cmake --help-policy CMP0079" for policy details.
      Use the cmake_policy command to set the policy and suppress this warning.
    
      Target
    
        zephyr_interface
    
      is not created in this directory.  For compatibility with older versions of
      CMake, link library
    
        -march=armv8-m.main+dsp
    
      will be looked up in the directory in which the target was created rather
      than in this calling directory.
    Call Stack (most recent call first):
      /Users/fukuharayuusuke/Documents/nRF9160/ncs/zephyr/cmake/extensions.cmake:1055 (target_link_libraries_ifdef)
      /Users/fukuharayuusuke/Documents/nRF9160/ncs/zephyr/cmake/extensions.cmake:115 (target_ld_options)
      /Users/fukuharayuusuke/Documents/nRF9160/ncs/zephyr/arch/arm/CMakeLists.txt:20 (zephyr_ld_options)
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    CMake Warning (dev) at /Users/fukuharayuusuke/Documents/nRF9160/ncs/zephyr/cmake/extensions.cmake:100 (target_link_libraries):
      Policy CMP0079 is not set: target_link_libraries allows use with targets in
      other directories.  Run "cmake --help-policy CMP0079" for policy details.
      Use the cmake_policy command to set the policy and suppress this warning.
    
      Target
    
        zephyr_interface
    
      is not created in this directory.  For compatibility with older versions of
      CMake, link library
    
        m
    
      will be looked up in the directory in which the target was created rather
      than in this calling directory.
    Call Stack (most recent call first):
      /Users/fukuharayuusuke/Documents/nRF9160/ncs/zephyr/lib/libc/newlib/CMakeLists.txt:22 (zephyr_link_libraries)
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    CMake Warning (dev) at /Users/fukuharayuusuke/Documents/nRF9160/ncs/zephyr/cmake/extensions.cmake:100 (target_link_libraries):
      Policy CMP0079 is not set: target_link_libraries allows use with targets in
      other directories.  Run "cmake --help-policy CMP0079" for policy details.
      Use the cmake_policy command to set the policy and suppress this warning.
    
      Target
    
        zephyr_interface
    
      is not created in this directory.  For compatibility with older versions of
      CMake, link library
    
        c
    
      will be looked up in the directory in which the target was created rather
      than in this calling directory.
    Call Stack (most recent call first):
      /Users/fukuharayuusuke/Documents/nRF9160/ncs/zephyr/lib/libc/newlib/CMakeLists.txt:22 (zephyr_link_libraries)
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    CMake Warning (dev) at /Users/fukuharayuusuke/Documents/nRF9160/ncs/zephyr/cmake/extensions.cmake:100 (target_link_libraries):
      Policy CMP0079 is not set: target_link_libraries allows use with targets in
      other directories.  Run "cmake --help-policy CMP0079" for policy details.
      Use the cmake_policy command to set the policy and suppress this warning.
    
      Target
    
        zephyr_interface
    
      is not created in this directory.  For compatibility with older versions of
      CMake, link library
    
        -L"/usr/local/opt/gnuarmemb/arm-none-eabi"/lib/thumb/v8-m.main/fpv5-sp/hard
    
      will be looked up in the directory in which the target was created rather
      than in this calling directory.
    Call Stack (most recent call first):
      /Users/fukuharayuusuke/Documents/nRF9160/ncs/zephyr/lib/libc/newlib/CMakeLists.txt:22 (zephyr_link_libraries)
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    CMake Warning (dev) at /Users/fukuharayuusuke/Documents/nRF9160/ncs/zephyr/cmake/extensions.cmake:100 (target_link_libraries):
      Policy CMP0079 is not set: target_link_libraries allows use with targets in
      other directories.  Run "cmake --help-policy CMP0079" for policy details.
      Use the cmake_policy command to set the policy and suppress this warning.
    
      Target
    
        zephyr_interface
    
      is not created in this directory.  For compatibility with older versions of
      CMake, link library
    
        $<$<BOOL:y>:-u_printf_float>
    
      will be looked up in the directory in which the target was created rather
      than in this calling directory.
    Call Stack (most recent call first):
      /Users/fukuharayuusuke/Documents/nRF9160/ncs/zephyr/lib/libc/newlib/CMakeLists.txt:22 (zephyr_link_libraries)
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    CMake Warning (dev) at /Users/fukuharayuusuke/Documents/nRF9160/ncs/zephyr/cmake/extensions.cmake:100 (target_link_libraries):
      Policy CMP0079 is not set: target_link_libraries allows use with targets in
      other directories.  Run "cmake --help-policy CMP0079" for policy details.
      Use the cmake_policy command to set the policy and suppress this warning.
    
      Target
    
        zephyr_interface
    
      is not created in this directory.  For compatibility with older versions of
      CMake, link library
    
        $<$<BOOL:>:-u_scanf_float>
    
      will be looked up in the directory in which the target was created rather
      than in this calling directory.
    Call Stack (most recent call first):
      /Users/fukuharayuusuke/Documents/nRF9160/ncs/zephyr/lib/libc/newlib/CMakeLists.txt:22 (zephyr_link_libraries)
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    CMake Warning (dev) at /Users/fukuharayuusuke/Documents/nRF9160/ncs/zephyr/cmake/extensions.cmake:100 (target_link_libraries):
      Policy CMP0079 is not set: target_link_libraries allows use with targets in
      other directories.  Run "cmake --help-policy CMP0079" for policy details.
      Use the cmake_policy command to set the policy and suppress this warning.
    
      Target
    
        zephyr_interface
    
      is not created in this directory.  For compatibility with older versions of
      CMake, link library
    
        gcc
    
      will be looked up in the directory in which the target was created rather
      than in this calling directory.
    Call Stack (most recent call first):
      /Users/fukuharayuusuke/Documents/nRF9160/ncs/zephyr/lib/libc/newlib/CMakeLists.txt:22 (zephyr_link_libraries)
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    CMake Warning (dev) at /Users/fukuharayuusuke/Documents/nRF9160/ncs/zephyr/cmake/extensions.cmake:100 (target_link_libraries):
      Policy CMP0079 is not set: target_link_libraries allows use with targets in
      other directories.  Run "cmake --help-policy CMP0079" for policy details.
      Use the cmake_policy command to set the policy and suppress this warning.
    
      Target
    
        zephyr_interface
    
      is not created in this directory.  For compatibility with older versions of
      CMake, link library
    
        /Users/fukuharayuusuke/Documents/nRF9160/ncs/nrfxlib/bsdlib/lib/cortex-m33/hard-float/libbsd_nrf9160_xxaa.a
    
      will be looked up in the directory in which the target was created rather
      than in this calling directory.
    Call Stack (most recent call first):
      /Users/fukuharayuusuke/Documents/nRF9160/ncs/nrfxlib/bsdlib/CMakeLists.txt:18 (zephyr_link_libraries)
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    CMake Warning (dev) at /Users/fukuharayuusuke/Documents/nRF9160/ncs/zephyr/cmake/extensions.cmake:100 (target_link_libraries):
      Policy CMP0079 is not set: target_link_libraries allows use with targets in
      other directories.  Run "cmake --help-policy CMP0079" for policy details.
      Use the cmake_policy command to set the policy and suppress this warning.
    
      Target
    
        zephyr_interface
    
      is not created in this directory.  For compatibility with older versions of
      CMake, link library
    
        nrfxlib_crypto
    
      will be looked up in the directory in which the target was created rather
      than in this calling directory.
    Call Stack (most recent call first):
      /Users/fukuharayuusuke/Documents/nRF9160/ncs/nrfxlib/bsdlib/CMakeLists.txt:18 (zephyr_link_libraries)
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    CMake Warning (dev) at /Users/fukuharayuusuke/Documents/nRF9160/ncs/zephyr/cmake/extensions.cmake:100 (target_link_libraries):
      Policy CMP0079 is not set: target_link_libraries allows use with targets in
      other directories.  Run "cmake --help-policy CMP0079" for policy details.
      Use the cmake_policy command to set the policy and suppress this warning.
    
      Target
    
        zephyr_interface
    
      is not created in this directory.  For compatibility with older versions of
      CMake, link library
    
        c
    
      will be looked up in the directory in which the target was created rather
      than in this calling directory.
    Call Stack (most recent call first):
      /Users/fukuharayuusuke/Documents/nRF9160/ncs/nrfxlib/bsdlib/CMakeLists.txt:18 (zephyr_link_libraries)
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    CMake Warning at /Users/fukuharayuusuke/Documents/nRF9160/ncs/zephyr/CMakeLists.txt:1372 (message):
      
    
            ------------------------------------------------------------
            --- WARNING:  __ASSERT() statements are globally ENABLED ---
            --- The kernel will run more slowly and use more memory  ---
            ------------------------------------------------------------
    
    
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /Users/fukuharayuusuke/Documents/nRF9160/ncs/nrf/samples/nrf9160/asset_tracker/build
    /Applications/SEGGER Embedded Studio for ARM/bin/ninja_import zephyr/zephyr.elf zephyr/liboffsets.a zephyr/liboutput_lib.a zephyr/libpriv_stacks_output_lib.a zephyr/app_sizing_prebuilt.elf zephyr/zephyr_prebuilt.elf zephyr/zephyr_app_sizing_prebuilt.elf zephyr/priv_stacks_prebuilt.elf
    Project load failed
    Reported error: solution load command failed (-1)
    

  • I followed the "Get Started Assistant" instruction onWindows 10. Then it succeeded.

    Why does it fail only in Mac?

    Loading solution asset_tracker.emProject
    Executing load commands
    cmake -GNinja -DBOARD=nrf9160_pca10090 -DBOARD_DIR=C:/Users/yusuke.fukuhara/Documents/nRF9160/ncs/zephyr/boards/arm/nrf9160_pca10090 -DZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -DGNUARMEMB_TOOLCHAIN_PATH=C:/gnuarmemb -BC:/Users/yusuke.fukuhara/Documents/nRF9160/ncs/nrf/samples/nrf9160/asset_tracker/build -HC:/Users/yusuke.fukuhara/Documents/nRF9160/ncs/nrf/samples/nrf9160/asset_tracker
    -- Found PythonInterp: C:/Python37/python.exe (found suitable version "3.7.2", minimum required is "3.4") 
    -- Selected BOARD nrf9160_pca10090
    Zephyr version: 1.13.99
    Parsing Kconfig tree in C:/Users/yusuke.fukuhara/Documents/nRF9160/ncs/nrf/samples/nrf9160/asset_tracker/Kconfig
    Loading C:/Users/yusuke.fukuhara/Documents/nRF9160/ncs/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090_defconfig as base
    Merging C:/Users/yusuke.fukuhara/Documents/nRF9160/ncs/nrf/samples/nrf9160/asset_tracker/prj.conf
    -- Loading C:/Users/yusuke.fukuhara/Documents/nRF9160/ncs/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090.dts as base
    -- Overlaying C:/Users/yusuke.fukuhara/Documents/nRF9160/ncs/zephyr/dts/common/common.dts
    nrf9160_pca10090.dts_compiled: Warning (unit_address_format): /soc/adc@0x4000e000: unit name should not have leading "0x"
    nrf9160_pca10090.dts_compiled: Warning (unique_unit_address): /soc/uart@40008000: duplicate unit-address (also used in node /soc/i2c@40008000)
    nrf9160_pca10090.dts_compiled: Warning (unique_unit_address): /soc/uart@40009000: duplicate unit-address (also used in node /soc/i2c@40009000)
    nrf9160_pca10090.dts_compiled: Warning (unique_unit_address): /soc/uart@4000a000: duplicate unit-address (also used in node /soc/i2c@4000a000)
    nrf9160_pca10090.dts_compiled: Warning (unique_unit_address): /soc/uart@4000b000: duplicate unit-address (also used in node /soc/i2c@4000b000)
    nrf9160_pca10090.dts_compiled: Warning (unique_unit_address): /soc/uart@40008000: duplicate unit-address (also used in node /soc/spi@40008000)
    nrf9160_pca10090.dts_compiled: Warning (unique_unit_address): /soc/i2c@40008000: duplicate unit-address (also used in node /soc/spi@40008000)
    nrf9160_pca10090.dts_compiled: Warning (unique_unit_address): /soc/uart@40009000: duplicate unit-address (also used in node /soc/spi@40009000)
    nrf9160_pca10090.dts_compiled: Warning (unique_unit_address): /soc/i2c@40009000: duplicate unit-address (also used in node /soc/spi@40009000)
    nrf9160_pca10090.dts_compiled: Warning (unique_unit_address): /soc/uart@4000a000: duplicate unit-address (also used in node /soc/spi@4000a000)
    nrf9160_pca10090.dts_compiled: Warning (unique_unit_address): /soc/i2c@4000a000: duplicate unit-address (also used in node /soc/spi@4000a000)
    nrf9160_pca10090.dts_compiled: Warning (unique_unit_address): /soc/uart@4000b000: duplicate unit-address (also used in node /soc/spi@4000b000)
    nrf9160_pca10090.dts_compiled: Warning (unique_unit_address): /soc/i2c@4000b000: duplicate unit-address (also used in node /soc/spi@4000b000)
    nrf9160_pca10090.dts_compiled: Warning (unique_unit_address): /soc/clock@40005000: duplicate unit-address (also used in node /soc/power@40005000)
    -- Cache files will be written to: C:¥Users¥yusuke.fukuhara¥AppData¥Local/.cache/zephyr
    -- The C compiler identification is GNU 8.2.1
    -- The CXX compiler identification is GNU 8.2.1
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/gnuarmemb/bin/arm-none-eabi-gcc.exe
    -- Performing Test toolchain_is_ok
    -- Performing Test toolchain_is_ok - Success
    CMake Warning (dev) at C:/Users/yusuke.fukuhara/Documents/nRF9160/ncs/zephyr/cmake/extensions.cmake:837 (target_link_libraries):
      Policy CMP0079 is not set: target_link_libraries allows use with targets in
      other directories.  Run "cmake --help-policy CMP0079" for policy details.
      Use the cmake_policy command to set the policy and suppress this warning.
    
      Target
    
        zephyr_interface
    
      is not created in this directory.  For compatibility with older versions of
      CMake, link library
    
        -mabi=aapcs
    
      will be looked up in the directory in which the target was created rather
      than in this calling directory.
    Call Stack (most recent call first):
      C:/Users/yusuke.fukuhara/Documents/nRF9160/ncs/zephyr/cmake/extensions.cmake:1055 (target_link_libraries_ifdef)
      C:/Users/yusuke.fukuhara/Documents/nRF9160/ncs/zephyr/cmake/extensions.cmake:115 (target_ld_options)
      C:/Users/yusuke.fukuhara/Documents/nRF9160/ncs/zephyr/arch/arm/CMakeLists.txt:20 (zephyr_ld_options)
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    CMake Warning (dev) at C:/Users/yusuke.fukuhara/Documents/nRF9160/ncs/zephyr/cmake/extensions.cmake:837 (target_link_libraries):
      Policy CMP0079 is not set: target_link_libraries allows use with targets in
      other directories.  Run "cmake --help-policy CMP0079" for policy details.
      Use the cmake_policy command to set the policy and suppress this warning.
    
      Target
    
        zephyr_interface
    
      is not created in this directory.  For compatibility with older versions of
      CMake, link library
    
        -march=armv8-m.main+dsp
    
      will be looked up in the directory in which the target was created rather
      than in this calling directory.
    Call Stack (most recent call first):
      C:/Users/yusuke.fukuhara/Documents/nRF9160/ncs/zephyr/cmake/extensions.cmake:1055 (target_link_libraries_ifdef)
      C:/Users/yusuke.fukuhara/Documents/nRF9160/ncs/zephyr/cmake/extensions.cmake:115 (target_ld_options)
      C:/Users/yusuke.fukuhara/Documents/nRF9160/ncs/zephyr/arch/arm/CMakeLists.txt:20 (zephyr_ld_options)
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    CMake Warning (dev) at C:/Users/yusuke.fukuhara/Documents/nRF9160/ncs/zephyr/cmake/extensions.cmake:100 (target_link_libraries):
      Policy CMP0079 is not set: target_link_libraries allows use with targets in
      other directories.  Run "cmake --help-policy CMP0079" for policy details.
      Use the cmake_policy command to set the policy and suppress this warning.
    
      Target
    
        zephyr_interface
    
      is not created in this directory.  For compatibility with older versions of
      CMake, link library
    
        m
    
      will be looked up in the directory in which the target was created rather
      than in this calling directory.
    Call Stack (most recent call first):
      C:/Users/yusuke.fukuhara/Documents/nRF9160/ncs/zephyr/lib/libc/newlib/CMakeLists.txt:22 (zephyr_link_libraries)
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    CMake Warning (dev) at C:/Users/yusuke.fukuhara/Documents/nRF9160/ncs/zephyr/cmake/extensions.cmake:100 (target_link_libraries):
      Policy CMP0079 is not set: target_link_libraries allows use with targets in
      other directories.  Run "cmake --help-policy CMP0079" for policy details.
      Use the cmake_policy command to set the policy and suppress this warning.
    
      Target
    
        zephyr_interface
    
      is not created in this directory.  For compatibility with older versions of
      CMake, link library
    
        c
    
      will be looked up in the directory in which the target was created rather
      than in this calling directory.
    Call Stack (most recent call first):
      C:/Users/yusuke.fukuhara/Documents/nRF9160/ncs/zephyr/lib/libc/newlib/CMakeLists.txt:22 (zephyr_link_libraries)
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    CMake Warning (dev) at C:/Users/yusuke.fukuhara/Documents/nRF9160/ncs/zephyr/cmake/extensions.cmake:100 (target_link_libraries):
      Policy CMP0079 is not set: target_link_libraries allows use with targets in
      other directories.  Run "cmake --help-policy CMP0079" for policy details.
      Use the cmake_policy command to set the policy and suppress this warning.
    
      Target
    
        zephyr_interface
    
      is not created in this directory.  For compatibility with older versions of
      CMake, link library
    
        -L"C:/gnuarmemb/arm-none-eabi"/lib/thumb/v8-m.main+fp/hard
    
      will be looked up in the directory in which the target was created rather
      than in this calling directory.
    Call Stack (most recent call first):
      C:/Users/yusuke.fukuhara/Documents/nRF9160/ncs/zephyr/lib/libc/newlib/CMakeLists.txt:22 (zephyr_link_libraries)
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    CMake Warning (dev) at C:/Users/yusuke.fukuhara/Documents/nRF9160/ncs/zephyr/cmake/extensions.cmake:100 (target_link_libraries):
      Policy CMP0079 is not set: target_link_libraries allows use with targets in
      other directories.  Run "cmake --help-policy CMP0079" for policy details.
      Use the cmake_policy command to set the policy and suppress this warning.
    
      Target
    
        zephyr_interface
    
      is not created in this directory.  For compatibility with older versions of
      CMake, link library
    
        $<$<BOOL:y>:-u_printf_float>
    
      will be looked up in the directory in which the target was created rather
      than in this calling directory.
    Call Stack (most recent call first):
      C:/Users/yusuke.fukuhara/Documents/nRF9160/ncs/zephyr/lib/libc/newlib/CMakeLists.txt:22 (zephyr_link_libraries)
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    CMake Warning (dev) at C:/Users/yusuke.fukuhara/Documents/nRF9160/ncs/zephyr/cmake/extensions.cmake:100 (target_link_libraries):
      Policy CMP0079 is not set: target_link_libraries allows use with targets in
      other directories.  Run "cmake --help-policy CMP0079" for policy details.
      Use the cmake_policy command to set the policy and suppress this warning.
    
      Target
    
        zephyr_interface
    
      is not created in this directory.  For compatibility with older versions of
      CMake, link library
    
        $<$<BOOL:>:-u_scanf_float>
    
      will be looked up in the directory in which the target was created rather
      than in this calling directory.
    Call Stack (most recent call first):
      C:/Users/yusuke.fukuhara/Documents/nRF9160/ncs/zephyr/lib/libc/newlib/CMakeLists.txt:22 (zephyr_link_libraries)
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    CMake Warning (dev) at C:/Users/yusuke.fukuhara/Documents/nRF9160/ncs/zephyr/cmake/extensions.cmake:100 (target_link_libraries):
      Policy CMP0079 is not set: target_link_libraries allows use with targets in
      other directories.  Run "cmake --help-policy CMP0079" for policy details.
      Use the cmake_policy command to set the policy and suppress this warning.
    
      Target
    
        zephyr_interface
    
      is not created in this directory.  For compatibility with older versions of
      CMake, link library
    
        gcc
    
      will be looked up in the directory in which the target was created rather
      than in this calling directory.
    Call Stack (most recent call first):
      C:/Users/yusuke.fukuhara/Documents/nRF9160/ncs/zephyr/lib/libc/newlib/CMakeLists.txt:22 (zephyr_link_libraries)
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    CMake Warning (dev) at C:/Users/yusuke.fukuhara/Documents/nRF9160/ncs/zephyr/cmake/extensions.cmake:100 (target_link_libraries):
      Policy CMP0079 is not set: target_link_libraries allows use with targets in
      other directories.  Run "cmake --help-policy CMP0079" for policy details.
      Use the cmake_policy command to set the policy and suppress this warning.
    
      Target
    
        zephyr_interface
    
      is not created in this directory.  For compatibility with older versions of
      CMake, link library
    
        C:/Users/yusuke.fukuhara/Documents/nRF9160/ncs/nrfxlib/bsdlib/lib/cortex-m33/hard-float/libbsd_nrf9160_xxaa.a
    
      will be looked up in the directory in which the target was created rather
      than in this calling directory.
    Call Stack (most recent call first):
      C:/Users/yusuke.fukuhara/Documents/nRF9160/ncs/nrfxlib/bsdlib/CMakeLists.txt:18 (zephyr_link_libraries)
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    CMake Warning (dev) at C:/Users/yusuke.fukuhara/Documents/nRF9160/ncs/zephyr/cmake/extensions.cmake:100 (target_link_libraries):
      Policy CMP0079 is not set: target_link_libraries allows use with targets in
      other directories.  Run "cmake --help-policy CMP0079" for policy details.
      Use the cmake_policy command to set the policy and suppress this warning.
    
      Target
    
        zephyr_interface
    
      is not created in this directory.  For compatibility with older versions of
      CMake, link library
    
        nrfxlib_crypto
    
      will be looked up in the directory in which the target was created rather
      than in this calling directory.
    Call Stack (most recent call first):
      C:/Users/yusuke.fukuhara/Documents/nRF9160/ncs/nrfxlib/bsdlib/CMakeLists.txt:18 (zephyr_link_libraries)
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    CMake Warning (dev) at C:/Users/yusuke.fukuhara/Documents/nRF9160/ncs/zephyr/cmake/extensions.cmake:100 (target_link_libraries):
      Policy CMP0079 is not set: target_link_libraries allows use with targets in
      other directories.  Run "cmake --help-policy CMP0079" for policy details.
      Use the cmake_policy command to set the policy and suppress this warning.
    
      Target
    
        zephyr_interface
    
      is not created in this directory.  For compatibility with older versions of
      CMake, link library
    
        c
    
      will be looked up in the directory in which the target was created rather
      than in this calling directory.
    Call Stack (most recent call first):
      C:/Users/yusuke.fukuhara/Documents/nRF9160/ncs/nrfxlib/bsdlib/CMakeLists.txt:18 (zephyr_link_libraries)
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    CMake Warning at C:/Users/yusuke.fukuhara/Documents/nRF9160/ncs/zephyr/CMakeLists.txt:1372 (message):
      
    
            ------------------------------------------------------------
            --- WARNING:  __ASSERT() statements are globally ENABLED ---
            --- The kernel will run more slowly and use more memory  ---
            ------------------------------------------------------------
    
    
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/Users/yusuke.fukuhara/Documents/nRF9160/ncs/nrf/samples/nrf9160/asset_tracker/build
    C:/Users/yusuke.fukuhara/Documents/arm_segger_embedded_studio_v414_win_x64_nordic/bin/ninja_import zephyr/zephyr.elf zephyr/liboffsets.a zephyr/liboutput_lib.a zephyr/libpriv_stacks_output_lib.a zephyr/app_sizing_prebuilt.elf zephyr/zephyr_prebuilt.elf zephyr/zephyr_app_sizing_prebuilt.elf zephyr/priv_stacks_prebuilt.elf
    Loading solution build.emProject
    Mapping project information
    Mapping project zephyr/zephyr.elf
    Mapping project zephyr/include/generated/offsets.h
    Mapping project zephyr/liboffsets.a
    Mapping project zephyr/include/generated/driver-validation.h
    Mapping project zephyr/include/generated/kobj-types-enum.h
    Mapping project zephyr/include/generated/otype-to-str.h
    Mapping project zephyr/include/generated/syscall_list.h
    Mapping project zephyr/misc/generated/syscalls.json
    Mapping project zephyr/include/generated/syscall_dispatch.c
    Mapping project zephyr/include/generated/syscall_macros.h
    Mapping project zephyr/isr_tables.c
    Mapping project zephyr/zephyr_prebuilt.elf
    Mapping project zephyr/linker.cmd
    Mapping project libapp.a
    Mapping project zephyr/libzephyr.a
    Mapping project zephyr/arch/arm/core/libarch__arm__core.a
    Mapping project zephyr/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a
    Mapping project zephyr/arch/arm/core/cortex_m/mpu/libarch__arm__core__cortex_m__mpu.a
    Mapping project zephyr/lib/libc/newlib/liblib__libc__newlib.a
    Mapping project zephyr/subsys/net/libsubsys__net.a
    Mapping project zephyr/nrf/ext/cjson/lib..__nrf__ext__cjson.a
    Mapping project zephyr/nrf/lib/bsdlib/lib..__nrf__lib__bsdlib.a
    Mapping project zephyr/nrf/lib/gps_sim/lib..__nrf__lib__gps_sim.a
    Mapping project zephyr/nrf/lib/sensor_sim/lib..__nrf__lib__sensor_sim.a
    Mapping project zephyr/nrf/lib/dk_buttons_and_leds/lib..__nrf__lib__dk_buttons_and_leds.a
    Mapping project zephyr/nrf/subsys/net/lib/mqtt_socket/lib..__nrf__subsys__net__lib__mqtt_socket.a
    Mapping project zephyr/nrf/subsys/net/lib/nrf_cloud/lib..__nrf__subsys__net__lib__nrf_cloud.a
    Mapping project zephyr/nrf/drivers/lte_link_control/lib..__nrf__drivers__lte_link_control.a
    Mapping project zephyr/drivers/gpio/libdrivers__gpio.a
    Mapping project zephyr/drivers/serial/libdrivers__serial.a
    Mapping project zephyr/kernel/libkernel.a
    Mapping project zephyr/linker_pass_final.cmd
    Populating dynamic folders
    Populating folder ‘dts files’
    Preparing solution ‘asset_tracker’
    Preparing solution ‘build’
    Preparing project ‘zephyr/zephyr.elf’
    Preparing project ‘libapp.a’
    Preparing project ‘zephyr/libzephyr.a’
    Preparing project ‘zephyr/arch/arm/core/libarch__arm__core.a’
    Preparing project ‘zephyr/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a’
    Preparing project ‘zephyr/arch/arm/core/cortex_m/mpu/libarch__arm__core__cortex_m__mpu.a’
    Preparing project ‘zephyr/lib/libc/newlib/liblib__libc__newlib.a’
    Preparing project ‘zephyr/subsys/net/libsubsys__net.a’
    Preparing project ‘zephyr/nrf/ext/cjson/lib..__nrf__ext__cjson.a’
    Preparing project ‘zephyr/nrf/lib/bsdlib/lib..__nrf__lib__bsdlib.a’
    Preparing project ‘zephyr/nrf/lib/gps_sim/lib..__nrf__lib__gps_sim.a’
    Preparing project ‘zephyr/nrf/lib/sensor_sim/lib..__nrf__lib__sensor_sim.a’
    Preparing project ‘zephyr/nrf/lib/dk_buttons_and_leds/lib..__nrf__lib__dk_buttons_and_leds.a’
    Preparing project ‘zephyr/nrf/subsys/net/lib/mqtt_socket/lib..__nrf__subsys__net__lib__mqtt_socket.a’
    Preparing project ‘zephyr/nrf/subsys/net/lib/nrf_cloud/lib..__nrf__subsys__net__lib__nrf_cloud.a’
    Preparing project ‘zephyr/nrf/drivers/lte_link_control/lib..__nrf__drivers__lte_link_control.a’
    Preparing project ‘zephyr/drivers/gpio/libdrivers__gpio.a’
    Preparing project ‘zephyr/drivers/serial/libdrivers__serial.a’
    Preparing project ‘zephyr/kernel/libkernel.a’
    Restoring state from previous session
    Preparing to load data
    Loading session data from file
    SEGGER Embedded Studio is ready to use
    

  • OK. I figured out. 

    I changed the folder name.

    before: /Applications/SEGGER Embedded Studio for ARM/SEGGER Embedded Studio for ARM 4.14.app

    after: /Applications/SEGGER_Embedded_Studio_for_ARM/SEGGER Embedded Studio for ARM 4.14.app

Related