Arduino error loading preferences file

I am loading a MazeFollower code to a Pololu Sumo 32U4. When compiling the program I get: Error loading preferences: https://files.pololu.com/arduino/package_pololu_index.json
I have directly accessed this file and it appears immediately. Without this file Tools does not include the correct board.

Which file? XXX_index.json?

Did you actually install the board package using the board manager? It's not sufficient to add the XXX_index.json in file -> preferences.

Can you describe the steps that you took?
Which version of the IDE are you using?
Is this your own PC or a company machine?

I am using Arduino 1.8.13, my personal computer is a MacBook Pro.
I am trying to load a MazeSolver sketch to my Zumo 32U4 robot.

  1. In preferences i added: https://files.pololu.com/arduino/package_pololu_index.json
  2. Under file I opened MazeSolver (Arduino opened the sketch)
  3. Under tools:board manager I looked for Pololu A-star board or Zumo 32U4 and found nothing.
  4. I then attempted to upload the sketch to the Zumo and the Arduino showed an Error loading the preferences file (same as above).
  5. Iclosed Arduino and using Safari i entered the file (samosa above) and it easily opened and appeared to have the contents that were needed.
    I am not sure where to go next. Thanks for your help.

Not behind a PC at the moment so no exact instructions. After adding the json in file -> preferences, you need to go to the board manager (a menu entry in tools -> board), look for the boards package and install it.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.