summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Palsson <karlp@tweak.net.au>2020-03-20 21:18:20 +0000
committerKarl Palsson <karlp@tweak.net.au>2020-03-20 21:18:20 +0000
commit36b447dc15443340202d2a7f5bc6b8f052069c79 (patch)
treec9b1acc2cdaad92409167a2693cbb15fc2c5b7c8
parentc853a9f742cc70ea6cef8527e495843759a12c7e (diff)
downloadledcontrol-36b447dc15443340202d2a7f5bc6b8f052069c79.tar
ledcontrol-36b447dc15443340202d2a7f5bc6b8f052069c79.tar.zst
ledcontrol-36b447dc15443340202d2a7f5bc6b8f052069c79.zip
simplify steps using current git syntax
-rw-r--r--README.md10
1 files changed, 6 insertions, 4 deletions
diff --git a/README.md b/README.md
index 3508ed3..801d49f 100644
--- a/README.md
+++ b/README.md
@@ -1,11 +1,13 @@
Easy "clone and go" repository for a libopencm3 based project.
# Instructions
- 1. git clone https://github.com/libopencm3/libopencm3-template.git your-project
+ 1. git clone --recurse-submodules https://github.com/libopencm3/libopencm3-template.git your-project
2. cd your-project
- 3. git submodule update --init # (Only needed once)
- 4. make -C libopencm3 # (Only needed once)
- 5. make -C my-project
+ 3. make -C libopencm3 # (Only needed once)
+ 4. make -C my-project
+
+If you have an older git, or got ahead of yourself and skipped the ```--recurse-submodules```
+you can fix things by running ```git submodule update --init``` (This is only needed once)
# Directories
* my-project contains your application