jaredwolff
Running env.cmd in VSC terminal doesn’t work.
.\env.cmd
runs but PowerShell ignores the setting, when you ls env: none ot the nRF environment is setup
Running west from VSC terminal without setting the environment:
PS D:\ncs\v1.4.1\toolchain\cmd> west –version
west : The term ‘west’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is
correct and try again.
At line:1 char:1
- west –version
- ~~~~
- + CategoryInfo : ObjectNotFound: (west:String) [], CommandNotFoundException
- + FullyQualifiedErrorId : CommandNotFoundException
After running env.cmd then code .
PS D:\ncs\v1.4.1> west –version
West version: v0.7.2
PS D:\ncs\v1.4.1>
ls env:
Path D:\ncs\v1.4.1\toolchain;D:\ncs\v1.4.1\toolchain\mingw64\bin;D:\ncs\v1.4.1\toolchain\opt\bin;D:\ncs\v1.4.1\toolchain\opt\bin\Scripts;D:\ncs\v1.4.1\toolchain\segger_e…