summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--README.md13
2 files changed, 17 insertions, 0 deletions
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`
+