Hi all,
I'm trying to evaluate nRF Connect SDK, starting with guide in nRF Getting Started Assistant app. So far I've executed every step, but when I try to open the project using Nordic version of Segger Embedded Studio, project isn't successfully created.
My settings for opening the project:
CMakeLists.txt: E:/Programming/Embedded/nRF/nRF_Connect_SDK/ncs/nrf/applications/asset_tracker/CMakeLists.txt
Board Directory: E:/Programming/Embedded/nRF/nRF_Connect_SDK/ncs/zephyr/boards/arm/nrf9160_pca10090
Board Name: nrf9160_pca10090_ns
Build Directory: E:/Programming/Embedded/nRF/nRF_Connect_SDK/ncs/nrf/applications/asset_tracker/build_nrf9160_pca10090ns
At the beginning there is this Javascript alert:
Here is my IDE log:
Loading solution asset_tracker.emProject Executing load commands cmake -GNinja -DBOARD=nrf9160_pca10090ns -DBOARD_DIR=E:/Programming/Embedded/nRF/nRF_Connect_SDK/ncs/zephyr/boards/arm/nrf9160_pca10090 -DZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -DGNUARMEMB_TOOLCHAIN_PATH=D:/Software/Chocolatey/lib/gcc-arm-embedded/tools -BE:/Programming/Embedded/nRF/nRF_Connect_SDK/ncs/nrf/applications/asset_tracker/build_nrf9160_pca10090ns -HE:/Programming/Embedded/nRF/nRF_Connect_SDK/ncs/nrf/applications/asset_tracker -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=D:/Software/Segger/Segger Embedded Studio Nordic v420a/html/configure_nordic_project_menuconfig.py -- Using application from 'E:/Programming/Embedded/nRF/nRF_Connect_SDK/ncs/nrf/applications/asset_tracker' Zephyr version: 1.14.99 -- Selected BOARD nrf9160_pca10090ns -- Found west: D:/Software/Tools/Anaconda2/envs/python3/Scripts/west.exe (found suitable version "0.6.1", minimum required is "0.6.0") -- Cache files will be written to: C:\Users\User\AppData\Local/.cache/zephyr USING OUT OF TREE BOARD -- Loading E:/Programming/Embedded/nRF/nRF_Connect_SDK/ncs/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090ns.dts as base -- Overlaying E:/Programming/Embedded/nRF/nRF_Connect_SDK/ncs/zephyr/dts/common/common.dts Device tree configuration written to E:/Programming/Embedded/nRF/nRF_Connect_SDK/ncs/nrf/applications/asset_tracker/build_nrf9160_pca10090ns/zephyr/include/generated/generated_dts_board.conf Parsing Kconfig tree in E:/Programming/Embedded/nRF/nRF_Connect_SDK/ncs/nrf/applications/asset_tracker/Kconfig Loaded configuration 'E:/Programming/Embedded/nRF/nRF_Connect_SDK/ncs/nrf/applications/asset_tracker/build_nrf9160_pca10090ns/zephyr/.config' No change to 'E:/Programming/Embedded/nRF/nRF_Connect_SDK/ncs/nrf/applications/asset_tracker/build_nrf9160_pca10090ns/zephyr/.config' Including module: nrf in path: E:\Programming\Embedded\nRF\nRF_Connect_SDK\ncs\nrf -- Using application from 'E:/Programming/Embedded/nRF/nRF_Connect_SDK/ncs/nrf/samples/nrf9160/spm' Zephyr version: 1.14.99 Changed board to secure nrf9160_pca10090 (NOT NS) USING OUT OF TREE BOARD -- Loading E:/Programming/Embedded/nRF/nRF_Connect_SDK/ncs/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090.dts as base -- Overlaying E:/Programming/Embedded/nRF/nRF_Connect_SDK/ncs/zephyr/dts/common/common.dts -- Overlaying E:/Programming/Embedded/nRF/nRF_Connect_SDK/ncs/nrf/samples/nrf9160/spm/nrf9160_pca10090.overlay Device tree configuration written to E:/Programming/Embedded/nRF/nRF_Connect_SDK/ncs/nrf/applications/asset_tracker/build_nrf9160_pca10090ns/spm/zephyr/include/generated/generated_dts_board.conf Parsing Kconfig tree in E:/Programming/Embedded/nRF/nRF_Connect_SDK/ncs/zephyr/Kconfig Loaded configuration 'E:/Programming/Embedded/nRF/nRF_Connect_SDK/ncs/nrf/applications/asset_tracker/build_nrf9160_pca10090ns/spm/zephyr/.config' No change to 'E:/Programming/Embedded/nRF/nRF_Connect_SDK/ncs/nrf/applications/asset_tracker/build_nrf9160_pca10090ns/spm/zephyr/.config' Including module: nrf in path: E:\Programming\Embedded\nRF\nRF_Connect_SDK\ncs\nrf Including module: nffs in path: E:\Programming\Embedded\nRF\nRF_Connect_SDK\ncs\modules\fs\nffs Including module: segger in path: E:\Programming\Embedded\nRF\nRF_Connect_SDK\ncs\modules\debug\segger Including module: mcuboot in path: E:\Programming\Embedded\nRF\nRF_Connect_SDK\ncs\mcuboot\zephyr Including module: mcumgr in path: E:\Programming\Embedded\nRF\nRF_Connect_SDK\ncs\modules\lib\mcumgr Including module: tinycbor in path: E:\Programming\Embedded\nRF\nRF_Connect_SDK\ncs\modules\lib\tinycbor Including module: nrfxlib in path: E:\Programming\Embedded\nRF\nRF_Connect_SDK\ncs\nrfxlib FATAL ERROR: Unknown project name/path: mbedtls-nrf (use "west list" to list all projects) CMake Error at E:/Programming/Embedded/nRF/nRF_Connect_SDK/ncs/nrfxlib/nrf_security/CMakeLists.txt:31 (message): Failed to find mbedtls, cannot build security libraries -- Configuring incomplete, errors occurred! See also "E:/Programming/Embedded/nRF/nRF_Connect_SDK/ncs/nrf/applications/asset_tracker/build_nrf9160_pca10090ns/CMakeFiles/CMakeOutput.log". See also "E:/Programming/Embedded/nRF/nRF_Connect_SDK/ncs/nrf/applications/asset_tracker/build_nrf9160_pca10090ns/CMakeFiles/CMakeError.log". Project load failed Reported error: solution load command failed (1)
Here is my CMakeError.log:
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. Compiler: D:/Software/Chocolatey/lib/gcc-arm-embedded/tools/bin/arm-none-eabi-gcc.exe Build flags: Id flags: The output was: 1 d:/software/chocolatey/lib/gcc-arm-embedded/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib\libc.a(lib_a-exit.o): In function `exit': exit.c:(.text.exit+0x2c): undefined reference to `_exit' collect2.exe: error: ld returned 1 exit status Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: D:/Software/Chocolatey/lib/gcc-arm-embedded/tools/bin/arm-none-eabi-gcc.exe Build flags: Id flags: The output was: 1 d:/software/chocolatey/lib/gcc-arm-embedded/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib\libc.a(lib_a-exit.o): In function `exit': exit.c:(.text.exit+0x2c): undefined reference to `_exit' collect2.exe: error: ld returned 1 exit status