
Windowsĭownload and install the program from the official website. This page contains the instructions to install the latest version of VSCode on many distributions. Visual Studio Code is just a pretty front-end. You could just use the a terminal and your favourite editor and you would have (almost) all the functionality of the complete setup. The next steps aren't really necessary to get the thing working. Install openocd from your package manager 5. Contact me if you're willing to find a way. If you are on Windows you could probably get OpenOCD installed, but I don't have idea on how to do it. Open On-Chip Debugger is the software that will take care of uploading the compiled software to the STM32, and during debug, it will open the connection between the computer and the STM32. It should be possible to get the current version of make through WSL, but I don't have experience with it. Install make from this this page (updated in 2006 though.).

Install make from your package manager Windows Install the toolchain from arm's website 3.

Install gcc-arm-none-eabi gdb-multiarch libnewlib-arm-none-eabi. Install arm-none-eabi-gcc arm-none-eabi-gdb arm-none-eabi-newlib. These are the tools needed to compile and debug the code. zip from here (you have to sign up to ST's website) and install the right version for your OS. Inferior operating systems (Windows, Ubuntu, Temple OS.)ĭownload the. If you don't have access to the AUR or you just don't want to use it, follow the step below.

If you already have CubeMX installed, you can skip this step Arch Linux Up until the time of writing this guide, it is not possible to use STM32CubeIDE and Visual Studio Code on the same project unless some configuration changes are made on CubeIDE.īesides that, it is reccomended that every person that works on a project runs the same working environment. The conversion procedure is fully reversible. If you were using STM32CubeIDE or SystemWorkbench before, you need to convert your projects in order for them to work. If you get it to work under other setups, please let me know so I will update the steps with more info. I tested this guide under Arch Linux and Ubuntu 18.04. This guide will help you install and setup Visual Studio Code for programming and debugging STM32 boards.
