ArminJo / DigistumpArduino

Improved version of Digistump avr core for Arduino
200 stars 39 forks source link

Correct packages[].tools[].systems.size values for digistump:micronucleus@2.5 #21

Closed per1234 closed 3 years ago

per1234 commented 3 years ago

The size values for thei686-mingw32 and x86_64-mingw32 hosts were incorrect.

The classic Arduino IDE did not check the size value (I seem to remember it was allowed as an alternative for the checksum at one point in time). But Arduino CLI, and thus the new Arduino IDE enforce the correct size value, which caused installation to fail on the misconfigured host systems:

$ arduino-cli core update-index --additional-urls https://raw.githubusercontent.com/ArminJo/DigistumpArduino/master/package_digistump_index.json
...
$ arduino-cli core install digistump:avr --additional-urls https://raw.githubusercontent.com/ArminJo/DigistumpArduino/master/package_digistump_index.json
...
Installing digistump:micronucleus@2.5...
Error during install: installing tool digistump:micronucleus@2.5: testing local archive integrity: testing archive size: fetched archive size differs from size specified in index

Temporary Boards Manager URL for testing: https://raw.githubusercontent.com/per1234/DigistumpArduino/fix-size/package_digistump_index.json