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

SEGGER emStudio build project failure

Hi,

After trying to work out why one of our nrf9160 DK:s cannot execute any AT commands using the at_client sample I tried redoing the getting started guide to make sure it is purely a problem with the board. After doing that SEGGER emStudio stopped working and when I try to build a project I get the following error:

This is the same for all samples and I can't figure out why, how can I fix this?

Kind regards 

Samuel

Parents Reply
  • After checking and verifying my variables and changing my folder name for my new install it works. When running cmake it was looking for files in a path that didn't exist anymore (It did not look in the path specified in the variables for some reason but got the old path). So I just renamed my folder to the old name.

    Anyway it works now, thank you for your help!

Children
  • Hi Samuel,

    I am getting the same error as you were getting. I dint install it twice. so i dont think it has anything to do with the folder names. 

    C:\Users\jnai\OneDrive\Documents\MyScripts\Nordic_NBIot\ncs\nrf\samples\nrf9160\spm\build>cmake -DBOARD=nrf9160_pca10090 -GNinja ..
    -- Using application from 'C:/Users/jnai/OneDrive/Documents/MyScripts/Nordic_NBIot/ncs/nrf/samples/nrf9160/spm'
    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:/Python37/Scripts/west.exe (found suitable version "0.5.8", minimum required is "0.5.6")
    -- Cache files will be written to: C:\Users\jnai\AppData\Local/.cache/zephyr
    -- Loading C:/Users/jnai/OneDrive/Documents/MyScripts/Nordic_NBIot/ncs/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090.dts as base
    -- Overlaying C:/Users/jnai/OneDrive/Documents/MyScripts/Nordic_NBIot/ncs/zephyr//dts/common/common.dts
    -- Overlaying C:/Users/jnai/OneDrive
    -- Overlaying -
    -- Overlaying /Documents/MyScripts/Nordic_NBIot/ncs/nrf/samples/nrf9160/spm/nrf9160_pca10090.overlay
    arm-none-eabi-gcc.exe: error: CreateProcess: No such file or directory
    CMake Error at C:/Users/jnai/OneDrive/Documents/MyScripts/Nordic_NBIot/ncs/zephyr/cmake/dts.cmake:94 (message):
    command failed with return code: 1
    Call Stack (most recent call first):
    C:/Users/jnai/OneDrive/Documents/MyScripts)/Nordic_NBIot/ncs/zephyr/cmake/app/boilerplate.cmake:486 (include)
    CMakeLists.txt:3 (include)


    -- Configuring incomplete, errors occurred!

    I was not able to do   git checkout c1939d963fe2c18013ffb8de0bd8f6fc1d91724d

    error: The following untracked working tree files would be overwritten by checkout:

    The process was getting aborted.

    Can you please suggest how to fix this? Thanks in advance!

  • Hi JNair

    I am not sure about how to fix you problem since I am pretty new here. But you could try doing as Gurkan suggested a few messages above by running "zephyr-env.cmd" in the zephyr folder to set you variables and try again. Since it seems to be some sort of variable problem from what I can tell.

    /Samuel

  • /Documents/MyScripts/Nordic_NBIot/ncs/nrf/samples/nrf9160/spm/nrf9160_pca10090.overlay
    arm-none-eabi-gcc.exe: error: CreateProcess: No such file or directory

    Looks like it could not find gnu tool chain.
    I'd suggest to simply your folder location, just do a clear installation from scratch and use;
    for gnu toolchain -> c:\gnuarmemb
    For nordic sdk -> c:\nordic\ncs.

  • Thanks Gurkan for the help. I will try doing that.

  • Thanks Samuel. Will try installing it from scratch and try again.

Related