From 233d286f01f3ed57656c7db18e25435912e1ddd3 Mon Sep 17 00:00:00 2001 From: aze00 <> Date: Mon, 20 Aug 2018 15:37:48 +0200 Subject: [PATCH 1/2] gnuk: added gnuk submodule --- .gitmodules | 4 ++++ gnuk | 1 + 2 files changed, 5 insertions(+) create mode 160000 gnuk diff --git a/.gitmodules b/.gitmodules index 6bccd68..49cbb4c 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,7 @@ [submodule "libopencm3"] path = libopencm3 url = https://github.com/libopencm3/libopencm3 +[submodule "gnuk"] + path = gnuk + url = https://github.com/aze00/gnuk.git + branch = efm32 diff --git a/gnuk b/gnuk new file mode 160000 index 0000000..ae723f9 --- /dev/null +++ b/gnuk @@ -0,0 +1 @@ +Subproject commit ae723f9762ba72fef260f9dc7fb7ca78a7c3b70e From f8a142766cf929166774cc9248a56c335859a3cb Mon Sep 17 00:00:00 2001 From: aze00 <> Date: Mon, 20 Aug 2018 15:45:08 +0200 Subject: [PATCH 2/2] gnuk: added to the build --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 72dd9da..0da007f 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,12 @@ -all: libopencm3-samples +all: libopencm3-samples gnuk @true +gnuk: + git submodule init + git submodule update --recursive + cd gnuk/src && ./configure --target=TOMU --vidpid=234b:0000 + make -C gnuk/src + libopencm3-samples: git submodule init git submodule update @@ -21,4 +27,4 @@ clean: make -C usb_midi clean make -C usb_simple clean -.PHONY: libopencm3-samples \ No newline at end of file +.PHONY: libopencm3-samples gnuk