atc1441 / D6-arduino-nRF5

D6 Fitness Tracker Arduino Core for Nordic Semiconductor nRF5 based boards
Other
21 stars 9 forks source link

size in package_nRF5_boards_index.json (wrong?) #5

Open elazarrosenthal opened 2 years ago

elazarrosenthal commented 2 years ago

I'm experimenting with building the watch firmware with arduino-cli in linux I thought I had it working then things started dieing apparently a newer version of arduino cli is checking size

is 10287947 should be 15614691

in https://atc1441.github.io/D6Library/package_nRF5_boards_index.json Size is worng

      "url": "https://github.com/atc1441/D6-arduino-nRF5/archive/0.7.5.tar.gz",
      "archiveFileName": "D6-arduino-nRF52-0.7.5.tar.gz",
      "checksum": "MD5:6226d5c3e01d949976f42dab6cdd5dcb",
    "size": "10287947",

elazar2@elazar-HP-ENVY:~/.arduino15$ ls -l staging/packages/D6-arduino-nRF52-0.7.5.tar.gz -rw-rw-r-- 1 elazar2 elazar2 15614691 Dec 27 15:17 staging/packages/D6-arduino-nRF52-0.7.5.tar.gz

Sorry if I am mistaken if so please let me know if I got it wrong

elazarrosenthal commented 2 years ago

error with new arduino-cli Installing platform nRF52D6Fitness:nRF5@0.7.5... Error during install: Cannot install platform: installing platform nRF52D6Fitness:nRF5@0.7.5: testing local archive integrity: testing archive size: fetched archive size differs from size specified in index

elazarrosenthal commented 2 years ago

I put a copy of my builder script as an issue in the ATCwatch repo it works around this problem on my personal machine