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

Build nRF9160 samples failure

Shalom!

 Using Window 10 Home, from nRF Connect v3.6.1, I installed the nRF Connect SDK v1.5.1. Previous I also tried to install it by the Getting Started assistant until I saw it was mark legacy.

I tried from SES to open nRFConnect SDK project but the conversion importing to SES failed "FATAL ERROR: no west workspace". I ran west init & west update in the ncs folder and now I get a different error message (undefined symbols). I have been trying to get a sample to build so I can use it as a base for my project for some days without success.

I had also tried using the manual installation but never succeeded in compiling anything from the command line.

Help is much needed.

Thanks

 David

Creating solution serial_lte_modem.emProject
  E:/Nordic/ncs/v1.5.1/toolchain/opt/bin/cmake.exe -GNinja -DBOARD=nrf9160dk_nrf9160ns -DBOARD_DIR=E:\Nordic\ncs\zephyr\boards\arm\nrf9160dk_nrf9160 -BE:\Nordic\ncs\nrf\applications\serial_lte_modem\build_nrf9160dk_nrf9160ns -SE:\Nordic\ncs\nrf\applications\serial_lte_modem -DNCS_TOOLCHAIN_VERSION=1.5.1 -DDTC_OVERLAY_FILE=E:\Nordic\ncs\nrf\applications\serial_lte_modem/nrf9160dk_nrf9160ns.overlay -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=E:\Nordic\ncs\v1.5.1\toolchain\segger_embedded_studio/html/configure_nordic_project_menuconfig.py
  -- Application: E:/Nordic/ncs/nrf/applications/serial_lte_modem
  -- Zephyr version: 2.4.99 (E:/Nordic/ncs/zephyr)
  -- Found Python3: E:/Nordic/ncs/v1.5.1/toolchain/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter
  -- Found west (found suitable version "0.9.0", minimum required is "0.7.1")
  -- Board: nrf9160dk_nrf9160ns, Revision: 0.7.0
  -- Cache files will be written to: E:/Nordic/ncs/zephyr/.cache
  -- Found dtc: E:/Nordic/ncs/v1.5.1/toolchain/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
  -- Found toolchain: gnuarmemb (E:/Nordic/ncs/v1.5.1/toolchain/opt)
  -- Found BOARD.dts: E:/Nordic/ncs/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160ns.dts
  -- Found devicetree overlay: E:/Nordic/ncs/nrf/applications/serial_lte_modem/nrf9160dk_nrf9160ns.overlay
  -- Generated zephyr.dts: E:/Nordic/ncs/nrf/applications/serial_lte_modem/build_nrf9160dk_nrf9160ns/zephyr/zephyr.dts
  -- Generated devicetree_unfixed.h: E:/Nordic/ncs/nrf/applications/serial_lte_modem/build_nrf9160dk_nrf9160ns/zephyr/include/generated/devicetree_unfixed.h
  -- Generated device_extern.h: E:/Nordic/ncs/nrf/applications/serial_lte_modem/build_nrf9160dk_nrf9160ns/zephyr/include/generated/device_extern.h
  Parsing E:/Nordic/ncs/nrf/applications/serial_lte_modem/Kconfig
  Loaded configuration 'E:/Nordic/ncs/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160ns_defconfig'
  Merged configuration 'E:/Nordic/ncs/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160ns_0_7_0.conf'
  Merged configuration 'E:/Nordic/ncs/nrf/applications/serial_lte_modem/prj.conf'
  -- Configuring incomplete, errors occurred!
  Including boilerplate (Zephyr base): E:/Nordic/ncs/zephyr/cmake/app/boilerplate.cmake
  -- Using NCS Toolchain 1.5.1 for building. (E:/Nordic/ncs/v1.5.1/toolchain/cmake)
 
  E:/Nordic/ncs/nrf/applications/serial_lte_modem/prj.conf:27: warning: attempt to assign the value 'y' to the undefined symbol NRF_MODEM_LIB
 
  E:/Nordic/ncs/nrf/applications/serial_lte_modem/prj.conf:44: warning: attempt to assign the value 'y' to the undefined symbol LTE_LINK_CONTROL
 
  E:/Nordic/ncs/nrf/applications/serial_lte_modem/prj.conf:45: warning: attempt to assign the value 'n' to the undefined symbol LTE_AUTO_INIT_AND_CONNECT
 
  E:/Nordic/ncs/nrf/applications/serial_lte_modem/prj.conf:64: warning: attempt to assign the value 'y' to the undefined symbol FOTA_DOWNLOAD
 
  E:/Nordic/ncs/nrf/applications/serial_lte_modem/prj.conf:65: warning: attempt to assign the value 'y' to the undefined symbol FOTA_DOWNLOAD_PROGRESS_EVT
 
  E:/Nordic/ncs/nrf/applications/serial_lte_modem/prj.conf:66: warning: attempt to assign the value 'y' to the undefined symbol DFU_TARGET
 
  E:/Nordic/ncs/nrf/applications/serial_lte_modem/prj.conf:67: warning: attempt to assign the value 'y' to the undefined symbol DOWNLOAD_CLIENT
 
  E:/Nordic/ncs/nrf/applications/serial_lte_modem/prj.conf:68: warning: attempt to assign the value '4096' to the undefined symbol DOWNLOAD_CLIENT_STACK_SIZE
 
  error: Aborting due to Kconfig warnings
 
  CMake Error at E:/Nordic/ncs/zephyr/cmake/kconfig.cmake:262 (message):
    command failed with return code: 1
  Call Stack (most recent call first):
    E:/Nordic/ncs/zephyr/cmake/app/boilerplate.cmake:534 (include)
    E:/Nordic/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
    E:/Nordic/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate)
    CMakeLists.txt:9 (find_package)
 
 
 
  error: cmake failed
  create_nordic_project.py failed (1)

Parents Reply Children
No Data
Related