Skip to content

Commit

Permalink
Using libopencm3 as submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
jsphuebner committed Apr 5, 2019
1 parent 648134b commit 8b55f53
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
*.o
obj
libopencm3
linker.map
sinus.layout
stm32_sine*
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "libopencm3"]
path = libopencm3
url = https://github.com/jsphuebner/libopencm3
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,10 @@ flash: images
.PHONY: directories images clean

get-deps:
misc/getlibopencm3
@printf " GIT SUBMODULE\n"
$(Q)git submodule update --init
@printf " MAKE libopencm3\n"
$(Q)${MAKE} -C libopencm3

Test:
cd test && $(MAKE)
Expand Down
1 change: 1 addition & 0 deletions libopencm3
Submodule libopencm3 added at d0ece5
7 changes: 0 additions & 7 deletions misc/getlibopencm3

This file was deleted.

0 comments on commit 8b55f53

Please sign in to comment.