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
  • Hello, 

    The Toolchain Manager is not designed to run nRF Connect SDK v1.9.99-dev1 out of the box. You will need to install nRF Connect SDK manually in order for this to work.

    Kind regards,
    Øyvind

  • Hi,

    i've copy toolchain folder from v1.9.1.

    and config

    and now i've manually install.

    >set GNUARMEMB_TOOLCHAIN_PATH=C:\gnuarmemb\

    i don't know,why VSCode still need  find tool in v1.9.1 folder.

      

    Best regards

  • 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. 

  • Hi,

    Generate Support Information:

    why toolchains still point 1.9.1 folder? where to change it?

      

    thanks

    Best regards

Reply Children
  • Please provide the output as a text file and not as screenshot.

    yoyou said:
    why toolchains still point 1.9.1 folder? where to change it?

    I am very confused. Are you trying to do git pull to the v1.9.99-dev1 folder that you initialized with west init? You are supposed to update within v1.9.1 folder if installed using Toolchain Manager. 


    If not, please manually install the nRF Connect SDK following manual steps.

Related