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)
Prerequisites:
- arm-none-eabi-gcc toolchain
- make
- visual studio code, with cortex debug installed
To build:
- Run
make
in this directory, shortcut ctrl+shift+b.
To build:
- Run
make clean
in this directory, shortcut ctrl+shift+c.
To flash the device:
- Connect the STLink to the device. Ensure your user has permissions to access it.
- Run task
flash
in visual studio code, shortcut ctrl+shift+f
To debug the device:
- Connect the STLink to the device. Ensure your user has permissions to access it.
- Run
debug and run
in visual studio, shortcut F5
For device info:
- Run task
info
in visual studio code, shortcut ctrl+shift+i.