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

Updated toolchain installation walk-through.. no steps left out

Hello, I'm trying to install the toolchain for the nRF9160.  I have the nRF9160 DK.   I installed Segger Embedded Studio for the nRF9160. 

I was able to install nRF Connect v3.4.1.   Under Toolchain Manager, I show 4 choices.  I installed the top one thinking it must be the newest.  nRF Connect SDK v1.3.0, and I see the "First steps to build" button.   

Under steps 3, I have no zephyr folder.  

Backing out to the "Getting Started Assistant" it warns not to use this tool, but rather go to the Toolchain Manager which is a dead-end.  

I also looked at the Youtube videos on the toolchain.   These were dated 2019, and are obsolete.   

Is there an updated step-by-step to follow to install the entire nRF9160 toolchain on a Windows 10 laptop?

Thanks, 
Bob 

Parents
  • This comes close.  
    https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_installing.html

    I made it through this page and on the next page "Building and programming a sample application",  in the section "Building on the command line",  I type 

    west build -b nrf9160dk_nrf52840

    and I can't get past this. 

    I'm getting closer !!  

    c:\Users\rsorr\ncs\nrf\samples\nrf9160\at_client>west build -b nrf9160dk_nrf52840
    -- west build: generating a build system
    Including boilerplate (Zephyr base (cached)): C:/Users/rsorr/ncs/zephyr/cmake/app/boilerplate.cmake
    -- Application: C:/Users/rsorr/ncs/nrf/samples/nrf9160/at_client
    -- Zephyr version: 2.3.0-rc1 (C:/Users/rsorr/ncs/zephyr)
    -- Board: nrf9160dk_nrf52840
    -- Found west: C:/Python38/Scripts/west.exe (found suitable version "0.7.2", minimum required is "0.7.1")
    CMake Error at C:/Users/rsorr/ncs/zephyr/cmake/generic_toolchain.cmake:64 (include):
    include could not find load file:

    C:/Users/rsorr/ncs/zephyr/cmake/toolchain//generic.cmake
    Call Stack (most recent call first):
    C:/Users/rsorr/ncs/zephyr/cmake/app/boilerplate.cmake:504 (include)
    C:/Users/rsorr/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
    C:/Users/rsorr/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:40 (include_boilerplate)
    CMakeLists.txt:9 (find_package)


    -- Found BOARD.dts: C:/Users/rsorr/ncs/zephyr/boards/arm/nrf9160dk_nrf52840/nrf9160dk_nrf52840.dts
    CMake Error at C:/Users/rsorr/ncs/zephyr/cmake/dts.cmake:146 (message):
    command failed with return code: The system cannot find the file specified
    Call Stack (most recent call first):
    C:/Users/rsorr/ncs/zephyr/cmake/app/boilerplate.cmake:505 (include)
    C:/Users/rsorr/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
    C:/Users/rsorr/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:40 (include_boilerplate)
    CMakeLists.txt:9 (find_package)


    -- Configuring incomplete, errors occurred!
    FATAL ERROR: command exited with status 1: 'C:\Program Files\CMake\bin\cmake.EXE' '-Bc:\Users\rsorr\ncs\nrf\samples\nrf9160\at_client\build' '-SC:\Users\rsorr\ncs\nrf\samples\nrf9160\at_client' -GNinja

  • I had this error as well. I have manually configured SDK and tool chain.

    I did not have "ZEPHYR_TOOLCHAIN_VARIANT" and "GNUARMEMB_TOOLCHAIN_PATH" set.

Reply Children
No Data
Related