invalid package_sparkfun_index.json

In the different hookup guides, it is often instructed to add a link to the Sparkfun package index URL in preferences. The issue is that there are different links and those files are not in sync.

The nRF52832 hookup guide instructs to add the following link in preferences :

https://raw.githubusercontent.com/sparkfun/Arduino_Boards/nrf5/IDE_Board_Manager/package_sparkfun_index.json
(Note:  it has nrf5 in the URL!!!)

I could add the necessary package needed.

Now I wanted to add Micromod SAMD51… the hookup guides instructs to add

https://raw.githubusercontent.com/sparkfun/Arduino_Boards/master/IDE_Board_Manager/package_sparkfun_index.json
(Note : it has master in the URL!!)

Now the trouble starts… the package_sparkfun_index.json on ‘master’ does NOT have nrf5 package reference and the file on ‘nrf5’ only has the reference to an old version of the SAMD. Thus you can NOT select the Micromod but only :

SparkFun SAMD21 Mini Breakout

SparkFun SAMD21 Dev Breakout

The workaround (for now) was to remove the nrf5-URL in preferences. Leave the URL with ‘master’ in place. You can now install and select the Micromod. As a result however you can NOT select nrf52832 anymore. You have to go back into preferences, change ‘master’ in the URL to ‘nrf5’, start the boards-manager (to download the other package_sparkfun_index.json) and then you can select the nrf52832 from the menu. (but of course NOT Micromod anymore)

It is not clear on which Github-location to post this as a bug… but just in case run in this issue I have posted it here

P.s. the picture in the nrf52832 hookup guide shows the URL with ‘master’, but that file does NOT have nrf5 references and just above the picture shows the URL with ‘nrf5’ (for copy code)

Thanks Paul.

I reported this to the engineering team today, hopefully they can get this fixed quickly!

Hello,

Could you please also report that this link:

https://raw.githubusercontent.com/spark … index.json

from this site:

https://learn.sparkfun.com/tutorials/ha … mglo-badge

also is not working (lead nowhere) and we can’t connect Roshamglo to make it TV-B-gone?

Please?

Hi BobNS,

I believe that you e-mailed a tutorial feedback about the Roshamglo 's board package over the weekend. Hmm, this is for a different board package.

I think something changed with GitHub recently since you are not able to download the board package. The [branch is still available online.

We’ll have to take a look at this to see what is going on. In the meantime, you could manually install the board package in your …/Documents/Arduino/hardware folder. It’s a bit involved if you manually install the files. You can download the files from the [Roshamglo product repo.](Roshamglo/Bootloader/hardware at master · sparkfun/Roshamglo · GitHub)](Arduino_Boards/IDE_Board_Manager at tiny · sparkfun/Arduino_Boards · GitHub)

After a closer inspection of the path and the file name, I noticed a few differences. Try:

https://raw.githubusercontent.com/sparkfun/Arduino_Boards/tiny/IDE_Board_Manager/package_sparkfun_tiny_index.json

The boards should show up in the Boards Manager after adding that in the Additional Boards Manager URLs. I’m going to try to update the tutorial to make a note of that.