Skip to content

Example project on how to use stm32f103 with vscode and make

Notifications You must be signed in to change notification settings

JohnBerg60/smt32f103-blink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STM32F103 Blink skeleton

This repository is a minimal STM32F103 build (a blinking led), that can be used for various purposes.
By relocation the text section, it can be used to test the bootloader project.

Build instructions

Prerequisites:

  • arm-none-eabi-gcc toolchain
  • make
  • visual studio code, with cortex debug installed

To build:

  1. Run make in this directory, shortcut ctrl+shift+b.

To build:

  1. Run make clean in this directory, shortcut ctrl+shift+c.

To flash the device:

  1. Connect the STLink to the device. Ensure your user has permissions to access it.
  2. Run task flash in visual studio code, shortcut ctrl+shift+f

To debug the device:

  1. Connect the STLink to the device. Ensure your user has permissions to access it.
  2. Run debug and run in visual studio, shortcut F5

For device info:

  1. Run task info in visual studio code, shortcut ctrl+shift+i.

About

Example project on how to use stm32f103 with vscode and make

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages