sparkfun / Arduino_Boards

Board definitions for SparkFun-manufactured AVR, ARM, and ESP-based Arduino boards.
263 stars 125 forks source link

Unable to install the Blynk board #48

Closed cmfrancis closed 4 years ago

cmfrancis commented 5 years ago

"url": "http://arduino.esp8266.com/win32-xtensa-lx106-elf-gb404fb9-2.tar.gz" found in our JSON file returns a 404 and that breaks the ability to add the Blynk board to the IDE.

bboyho commented 5 years ago

It looks like the server/domain name possibly changed on ESP8266's side? Older issues filed on the ESP8266 core for Arduino seems to indicate that that was the issue. User's will see this in the Arduino Boards Manager:

Error downloading http://arduino.esp8266.com/win32-xtensa-lx106-elf-gb404fb9-2.tar.gz

Removing the download linked led to the repo for the ESP8266 .json and it looks like something was updated about 22 days ago? Maybe we can update our files and update links based on this part of the .json file:

https://github.com/esp8266/esp8266.github.io/blob/master/stable/package_esp8266com_index.json#L1080

thirtytwobits commented 5 years ago

Still seeing this issue. I can't develop against my blynk board right now.

djboby72 commented 4 years ago

There is a problem in the json file, so the file win32-xtensa-lx106-elf-gb404fb9-2.tar.gz can not be downloaded. You can change the json file by replacing the path http://arduino.esp8266.com/ with https://github.com/esp8266/Arduino/releases/download/2.3.0/ or you can use my modified file to add the Sparkfun BlynkBoard in arduino. But beware of the removal of generic support esp8266 if it is already installed because it is incompatible with Sparkfun BlynkBoard. http://djboby.com/download/package_sparkfun_github_index.json

santaimpersonator commented 4 years ago

I found you can only install either the generic esp8266 board definitions or SparkFun's esp8266 board definitions. This explains why I was seeing a file path conflict when installing both board definitions. (When, I tested this issue on a few systems (Windows and Mac using Arduino IDE version 1.8.5) and sometimes both folders are included, but other times the folders get overwritten by the new board definitions. Overall, the Arduino IDE is only able to see one of the board definition folders (or package) in either situation.)

I created a pdf with instructions for a teacher, a few months back, to remove all definitions and only install SparkFun's board definitions. This should workaround the issue until the .json file is updated.

edspark commented 4 years ago

We've updated our Arduino boards JSON file to fix the problematic link, update to 2.1.1 for the latest: image.

bboyho commented 4 years ago

@edspark updated the url and we were able to download the board definitions! Were were able to get blink.ino and BlynkBoard_Core_Firmware to upload with ESP8266.

edspark commented 4 years ago

@santaimpersonator I've opened a seperate issue since this particular behavior is separate from the original issue.

bboyho commented 4 years ago

For those that are interested, @edspark worked with espressif to include the board in the ESP8266 Arduino add-on [v2.6.0] . We'll be updating the documentation as well.

🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥