Adopting to 2.3.3 from 1.8.19 of your program

Please give me your suggestion how I can adopt my program from 1.8.19 to 2.3.3, with new IDE lot of errors are being shown and no previous library files are working even if you copy it from the existing folder of 1.8.19. Is there any solution because making new program from the scratch is really cumbersome process as it involves not just the program but also the hardware as I find IDE 2.3.3 occupies more flash memory space and cannot be adopted to lower memory chip like ESP32 dev kit, even the OTA of the previous version is not working with new IDE, also please provide a solution how we clone the 1.8.19 IDE to another PC. Thanks

I moved your topic to an appropriate forum category @qaunta_ai .

In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.

This is an important part of responsible forum usage, as explained in the "How to get the best out of this forum" guide. The guide contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

Can you provide some more details. Did you install IDE 2.3.3 on the same system as IDE 1.8.19? Or on a new system?

If it was on the same system, it should "just work" if you did not upgrade the ESP32 board package and / or libraries. If it was on a new system and you installed the ESP32 board package, check the versions of the ESP32 board package on your two systems. There were changes between ESP32 2.x and ESP32 3.x that broke a lot of code; the solution would be to either fix all problems (see Migration from 2.x to 3.0 - - — Arduino ESP32 latest documentation) or to roll back to the same version as used by your IDE 1.8.19 installation.

You mean that when you compile a sketch, it reports a higher memory usage than when using IDE 1.8.19. If that is the case, it's for me a clear indication that you're using different versions of libraries and/or board package.

You should post your sketch and the errors (both using code tags as described in https://forum.arduino.cc/t/how-to-get-the-best-out-of-this-forum/679966#posting-code-and-common-code-problems.

Changing IDE does not cause any problem, I do it al the time. You must have changed something else.

Thanks for the information, I have https://dl.espressif.com/dl/package_esp32_index.json same as 1.8.19 but when the board is installed in 2.3.3 it shows many esp32 but does not shows ESP32 Dev Module board, I have respective header files with links I already had and program is perfectly compiling in Windows 10 PC but with Windows 11 PC 2.3.3 Version it does happens readily with all libraries installed. Still problem persists only with new Windows 11 PC, so I'm still using old PC for compiling and programming

No I did not change anything, the Board ESP32 Dev Module is not all listing with the same link https://dl.espressif.com/dl/package_esp32_index.json I was using earlier to install the board in V 1.8.19. How to get the same board now is the issue!

That is not the version of the board package.

On both your systems (win10 and win11), navigate to the directory C:\Users\yourUsername\AppData\Local\Arduino15\packages\esp32\hardware\esp32. You will find a directory in there (general format x.y.z); if you have the latest Espressif board package installed, it should be 3.0.7.

Please let us know which versions you find on the two systems.

Note that that directory might be hidden and you need to tell windows to show hidden files, folders and drives.

Here is the official boards url for esp32
https://espressif.github.io/arduino-esp32/package_esp32_index.json

Hi, I tried it, the version I was using is 2.0.11 and current 2.3.3 installation it is 3.0.5. Now I'm trying with older version in new 2.3.3 Version and give you the feedback

Thanks for sharing the link! Yet to try it.

Thank You all for providing suggestions to solve the issue, I have installed 1.8.19 in the Windows 11 and all library files from ,my old setup, esp32 2.0.11 version for the suitable ESP32 Dev Module I was earlier using to program. Now its working, compiling my codes properly without any errors and able to upload it to the chip with same program size. Thanks once again for the support give to me.

Hi @qaunta_ai.

As was already explained, using Arduino IDE 1.8.19 as a fix for the problem is definitely not necessary.

The reason you got different results when using Arduino IDE 1.8.19 vs. Arduino IDE 2.3.3 was because you were using version 2.0.11 of the "esp32" boards platform with Arduino IDE 1.8.19 and version 3.0.5 of the "esp32" boards platform with Arduino IDE 2.3.3. The IDE version is not the relevant difference. You would have gotten the same result if you used version 3.0.5 of the "esp32" boards platform with Arduino IDE 1.8.19.

If you want to use version 2.0.11 of the "esp32" boards platform with Arduino IDE 2.3.3, you can install it by following these instructions:

  1. Select Tools > Board > Boards Manager... from the Arduino IDE menus to open the "Boards Manager" view in the left side panel.
  2. Scroll down through the list of boards platforms until you see the "esp32" entry.
  3. Select "2.0.11" from the drop-down menu in the "esp32" entry.
  4. Click the "INSTALL" button at the bottom of the entry.
  5. Wait for the installation process to finish, as indicated by a notification at the bottom right corner of the Arduino IDE window:

    Successfully installed platform ...

Arduino IDE will occasionally notify you that a new version of the boards platform is available, you'll need to refrain from accepting the offer that will cause an update back to the problematic version of the platform. If you find these notifications annoying, you can disable them via the advanced settings.

I'll provide instructions you can follow to do that:

  1. Press the Ctrl+Shift+P keyboard shortcut (Command+Shift+P for macOS users) to open the "Command Palette".
    A menu will appear on the editor toolbar:
  2. Select the "Preferences: Open Settings (UI)" command from the menu.
    You can scroll down through the list of commands to find it or type the name in the field.
    A "Preferences" tab will open in the Arduino IDE main panel.
  3. Type arduino.checkForUpdates in the "Search Settings" field of the "Preferences" tab.
  4. Uncheck the box under the "Arduino: Check For Updates" setting.
  5. Close the Preferences tab by clicking its X icon.

If you disable the automatic update check, make sure to periodically do a manual check for newer versions of Arduino IDE and your installed boards platforms and libraries. You can check for new versions of Arduino IDE by selecting Help > Check for Arduino IDE Updates from the Arduino IDE menus. You can check for new versions of boards platforms and libraries by selecting "Updatable" from the "Type" menu in the Boards Manager and Library Manager views.

Keep your added libraries inside your sketchbook in a subfolder named libraries. That way, anytime you want to migrate to a new PC or IDE version, you just copy/paste the whole sketchbook and your libraries will be with them.

Thank You for illustrative post, will follow them meticulously to avoid these issues from now on, as we are planning to have 2 - 3 programming IDE to develop and this will be very helpful. Thanks once again.

1 Like

The idea is good but when developing we will have many such programs with small changes and modification and we need to copy all the folders with these libraries every time, and do not know what impact it will make on the hdd space, I will try to implement only for a stable version of the program. Thanks for the suggestion.