|
|
|
@ -12,7 +12,7 @@ endif
|
|
|
|
|
DEFAULT_GOAL: smoke-sketches
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
setup: $(ARDUINO_DIRECTORIES_USER)/hardware/keyboardio/avr/boards.txt $(ARDUINO_DIRECTORIES_USER)/hardware/keyboardio/virtual/boards.txt $(ARDUINO_CLI_PATH) $(ARDUINO_DIRECTORIES_DATA)/arduino-cli.yaml install-arduino-core-avr
|
|
|
|
|
setup: $(ARDUINO_CLI_PATH) $(ARDUINO_DIRECTORIES_DATA)/arduino-cli.yaml install-arduino-core-avr install-arduino-core-kaleidoscope $(ARDUINO_DIRECTORIES_USER)/hardware/keyboardio/avr/boards.txt $(ARDUINO_DIRECTORIES_USER)/hardware/keyboardio/virtual/boards.txt
|
|
|
|
|
@:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -27,9 +27,18 @@ $(ARDUINO_DIRECTORIES_USER)/hardware/keyboardio/virtual/boards.txt:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$(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
|
|
|
|
|
rm -d $(ARDUINO_DIRECTORIES_USER)/hardware/keyboardio/avr/libraries/Kaleidoscope
|
|
|
|
|
git clone -c core.symlinks=true \
|
|
|
|
|
--recurse-submodules=":(exclude)avr/libraries/Kaleidoscope" \
|
|
|
|
|
--recurse-submodules=":(exclude)gd32/libraries/Kaleidoscope" \
|
|
|
|
|
--recurse-submodules=avr/libraries/ \
|
|
|
|
|
--recurse-submodules=gd32/ \
|
|
|
|
|
--recurse-submodules=gd32/libraries/ \
|
|
|
|
|
git://github.com/keyboardio/Kaleidoscope-Bundle-Keyboardio \
|
|
|
|
|
$(ARDUINO_DIRECTORIES_USER)/hardware/keyboardio
|
|
|
|
|
-rm -d $(ARDUINO_DIRECTORIES_USER)/hardware/keyboardio/avr/libraries/Kaleidoscope
|
|
|
|
|
-rm -d $(ARDUINO_DIRECTORIES_USER)/hardware/keyboardio/gd32/libraries/Kaleidoscope
|
|
|
|
|
ln -s $(KALEIDOSCOPE_DIR) $(ARDUINO_DIRECTORIES_USER)/hardware/keyboardio/avr/libraries/Kaleidoscope
|
|
|
|
|
ln -s $(KALEIDOSCOPE_DIR) $(ARDUINO_DIRECTORIES_USER)/hardware/keyboardio/gd32/libraries/Kaleidoscope
|
|
|
|
|
|
|
|
|
|
simulator-tests:
|
|
|
|
|
$(MAKE) -C tests all
|
|
|
|
|