-
Notifications
You must be signed in to change notification settings - Fork 0
Setup VSCode
Lexx edited this page Apr 4, 2024
·
2 revisions
PDF Download with images (Recommended)
Go to View -> Extensions
- C/C++
- C/C++ Extension Pack
- Cortex-Debug
- STM-Helper
Driver Installation
- Install the driver STM32 ST-Link Utility v4.1.0 setup.exe
- During the process you have to press confirm by "Installieren" that you want to install the driver
- At the end of the installation there are two windows offered: Press the “Weiter” in the window “Welcome to the Device Driver Installation Wizard!”
- Then press “Fertig stellen” in the window "Completing the Device Driver Installation Wizard”
Save the Toolchain permanently in a folder and remember the location.
- Extract and open the Template Folder.
- On the lower left corner in Visual Studio Code press Update Workspace ➔ UpdateWorkspace resets the armToolchainPath
- Then open launch.json
- Replace the armToolchainPath with the bin folder of your downloaded
HOW TO USE Run Program with Debugger: Upper left: Run -> Start Debugging or press F5