From f5a4d7946ab7f1314cae4b6641568fb1eaad1dee Mon Sep 17 00:00:00 2001 From: Physick <96335032+DegustatorPonos@users.noreply.github.com> Date: Thu, 18 Dec 2025 19:20:24 +0500 Subject: Init in makefile --- Makefile | 4 ++++ README.md | 13 +++++++++++++ 2 files changed, 17 insertions(+) diff --git a/Makefile b/Makefile index e9068fb..24ce9df 100644 --- a/Makefile +++ b/Makefile @@ -4,3 +4,7 @@ all: flash: make -C src st-flash --reset write src/*.bin 0x8000000 + +init: + git submodule update --init + python3 GenClangd.py diff --git a/README.md b/README.md index 96f5491..5f342c5 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,16 @@ # STM32F103 Bluepill template ## Links +https://github.com/lowleveltv/stm32-bluepill-blink/ + +## Usage +``` +make init +``` + +To flash: +``` +make flash +``` +! Make sure there is an STLink avaliable via `ls /dev | grep st` + -- cgit v1.3