Zephyr: Setup the command line build environment

Hi,

Zephyr project compiling and working fine with Visual Studio Code running in Windows machine. Now I want to do command line compile etc.

https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/installation/installing.html#set-up-the-command-line-build-environment

- v2.4.2 used, zephyr 3.3.99, CMake version: 3.20.5
zephyr\zephyr-env.cmd does nothing
- zephyrrc.cmd called by zephyr-env.cmd does not found anywhere

Basically I would like to run similar command what visual code does, for example this:
C:\Windows\system32\cmd.exe /d /s /c "west build --build-dir c:/work/<myproj>/build c:/work/<myproj>"
but west not found:

I know Python executable and west script(s) are located in  C:\<ncs>\toolchains\31f4403e35\opt\bin, but how to setup command line (in Windows) to make this work ok.

Br Vesa

Related