Skip to content
0:00 / 0:00

#vscode#stm32#openocd

Visual Studio Code for STM32 development and debugging - Part 2

EmbeddedGeek

1.7K subscribers • 3 videos on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Intermediate. Assumes working knowledge.

58K views6 years ago2 recommendations

Tools and practiceSystems programmingVim, Emacs and editorsEmbedded systemsDebugging

A step-by-step tutorial on setting up a development and debugging workflow for STM32 microcontrollers in Visual Studio Code.

This video shows how the toolchain installed in the previous video can be used to set up a workflow for development and debugging in Visual Studio Code. More information, including code, is available here: embeddedgeek.net/posts/VSCode-for-STM32-development-and-debu… Part 1: youtu.be/PxQw5_7yI8Q Part 3: youtu.be/7stymN3eYw0

Why it's here

2 people recommend this

What people say. Recommended as a helpful guide for setting up an STM32 development environment using VS Code instead of proprietary IDEs.

u/electrotwelvein r/embedded • Recommends

On “STM32CubeMX to VSCode for STM32”

link to this video It appears as the next video to watch on YouTube if you are watching the first one.

u/VerbalHermanin r/embedded • Recommends

On “How to find where to start a project as a beginner?”

You can absolutely develop an STM32 project using VS Code, this video is a good guide in getting set up. You won't have access to the auto generator directly through this route, but you can always auto generate whatever HAL you need from Cube IDE and then copy it over to your VS code project. In terms of communicating with your sensors that's quite a broad topic. Firstly you need to identify how they work, are they digital IO, analogue signals, SPI, I2C, UART, CAN, etc, etc. Once you've identified that you'll need to set up a breadboard to allow you to connect your sensors up to your micro controller. I'd suggest that you start small and do one at a time. There are tons of tutorials ou…

u/chickenAd0b0in r/embedded • Mentions

Linker Script generated by CubeMX has syntax errors Im trying to setup my VSCode to develop STM32 projects. I am following this video tutorial Visual Studio Code for STM32 development and debugging - Part 2 (youtube.com). However, when i build my project using make command, Im getting error such as STM32F407VGTx\_FLASH.ld:149: syntax error in my linker file. I was able to fix some using CHATGPT but I am just getting more errors down the line. How is it the linker script auto generated by CubeMX have syntax error? Am I missing something here?