diff options
author | Karl Palsson <karlp@tweak.net.au> | 2020-03-20 21:18:20 +0000 |
---|---|---|
committer | Karl Palsson <karlp@tweak.net.au> | 2020-03-20 21:18:20 +0000 |
commit | 36b447dc15443340202d2a7f5bc6b8f052069c79 (patch) | |
tree | c9b1acc2cdaad92409167a2693cbb15fc2c5b7c8 /README.md | |
parent | c853a9f742cc70ea6cef8527e495843759a12c7e (diff) | |
download | stm32f103c8-examples-36b447dc15443340202d2a7f5bc6b8f052069c79.tar stm32f103c8-examples-36b447dc15443340202d2a7f5bc6b8f052069c79.tar.zst stm32f103c8-examples-36b447dc15443340202d2a7f5bc6b8f052069c79.zip |
simplify steps using current git syntax
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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 |