2.4 KiB
Visual Studio Code Installation Instructions
Table of Contents
Visual Studio Code for debugging
^Top
Download and install Visual Studio Code
Download and install J-Link Software and Documentation pack
Debian / Ubuntu / Kali / ParrotOS / Raspbian
^Top
Install dependencies
sudo apt-get install --no-install-recommends binutils-arm-none-eabi gdb openocd gdb-multiarch
On some systems arm-none-eabi-gdb
was replaced with gdb-multiarch
. In order to use the J-Link debugger you need to link arm-none-eabi-gdb
to gdb-multiarch
:
ln -s /usr/bin/gdb-multiarch /usr/bin/arm-none-eabi-gdb
Setup the Visual Studio Code configuration, by going into your project folder and run:
./.vscode/setup.sh
now launch Visual Studio Code and open your project folder
Windows: WSL
^Top
Enter WSL prompt (wsl
or start windows terminal
)
Install dependencies
sudo apt-get install --no-install-recommends binutils-arm-none-eabi gdb openocd gdb-multiarch
The J-Link debugger requires arm-none-eabi-gdb
which was replaced with gdb-multiarch
. In order to use the J-Link debugger link arm-none-eabi-gdb
to gdb-multiarch
:
sudo ln -s /usr/bin/gdb-multiarch /usr/bin/arm-none-eabi-gdb
Setup the Visual Studio Code configuration, by going into your project folder and run:
./.vscode/setup.sh
and launch Visual Studio Code
code .
Windows: ProxSpace
^Top
Download and install Visual Studio Code
Download and install J-Link Software and Documentation pack for Windows
Enter PorxSpace (runme64.bat
) and enter your project folder.
Setup the Visual Studio Code configuration, by running:
./.vscode/setup.sh
now launch Visual Studio Code and open your project folder
note Please install the recommended Visual Studio Code extensions in order for debugging to work.