Stop warning for non-upgradable board

Every time I start my IDE 2.2.1 I get a warning that "Upgrades are available for some of your boards". if I click "Maunally Install" it is apparent that it is regarding the M5Stack board with 2.0.5-1.0 installed. Pressing "Update" to 2.0.5+1 fails. I am not too bothered that the M5Stack board cannot be updated as it is just one of many boards I use the Arduino IDE for, so I would like to have the IDE ignore this board for upgrade purposes but still let me know when other boards need an upgrade.

Hi @steveinaustria. I think the best way to accomplish it will be through this procedure:

  1. Select File > Preferences... from the Arduino IDE menus.
    The "Preferences" dialog will open.
  2. Remove the URL for the M5Stack boards platform from the "Additional Boards Manager URLs" field of the "Preferences" dialog.
  3. Click the "OK" button.

Arduino IDE 2.x still recognizes the installed board platform even after the associated URL is removed from the preferences, but the URL is where it gets the information about new releases of the platform. So removing that URL will cause the IDE to no longer offer updates.


There is an alternative solution, which is to disable updates in the IDE's advanced settings, but that disables all update offers and update offers are generally useful. So I think the more granular solution I described above is better.

1 Like

Even though I received reminders for all my other boards and successfully updated them all except for the M5Stack, the "Additional Boards Manager URLs " field of the "Preferences " dialog is empty.

I am still looking for a way to stop one reminder. The suggestion of ptillisch above doesn't work because the "Additional Boards Manager URLs " field of the "Preferences " dialog is empty. Where are the URLs for additional, non-Arduino boards if not there?

Having this warning every time I start the IDE 2.2.1 is frustrating, and I almost missed an important upgrade for my Nano BLE because I have got used to ignoring the warnings.

So, I'll try another tack. The upgrade ot the M5Stack board fails with this message:

Plattform kann nicht installiert werden: Plattform m5stack:esp32@2.0.5+1.0 wird installiert: testing local archive integrity: Archivgröße wird getestet: fetched archive size differs from size specified in index: 250363319 != 250355049

Which just in English tanslates as:

Cannot install platform: Installing platform m5stack:esp32@2.0.5+1.0: testing local archive integrity: Testing archive size: fetched archive size differs from size specified in index: 250363319 != 250355049

Can anyone suggest how this problem could be rectified? Would it be useful to de-install the existing M5Stack board and then install the new one or would that create new problems?

I updated the M5Stack board in the IDE 1.18.13 and now the warning in 2.2.1 no longer pops up. Why the board updated in 1.18.13 but not in 2.2.1 is unclear.

The reason for the error in Arduino IDE 2.x is that the M5Stack platform developers specified an incorrect file size in the package index used to allow installation of the platform via the Arduino IDE Boards Manager.

The reason the installation didn't error in Arduino IDE 1.x is because that version of Arduino IDE doesn't do any verification of the size value in the package index. So it simply ignores the fact that the package index developers provided erroneous information.

I submitted a proposal for relaxing the check of this file size value in Arduino CLI/Arduino IDE 2.x:

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