Comments on: ESP32: Migrating from version 2.x to 3.0 (Arduino IDE) https://randomnerdtutorials.com/esp32-migrating-version-2-to-3-arduino/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Fri, 07 Feb 2025 16:24:30 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: tDaniel https://randomnerdtutorials.com/esp32-migrating-version-2-to-3-arduino/#comment-1006093 Fri, 07 Feb 2025 16:24:30 +0000 https://randomnerdtutorials.com/?p=158531#comment-1006093 In reply to Sara Santos.

Thank you, much appreciated

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-migrating-version-2-to-3-arduino/#comment-1003186 Mon, 27 Jan 2025 18:46:10 +0000 https://randomnerdtutorials.com/?p=158531#comment-1003186 In reply to tDaniel.

Hi.
Please see the solution for this issue here: https://rntlab.com/question/solvedassert-failed-tcp_alloc-idf-components-lwip-lwip-src-core-tcp-c1851-required-to-lock-tcpip-core-functionality/
Regards,
Sara

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-migrating-version-2-to-3-arduino/#comment-998017 Tue, 07 Jan 2025 11:47:14 +0000 https://randomnerdtutorials.com/?p=158531#comment-998017 In reply to tDaniel.

Hi.
Thanks for pointing that out.
I also noticed that issue.
At the moment, I don’t have a solution besides downgrading the ESP32 boards to version 3.0.7.
Regards,
Sara

]]>
By: tDaniel https://randomnerdtutorials.com/esp32-migrating-version-2-to-3-arduino/#comment-997864 Mon, 06 Jan 2025 20:56:39 +0000 https://randomnerdtutorials.com/?p=158531#comment-997864 Spoiler alert, in the meantime it seems the current version has evolved to version 3.1.0 and the ESPAsyncWebServer.h library is broken in this version, it seems that the current status is to rollback to the previous version. When you run the ESP32 LED PWM webserver tutorial, it compiles in the Arduino IDE, runs on the device ESP32-S3-Dev1 but the serial monitor returns following error after displaying the IP of the board:

“assert failed: tcp_alloc /IDF/components/lwip/lwip/src/core/tcp.c:1851 (Required to lock TCPIP core functionality!)”

Tutorial:
https://randomnerdtutorials.com/esp32-web-server-slider-pwm/

Looking for alternatives to the ESP32 platform, suggestions welcome.

]]>
By: macca_nz https://randomnerdtutorials.com/esp32-migrating-version-2-to-3-arduino/#comment-987116 Wed, 27 Nov 2024 19:13:27 +0000 https://randomnerdtutorials.com/?p=158531#comment-987116 I don’t think that is something the developers would consider but there is a way to quickly change between two or more versions.

The board libraries are installed in “C:\Users\%user%\AppData\Local\Arduino15\packages” and I take a copy of the old ESP library before updating. Then after updating you can quickly swap back by closing the IDE swap the ESP32 folders back and restart.

It’s much quicker than doing it in the IDE

]]>
By: Joseph McCarron https://randomnerdtutorials.com/esp32-migrating-version-2-to-3-arduino/#comment-987085 Wed, 27 Nov 2024 15:51:22 +0000 https://randomnerdtutorials.com/?p=158531#comment-987085 I wish arduino ide would let two different versions of framework exist. I could not install both versions. Updating 2.x projects to 3.x projects seems like something we should not have to do.
With platformio there is a pio/esp-arduino framework that does seem to work well with version 3.x. The platform is configured in the platformio.ini file and is part of the project.

]]>
By: Andreas https://randomnerdtutorials.com/esp32-migrating-version-2-to-3-arduino/#comment-987045 Wed, 27 Nov 2024 11:10:25 +0000 https://randomnerdtutorials.com/?p=158531#comment-987045 In reply to Jerry.

I do not know. I repartitioned the flash to meet my needs(OTA increased, User filesystem decreased. Now my firmware is using about 70% of OTA partition.

]]>
By: Jerry https://randomnerdtutorials.com/esp32-migrating-version-2-to-3-arduino/#comment-986951 Wed, 27 Nov 2024 00:34:13 +0000 https://randomnerdtutorials.com/?p=158531#comment-986951 In reply to Andreas.

Wow thanks,larger comepile size is a trouble as well. What if we compile a simple blink sketch(without including any library). The bin file size still be different?

]]>
By: Mel https://randomnerdtutorials.com/esp32-migrating-version-2-to-3-arduino/#comment-986935 Tue, 26 Nov 2024 23:41:57 +0000 https://randomnerdtutorials.com/?p=158531#comment-986935 TFT_eSPI library is broken too.

During compilation it mentions Zigbee and errors out.

]]>
By: Jeff https://randomnerdtutorials.com/esp32-migrating-version-2-to-3-arduino/#comment-967797 Mon, 07 Oct 2024 17:20:22 +0000 https://randomnerdtutorials.com/?p=158531#comment-967797 Do you have updated code for ESPNOW?
The data receive has changed as well as changing the MAC address.
I am trying to port a sketch from Arduino 1.8.19 and ESP32 1.0.4 by Espressif Systems.

]]>