adafruit / arduino-board-index

Adafruit Package Lists for the Arduino v1.6.4+ Board Manager
https://adafruit.github.io/arduino-board-index/package_adafruit_index.json
39 stars 30 forks source link

change gcc 9-2019 download url from arm to github due to certificate error #88

Closed hathach closed 2 years ago

hathach commented 2 years ago

Somehow gcc toolchain cannot be download from developer.arm.com using wget due to certificate error. This prevent arduino-cli/IDE download the toolchain when installing nrf/samd bsp. This update the tool package to github release page https://github.com/adafruit/arduino-board-index/releases/tag/build-tools . No BSP updated is needed, user only need to fetch the json file.

wget https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2019q4/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2
--2021-09-15 23:40:51--  https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2019q4/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2
Resolving developer.arm.com (developer.arm.com)... 23.76.74.223
Connecting to developer.arm.com (developer.arm.com)|23.76.74.223|:443... connected.
ERROR: cannot verify developer.arm.com's certificate, issued by 'CN=GlobalSign RSA OV SSL CA 2018,O=GlobalSign nv-sa,C=BE':
  Unable to locally verify the issuer's authority.
To connect to developer.arm.com insecurely, use `--no-check-certificate'.

image