This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

VSCode update NCS

Hello,

VSCode,  i change NCS1.9.1 to v1.9.99,

restart computer,but got error:

OUTPUT can not use compilerPath“D:\Program\v1.9.1\toolchain\opt\bin\arm-none-eabi-gcc.exe”

TERMINAL CMake Error: Generator: execution of make failed. Make command was: D:/Program/v1.9.1/toolchain/opt/bin/ninja.exe && 

 

  

  

Best regards

Parents Reply Children
  • This should be possible to do.

    Can you try to point to the toolchain folder to the one in the v1.9.1 folder i.e. D:\Program\v1.9.1? (Without moving toolchain folder)

  • Hi,

    whether point to any where in VSCode, it in fact point to  the v1.9.1 folder.

    just don't delete the v1.9.1 folder,  it work well,

    but i want to delete it, it will look simpler.

    and I want to know where the setting still points to it (outside vscode).

      

    thanks

    Best regards

  • Can you please provide support information via VS Code Command Pallette: nRF Connect: Generate Support Information? 

    You can install 1.9.99-dev1 via the Toolchain Manager using bash or command prompt in the drop down menu:

    In the command prompt navigate to the nrf folder and run the following:

    git pull
    git checkout v1.9.99-dev1
    west update

    This should provide correct settings for v1.9.99-dev1 in the v1.9.1 folder. Now you can point to the correct toolchain folder e.g.

  • Hi,

    where to find Generate Support Information?

    command prompt in the drop down menu

    in fact,i've set it.

       

    Can't find the real reason.

      

    Best regards

  • Hello,

    The VS Code Command Palette is available via top menu View --> Command Palette or hot keys CTRL+SHIFT+P.

    Øyvind said:
    In the command prompt navigate to the nrf folder and run the following:

    As per my last comment, please navigate to your nrf folder.

    yoyou said:
    but i want to delete it, it will look simpler.

    When using the Toolchain Manager, you are not able to delete the nRF Connect SDK v1.9.1 folder as this is needed to use 1.9.99-dev1. Note that when you update v1.9.1 folder as described above, the toolchain folder will be correct. 

Related