

"cortex-debug.armToolchainPath": "$/STM32F303x.svd"Īdjust the device option to for your microcontroller. In the opened file, add the following property and save. Make sure executable files are present in all of the three sub-folders included above.Īfter installing Visual Studio Code, open the IDE, navigate to Extensions tab or press Ctrl + Shift + X.

All the external tools necessary to build and flash ARM Cortex embedded software will be placed in the VSARM folder. For other boards you’ll need to update the configuration files with your processor name and series. Trust me, it makes a whole lot of difference in development.Ī NUCLEO-F303K8 development kit or similar ST board. However, if you want the full power of Intellisense at your fingertips and faster build times this is the way to go. Also, if you are looking for a method of programming ARM Cortex devices which is royalty free and easier to setup you may want to check out VisualGDB, SW4STM32 or other Eclipse based alternative. If you are working on a large scale project you’re probably better off using traditional paid IDEs like uVision or IAR because of their wider compatibility across many product versions and operating systems. If you want to go completely open-source, black magic probe has you covered. In this tutorial we’ll use the ST-Link adapter for programming and debugging. I chose this IDE because it’s blazing fast, Intellisense always works and it supports extensive customisation through plugins and configuration files. Today, the most compelling open source alternatives for ARM embedded development are based on Eclipse. Setting up a perfect workflow for embedded software development with no licensing costs can be a daunting task if you don’t know where to start.Īs I’m not a fan of Eclipse, I’ll show you how to configure VS Code for this task.

Using Visual Studio Code with STM32CubeMX for ARM DevelopmentĮvery day, the software world is moving away from traditional software and hardware tools by replacing them with better and faster open source alternatives.
