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

Questions regarding : nRF Connect SDK Tutorial - Part 2

Hello,

I started following the tutorials in the devzone blog and was really helpful to understand the logic behind the ncs. I got stuck in some issues and would like some help please!

In part 2

2.1.2 User workflow - Application as the manifest repository

When running west update I get the following error

 

My project_hello is outside the ncs folder ofcourse! I tried to find this error but with no luck ! I attached the project to checkout it out, maybe I missed something

project_hello.zip

Thank you for your help in davance :)

Parents Reply Children
  • Thank you Simon for your reply. 

    I reinstalled nRF connect SDK v1.2.0 using the new tool  "Toolchain Manager".

    I removed the old sdk  and  gnuarmemb folders and paths before.

    I started from scratch and now I'm in 2. Set up a project (before starting managing my projest with west). I am able to build the project using segger embedded studio but got errors using west build as shown below:

    west build -b nrf9160_pca10090ns -d build_nrf9160_pca10090ns
    -- west build: build configuration:
           source directory: D:\DEV\Phantomtracker\software\my_projects\project_hello\hello_world
           build directory: D:\DEV\Phantomtracker\software\my_projects\project_hello\hello_world\build_nrf9160_pca10090ns
           BOARD: nrf9160_pca10090ns (origin: command line)
    -- west build: generating a build system
    -- Zephyr version: 2.1.99
    -- Selected BOARD nrf9160_pca10090ns
    -- Found west: C:/Python38/Scripts/west.exe (found suitable version "0.6.3", minimum required is "0.6.0")
    CMake Error at D:/DEV/nRF/ncs/v1.2.0/zephyr/cmake/host-tools.cmake:83 (message):
      Unable to find gperf
    Call Stack (most recent call first):
      D:/DEV/nRF/ncs/v1.2.0/zephyr/cmake/app/boilerplate.cmake:443 (include)
      CMakeLists.txt:3 (include)
    
    
    -- Configuring incomplete, errors occurred!
    ERROR: command exited with status 1: 'C:\Program Files\CMake\bin\cmake.EXE' '-BD:\DEV\Phantomtracker\software\my_projects\project_hello\hello_world\build_nrf9160_pca10090ns' '-SD:\DEV\Phantomtracker\software\my_projects\project_hello\hello_world' -GNinja -DBOARD=nrf9160_pca10090ns

    I have the project forlder outside ncs, so I tried setting the following

    set ZEPHYR_TOOLCHAIN_VARIANT="gnuarmemb"
    set GNUARMEMB_TOOLCHAIN_PATH=D:\DEV\nRF\ncs\v1.2.0\toolchain\opt

    but no luck.

    I have 

    West version: v0.6.3
    Python 3.8.1

    I prefer using the command line, it's much simpler.

    any ideas why I'm having this errors !

    Regars,

    Hicham

  • I have manager to reinstall nrf connect sdk manually and follow the tutorial with no issue.

    thank you simon for the great tutorial

Related