Arduino IDE 2.0 problem with PROGMEM

Hi,
I’m using Arduino IDE 2.0 with Windows 10. My program loads images onto a TFT display to animate like a Gif.

The image data is held in a separate file in an array that is held in program memory i.e. const unsigned short PROGMEM sys[][8000] = {{0x0…

The IDE has no problem with the main program, but as soon as the image data is entered, that IDE window essentially freezes. In reality, any actions take minutes to be carried out. I say “that window” as another window with just a normal program in it functions normally.

I get the same results on my desktop and laptop, and I have no problems with this program in Arduino IDE 1.8.15.

Thanks for any ideas in advance.

Hi @tboy58. I'm happy to tell you that this bug has already been fixed:

The fix was made after the time of the 2.0.0 release you are using so it is only available from the nightly builds.

The nightly build download links are listed here:

https://www.arduino.cc/en/software/#nightly-builds

Please give the nightly a try and let me know if you have any questions or problems.

Many thanks for your reply. I’ll try that and let you know.
:+1:t5::nerd_face:

Hi @ptillisch
The latest nightly build gets rid of my problem.
Many thanks for your help.
:+1:t5::nerd_face:

Hi again @ptillisch,
Just one more thing.
When I open the nightly build I had a pop up to download 2.0. When is it safe to update?
:+1:t5::nerd_face:

You are welcome. I'm glad it is working now.

This is a bug being tracked by the developers here:

Please just click the "SKIP VERSION" button on the update dialog the next time you see it.

In this case, it would actually be a downgrade since the nightly version you are using is newer than the 2.0.0 release.

If you would like to keep up with the latest development, you can periodically download the nightly build again (a new one is generated daily). Otherwise wait for the 2.0.1 release. You will get another notification when you start the Arduino IDE after 2.0.1 is out.

@ptillisch, thank you again, much appreciation :+1:t5::nerd_face:

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