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

nRF9160 Zephyr updates

Hi

I have tried to pull down the updates for the Zephyr project to for the mqtt_simple example.  when I do a git checkout master and a git pull all goes fine.  but when I try to compile or flash the boards I get errors.

example

C:\sdk\ncs\zephyr\samples\basic\blinky\build>ninja flash
[0/1] Flashing nrf9160_pca10090
C:/Python37/python.exe: can't open file '/sdk/ncs/zephyr/.west/west/src/west/main.py': [Errno 2] No such file or directory
FAILED: zephyr/cmake/flash/CMakeFiles/flash
cmd.exe /C "cd /D C:\sdk\ncs\zephyr\samples\basic\blinky\build && "C:\Program Files\CMake\bin\cmake.exe" -E env PYTHONPATH=/sdk/ncs/zephyr/.west/west/src C:/Python37/python.exe /sdk/ncs/zephyr/.west/west/src/west/main.py "--zephyr-base=C:\sdk\ncs\zephyr\ " flash --skip-rebuild"
ninja: build stopped: subcommand failed.

Parents
  • Hi,

    We have just merged a pull request that switches the downstream NCS trees to west, see this link.

    Please see this page on how to install west. In short, you will need to run:

    # Linux
    pip3 install --user west
    
    # macOS and Windows
    pip3 install west

    You should then change into your ncs/folder (the one that contains the zephyr, nrf, mcuboot, and nrfxlib folders) and run:

    west init -l nrf/

    Once that is done you can run:

     west update

Reply
  • Hi,

    We have just merged a pull request that switches the downstream NCS trees to west, see this link.

    Please see this page on how to install west. In short, you will need to run:

    # Linux
    pip3 install --user west
    
    # macOS and Windows
    pip3 install west

    You should then change into your ncs/folder (the one that contains the zephyr, nrf, mcuboot, and nrfxlib folders) and run:

    west init -l nrf/

    Once that is done you can run:

     west update

Children
Related