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

SES V416 Open SDK project

Hi there,

I have just upgraded the SES to V4.16 and followed the assistant guide in nRF Connect. I have deleted the old ncs folder (and all files) and also created a new one according to the quick start assistant. But I seemed I could not load the SDK project any more. Could you please help to check and advice. Thanks.

For asset_tracker app, I could not find the CMakeLists.txt. And I could not also see the secure boot app in the latest update... Not too sure if I missed any step. Thanks.

Loading solution at_client.emProject
Executing load commands
cmake -GNinja -DBOARD=nrf9160_pca10090 -DBOARD_DIR=C:/ncs/zephyr/boards/arm/nrf9160_pca10090 -DZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -DGNUARMEMB_TOOLCHAIN_PATH=C:/gnuarmemb -BC:/ncs/nrf/samples/nrf9160/at_client/build -HC:/ncs/nrf/samples/nrf9160/at_client -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=C:/arm_segger_embedded_studio_v416_win_x64_nordic/html/configure_nordic_project_menuconfig.py
-- Using application from 'C:/ncs/nrf/samples/nrf9160/at_client'
Zephyr version: 1.14.0
-- Found PythonInterp: C:/Users/A86238/AppData/Local/Programs/Python/Python37-32/python.exe (found suitable version "3.7.2", minimum required is "3.4") 
-- Selected BOARD nrf9160_pca10090
-- Found west: C:/Users/A86238/AppData/Local/Programs/Python/Python37-32/Scripts/west.exe (found suitable version "0.5.8", minimum required is "0.5.6")
-- Cache files will be written to: C:\Users\A86238\AppData\Local/.cache/zephyr
-- Loading C:/ncs/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090.dts as base
-- Overlaying C:/ncs/zephyr/dts/common/common.dts

C:/ncs/nrf/samples/nrf9160/at_client/prj.conf:11: warning: attempt to assign the value 'y' to the undefined symbol BSD_LIBRARY

C:/ncs/nrf/samples/nrf9160/at_client/prj.conf:14: warning: attempt to assign the value 'y' to the undefined symbol AT_HOST_LIBRARY
Parsing Kconfig tree in C:/ncs/zephyr/Kconfig
Loading C:/ncs/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090_defconfig as base
Merging C:/ncs/nrf/samples/nrf9160/at_client/prj.conf

Error: Aborting due to non-whitelisted Kconfig warning
'C:/ncs/nrf/samples/nrf9160/at_client/prj.conf:11: warning: attempt to assign the value 'y' to the
undefined symbol BSD_LIBRARY'. Note: If this warning doesn't point to an actual problem, you can add
it to the whitelist at the top of C:/ncs/zephyr/scripts/kconfig/kconfig.py.

CMake Error at C:/ncs/zephyr/cmake/kconfig.cmake:191 (message):
  command failed with return code: 1
Call Stack (most recent call first):
  C:/ncs/zephyr/cmake/app/boilerplate.cmake:487 (include)
  CMakeLists.txt:9 (include)


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

  • I have reinstalled/upgraded the python and some other tools and got the updated message below now... Thanks.

    Loading solution asset_tracker.emProject
    Executing load commands
    cmake -GNinja -DBOARD=nrf9160_pca10090 -DBOARD_DIR=C:/ncs/zephyr/boards/arm/nrf9160_pca10090 -DZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -DGNUARMEMB_TOOLCHAIN_PATH=C:/gnuarmemb -BC:/ncs/nrf/applications/asset_tracker/build -HC:/ncs/nrf/applications/asset_tracker -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=C:/arm_segger_embedded_studio_v416_win_x64_nordic/html/configure_nordic_project_menuconfig.py
    -- Using application from 'C:/ncs/nrf/applications/asset_tracker'
    Zephyr version: 1.14.0
    -- Found PythonInterp: C:/Python37/python.exe (found suitable version "3.7.3", minimum required is "3.4") 
    -- Selected BOARD nrf9160_pca10090
    -- Found west: C:/Users/A86238/AppData/Local/Programs/Python/Python37-32/Scripts/west.exe (found suitable version "0.5.8", minimum required is "0.5.6")
    CMake Error at C:/ncs/zephyr/cmake/zephyr_module.cmake:38 (message):
      Traceback (most recent call last):
    
        File "C:/ncs/zephyr/scripts/zephyr_module.py", line 18, in <module>
          import yaml
    
      ModuleNotFoundError: No module named 'yaml'
    
    Call Stack (most recent call first):
      C:/ncs/zephyr/cmake/app/boilerplate.cmake:240 (include)
      CMakeLists.txt:11 (include)
    
    
    -- Configuring incomplete, errors occurred!
    Project load failed
    Reported error: solution load command failed (1)
    

  • All right. The issue has been solved. Something I had tried below (in sequence). Hope this helps.

    Run cmd as admin,

    pip install pyyaml
    pip install pykwalify

    Please try to install Build Tools for Visual Studio 2017, select the workload “Visual C++ build tools” and check the options "C++/CLI support" and "VC++ 2015.3 v14.00 (v140) toolset for desktop". This step is for Win10 OS.

    https://visualstudio.microsoft.com/downloads/


    pip install numpy
    pip install elftools
    or pip3 install pyelftools

    cd ~ncs
    cd nrf
    git checkout 08b3d50860633bfc56107f7f9b61106c6087e70b
    west update

    when loading the SDK project, use rf9160_pca10090ns for the board name instead

    I am not an expert on this platform. Hope someone could explain which steps are the keys. Thanks.

  • I would like to add that this solution worked for me with python v3.7.5

Related