Merge pull request #163 from caternuson/hack_fix_megatinycore

Hack fix for arduino-cli issue with megatinycore BSP URL
This commit is contained in:
Limor "Ladyada" Fried 2023-09-28 14:38:00 -04:00 committed by GitHub
commit b066942ffb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -285,6 +285,12 @@ ColorPrint.print_info('#'*40)
run_or_die("arduino-cli core update-index --additional-urls "+BSP_URLS+
" > /dev/null", "FAILED to update core indices")
##### HACK !!!!!!!!!!!!!!!!!!!
# manual fix for megatinycore URL truncation issue
# see: https://github.com/arduino/arduino-cli/issues/2345
# https://github.com/SpenceKonde/megaTinyCore/issues/1005
os.system("mv ~/.arduino15/package_drazzy.json ~/.arduino15/package_drazzy.com_index.json")
##### HACK !!!!!!!!!!!!!!!!!!!!
print()
################################ Install dependencies