nRF connect for VS code: Invalid toolchain installation

Hi, I try to install nRF connect for VS Code on Ubuntu 20.04 LTS according to the installation guidelines. When I want to set the SDK and toolchain path in the quick setup I always get the same error message (see screenshot).

I had the same problem before when trying it on Ubuntu 22.04 with a manual nRF connect SDK installation.

any suggestions how to fix it?

Parents
  • I have the same issue. I have the three executables in "/opt/nrf-command-line-tools/bin" and I added that into PATH before executing 'code'

    * First when I just specify PATH, I will get the nrfjprog error that the OP reported.

    * But when I specify, "/opt/nrf-command-line-tools/bin" the "nrfjprog is required" error disappears and it only says, "Invalid toolchain installation." with no further explanation.

    This has been very puzzling.

Reply
  • I have the same issue. I have the three executables in "/opt/nrf-command-line-tools/bin" and I added that into PATH before executing 'code'

    * First when I just specify PATH, I will get the nrfjprog error that the OP reported.

    * But when I specify, "/opt/nrf-command-line-tools/bin" the "nrfjprog is required" error disappears and it only says, "Invalid toolchain installation." with no further explanation.

    This has been very puzzling.

Children
Related