From 59bc793c3045cdf997b1e81aded1a770d4b7d352 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Wed, 17 Mar 2021 15:19:15 -0700 Subject: [PATCH] Fetch arduino core indices before updating our cores It is entirely unclear to me how this ever worked before. --- .../copy-plugin-readmes.cpython-39.pyc | Bin 502 -> 502 bytes etc/makefiles/arduino-cli.mk | 9 +++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/_sphinx/__pycache__/copy-plugin-readmes.cpython-39.pyc b/docs/_sphinx/__pycache__/copy-plugin-readmes.cpython-39.pyc index eaacf83ddd31fd1283e8cec257b18b46f1bf5e2b..378f35e9b040b00afee8e88bb23b1f7a83862ea4 100644 GIT binary patch delta 20 acmeyy{EeAAk(ZZ?0SMZYK5pcG%?JQIs0IZ9 delta 20 acmeyy{EeAAk(ZZ?0SH9+KWyZF%?JQDj0HXb diff --git a/etc/makefiles/arduino-cli.mk b/etc/makefiles/arduino-cli.mk index 8560a76b..67f839a0 100644 --- a/etc/makefiles/arduino-cli.mk +++ b/etc/makefiles/arduino-cli.mk @@ -146,9 +146,14 @@ configure-arduino-cli: $(ARDUINO_DIRECTORIES_DATA)/arduino-cli.yaml $(ARDUINO_DIRECTORIES_DATA)/arduino-cli.yaml: $(QUIET) $(ARDUINO_CLI) config init -install-arduino-core-kaleidoscope: +arduino-update-cores: + $(QUIET) $(ARDUINO_CLI) core update-index + + + +install-arduino-core-kaleidoscope: arduino-update-cores $(QUIET) $(ARDUINO_CLI) core install "keyboardio:avr" -install-arduino-core-avr: +install-arduino-core-avr: arduino-update-cores $(QUIET) $(ARDUINO_CLI) core install "arduino:avr"