From 63fdc2797bbee718e580c7cbff6dea58c8d30ddf Mon Sep 17 00:00:00 2001 From: Thomas Kolb Date: Sun, 2 Oct 2016 23:42:14 +0200 Subject: [PATCH] added libopencm3 as submodule --- .gitmodules | 3 +++ Makefile | 2 +- libopencm3 | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) create mode 160000 libopencm3 diff --git a/.gitmodules b/.gitmodules index 5ea9d4e..732f4c2 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "fxplib"] path = fxplib url = https://github.com/cfr34k/fxplib.git +[submodule "libopencm3"] + path = libopencm3 + url = https://github.com/libopencm3/libopencm3.git diff --git a/Makefile b/Makefile index 8c3b612..d924cdb 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ OOCD = openocd OOCD_CFG = ./oocd/solarlader.cfg TOOLCHAIN_DIR ?= /usr/arm-none-eabi -OPENCM3_DIR ?= ../../libopencm3 +OPENCM3_DIR ?= ./libopencm3 # default build configuration # "make BUILD=release" does a release build diff --git a/libopencm3 b/libopencm3 new file mode 160000 index 0000000..8c74128 --- /dev/null +++ b/libopencm3 @@ -0,0 +1 @@ +Subproject commit 8c74128ff6aaa2f785d8e994e82746a6e937e46c