Skip to content

A STM32 L0 (L071) skeleton, based on make, vscode and cortex debug

Notifications You must be signed in to change notification settings

JohnBerg60/L071-start

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STM32L071 Blink skeleton

This repository is a minimal STM32L071 build (a blinking led), that can be used for various purposes.
The LED is assumed on pin PC13 (like the blue pill boards)

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

A STM32 L0 (L071) skeleton, based on make, vscode and cortex debug

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages