From f098c8a81bd7c144b80e3e50d03aa651065e3f9d Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Sun, 27 Dec 2020 15:09:24 -0800 Subject: [PATCH] update kaleidoscope Makefile to fetch our samd51 platform --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 14b212eb..1e93b2a3 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ setup: $(ARDUINO_DIRECTORIES_USER)/hardware/keyboardio/avr/boards.txt $(ARDUINO_ @: -checkout-platform: $(ARDUINO_DIRECTORIES_USER)/hardware/keyboardio/avr/boards.txt +checkout-platform: $(ARDUINO_DIRECTORIES_USER)/hardware/keyboardio/avr/boards.txt $(ARDUINO_DIRECTORIES_USER)/hardware/kaleidoscope/samd/boards.txt @: prepare-virtual: $(ARDUINO_DIRECTORIES_USER)/hardware/keyboardio/virtual/boards.txt @@ -27,6 +27,11 @@ prepare-virtual: $(ARDUINO_DIRECTORIES_USER)/hardware/keyboardio/virtual/boards. $(ARDUINO_DIRECTORIES_USER)/hardware/keyboardio/virtual/boards.txt: $(MAKE) -C $(ARDUINO_DIRECTORIES_USER)/hardware/keyboardio prepare-virtual +$(ARDUINO_DIRECTORIES_USER)/hardware/kaleidoscope/samd/boards.txt: + git clone -c core.symlinks=true \ + https://github.com/keyboardio/ArduinoCore-samd \ + $(ARDUINO_DIRECTORIES_USER)/hardware/kaleidoscope/samd + ln -s $(KALEIDOSCOPE_DIR) $(ARDUINO_DIRECTORIES_USER)/hardware/kaleidoscope/samd/libraries/Kaleidoscope $(ARDUINO_DIRECTORIES_USER)/hardware/keyboardio/avr/boards.txt: git clone -c core.symlinks=true --recurse-submodules=":(exclude)avr/libraries/Kaleidoscope" --recurse-submodules=build-tools --recurse-submodules=toolchain --recurse-submodules=avr/libraries/ git://github.com/keyboardio/Kaleidoscope-Bundle-Keyboardio $(ARDUINO_DIRECTORIES_USER)/hardware/keyboardio