This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Ubuntu installation of nRF Connect SDK + Visual Studio Code - toolchain question

Hi,

I have made a manual installation of the nRF Connect SDK in order to develop nRF5340 applications on my Ubuntu PC. I have tried, to the best of my ability, to follow the explanations from https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_installing.html

Visual Studio Code was installed according to https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf-connect-for-visual-studio-code-preview (although this link mainly explains the Windows case)

GNU Arm EMbedded Toolchain was installed here: ~/gnuarmemb/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux/gcc-arm-none-eabi-9-2019-q4-major   (*)

When I try to "Create a new application from sample..." I get the message "Invalid toolchain installation" under "nRF Connect Toolchain" input box.

I have tried alternatives like PATH and selecting the link marked (*) above, but without any luck.

I have also set the environmental parameters:

export ZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb
export PATH="/home/kg/gnuarmemb/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux/gcc-arm-none-eabi-9-2019-q4-major/bin/":"$PATH"

in the .zephyrrc file

Could you please help me to find the right way to set the nRF Connect (GNU Arm Embedded) Toolchain in VSC in an Ubuntu system?

Many Thanks!!

Parents Reply Children
No Data
Related