nagging library update notifications

When starting the Arduino IDE I often get a Library Update notification, but the only updatable Library has no Update button and seems to be up to date. As this delays the Arduino IDE startup, it annoys me.

My Arduino IDE version is 1.8.0, running on Windows 10.

Did I already report, that an update notification for the IDE would be welcome?

Jean-Marc Zingg

What do you have selected in the Tools > Board menu when this happens? My guess is it’s one of the boards from the Arduino_STM32 hardware package. I reported the issue a year ago:
https://github.com/rogerclarkmelbourne/Arduino_STM32/issues/196
but found it very difficult to convince the author to make this simple change so I gave up.

I’ve also tried to get the Arduino IDE developers to fix the bug that cases this, also with no results:
https://github.com/arduino/Arduino/issues/4189
https://github.com/arduino/Arduino/issues/5283

The easiest solution is to turn off the notifications:
File > Preferences > Check for updates on startup (uncheck)
It’s unfortunate because the notifications are useful when they work correctly.

The other solution is to add a library.properties file to the RTOS libraries folder. This would need to be redone every time you update to a new version of the Arduino_STM32 hardware package.

I don’t understand how this is not obviously a huge problem for these people, I guess they have just turned off their notification setting.

ZinggJM:
Did I already report, that an update notification for the IDE would be welcome?

It already has one but it has been broken for a long time:
https://github.com/arduino/Arduino/issues/5496

pert: What do you have selected in the Tools > Board menu when this happens? My guess is it's one of the boards from the Arduino_STM32 hardware package. ...

The other solution is to add a library.properties file to the RTOS libraries folder. This would need to be redone every time you update to a new version of the Arduino_STM32 hardware package.

...

Thank you very much for this complete information. I often use one of the STM32duino.com targets. And I wait for a major update of this package, this would be very welcome. I already posted about my confusion with STM32 targets, because of the 2 different packages.

I should have had the idea to add a properties file to the RTOS library myself; this hint is highly welcome.

Thanks

Jean-Marc Zingg

ZinggJM: Thank you very much for this complete information. I often use one of the STM32duino.com targets. And I wait for a major update of this package, this would be very welcome. I already posted about my confusion with STM32 targets, because of the 2 different packages.

At a quick look I didn't see the FreeRTOS in the STM32duino package so I believe it's caused by https://github.com/rogerclarkmelbourne/Arduino_STM32 but I could be wrong. This only happens when you have the board of a hardware package with a problematic library selected in the Tools > Board menu. The updatable notification also comes after some delay, so it can be confusing to determine why it happens sometimes and not other times.

ZinggJM: I should have had the idea to add a properties file to the RTOS library myself; this hint is highly welcome.

I'm glad if it is helpful. Let me know if you have any questions about how to do that. The exact value of most of the properties in the file are not important so you can just copy one from another library and change a couple lines.

I didn't know the accurate information that should be filled in for that library in the public distribution so that's why I opened that issue report about it rather than submitting a pull request, I figured the repository maintainer would know and thus was better qualified for the task.

for whoever has the same issue,

I just copied "library.properties" from

"C:\Users...\Documents\Arduino\hardware\Arduino_STM32\STM32F1\libraries\A_STM32_Examples" to "C:\Users...\Documents\Arduino\hardware\Arduino_STM32\STM32F1\libraries\FreeRTOS" and to "C:\Users...\Documents\Arduino\hardware\Arduino_STM32\STM32F1\libraries\FreeRTOS821"

this seems to help.

And I copied "boards.txt" from

"C:\Users...\Documents\Arduino\hardware\Arduino_STM32\tools" to "C:\Users...\Documents\Arduino\hardware\Arduino_STM32\examples"

to get rid of some error message from Library Manager.