Skip to content

Update espressif port from ESP-IDF v5.5.3 to v6.0.1#10922

Merged
dhalbert merged 5 commits into
adafruit:mainfrom
tannewt:idf6
May 7, 2026
Merged

Update espressif port from ESP-IDF v5.5.3 to v6.0.1#10922
dhalbert merged 5 commits into
adafruit:mainfrom
tannewt:idf6

Conversation

@tannewt
Copy link
Copy Markdown
Member

@tannewt tannewt commented Apr 3, 2026

No description provided.

@tannewt tannewt changed the title Migrate espressif port from ESP-IDF v5.5.3 to v6.0 Migrate espressif port from ESP-IDF v5.5.3 to v6.0.1 May 6, 2026
@tannewt tannewt requested a review from dhalbert May 6, 2026 16:42
@tannewt tannewt marked this pull request as ready for review May 6, 2026 16:42
Copy link
Copy Markdown
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had tried an earlier version of this on ESP32-C6 and saw the web workflow webserver working properly. I did that to test memcpy().

As another test, I ran the weather demo on a MagTag, which does WiFi and display operations and a lot of other stuff. It's working fine.

I'll merge this now to get it out for further testing.

@dhalbert dhalbert merged commit 45fecd2 into adafruit:main May 7, 2026
516 of 520 checks passed
@grgrant
Copy link
Copy Markdown

grgrant commented May 7, 2026

On a Feather ESP32S3 N4R2 with a freshly formatted drive simply typing import wifi at REPL causes a safemode crash. No issues on 10.3.0-alpha.1. Of the S3 releases published for this board between Alpha.1 and PR10922 none of the others crash importing wifi. However PR10984 for UM F3D new pin definition does crash in the same way -- perhaps includes code in 10922.

Checked this release on a Feather ESP32S2 TFT and didn't see the crash so perhaps a difference between S2 and S3 codebases (maybe bluetooth).

Adafruit CircuitPython 10.3.0-alpha.1-6-g45fecd285a on 2026-05-07; Adafruit Feather ESP32S3 4MB Flash 2MB PSRAM with ESP32S3
>>>
>>>
>>> import wifi

[14:58:03.339] Disconnected
[14:58:04.351] Warning: Could not open  (No such file or directory)
[14:58:04.352] Waiting for tty device..
[14:58:06.394] Connected to /dev/tty.usbmodem8B8F267DF7841

You are in safe mode because:
CircuitPython core code crashed hard. Whoops!
Hard fault: memory access or instruction error.
Please file an issue with your program at github.com/adafruit/circuitpython/issues.
Press reset to exit safe mode.

Press any key to enter the REPL. Use CTRL-D to reload.

In case it is helpful, the following debug/crash log is shown on a QtPy ESP32-S3 N4R2 console if one has a settings.toml with SSID/PASSWORD (all the reset of web workflow was not provided). It just loops and blinks the led blue.

ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x4038566e
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce2820,len:0x1854
load:0x403c8700,len:0x4
load:0x403c8704,len:0x11f4
load:0x403cb700,len:0x30c0
entry 0x403c8a5c
I (26) boot: ESP-IDF v5.3.2 2nd stage bootloader
I (26) boot: compile time Jul  3 2025 10:50:51
I (26) boot: Multicore bootloader
I (29) boot: chip revision: v0.2
I (33) boot: efuse block revision: v1.3
I (38) qio_mode: Enabling default flash chip QIO
I (43) boot.esp32s3: Boot SPI Speed : 80MHz
I (48) boot.esp32s3: SPI Mode       : QIO
I (52) boot.esp32s3: SPI Flash Size : 4MB
I (57) boot: Enabling RNG early entropy source...
I (63) boot: Partition Table:
I (66) boot: ## Label            Usage          Type ST Offset   Length
I (73) boot:  0 nvs              WiFi data        01 02 00009000 00005000
I (81) boot:  1 otadata          OTA data         01 00 0000e000 00002000
I (88) boot:  2 ota_0            OTA app          00 10 00010000 002c0000
I (96) boot:  3 uf2              factory app      00 00 002d0000 00040000
I (103) boot:  4 ffat             Unknown data     01 81 00310000 000f0000
I (111) boot: End of partition table
I (115) boot: Reset Reason = 12
I (119) boot: Reset hint = 4
I (122) esp_image: segment 0: paddr=00010020 vaddr=3c150020 size=41330h (267056) map
I (171) esp_image: segment 1: paddr=00051358 vaddr=3fc9e800 size=047d0h ( 18384) load
I (174) esp_image: segment 2: paddr=00055b30 vaddr=40374000 size=0a4e8h ( 42216) load
I (184) esp_image: segment 3: paddr=00060020 vaddr=42000020 size=14c444h (1360964) map
I (387) esp_image: segment 4: paddr=001ac46c vaddr=4037e4e8 size=1021ch ( 66076) load
I (400) esp_image: segment 5: paddr=001bc690 vaddr=50001fd0 size=00024h (    36) load
I (400) esp_image: segment 6: paddr=001bc6bc vaddr=600fe000 size=01060h (  4192) load
I (417) boot: Loaded app from partition at offset 0x10000
I (418) boot: Disabling RNG early entropy source...
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x4038566e
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce2820,len:0x1854
load:0x403c8700,len:0x4
load:0x403c8704,len:0x11f4
load:0x403cb700,len:0x30c0
entry 0x403c8a5c
I (26) boot: ESP-IDF v5.3.2 2nd stage bootloader
I (26) boot: compile time Jul  3 2025 10:50:51
I (26) boot: Multicore bootloader
I (29) boot: chip revision: v0.2
I (33) boot: efuse block revision: v1.3
I (38) qio_mode: Enabling default flash chip QIO
I (43) boot.esp32s3: Boot SPI Speed : 80MHz
I (48) boot.esp32s3: SPI Mode       : QIO
I (52) boot.esp32s3: SPI Flash Size : 4MB
I (57) boot: Enabling RNG early entropy source...
I (63) boot: Partition Table:
I (66) boot: ## Label            Usage          Type ST Offset   Length
I (73) boot:  0 nvs              WiFi data        01 02 00009000 00005000
I (81) boot:  1 otadata          OTA data         01 00 0000e000 00002000
I (88) boot:  2 ota_0            OTA app          00 10 00010000 002c0000
I (96) boot:  3 uf2              factory app      00 00 002d0000 00040000
I (103) boot:  4 ffat             Unknown data     01 81 00310000 000f0000
I (111) boot: End of partition table
I (115) boot: Reset Reason = 12
I (119) boot: Reset hint = 4
I (122) esp_image: segment 0: paddr=00010020 vaddr=3c150020 size=41330h (267056) map
I (171) esp_image: segment 1: paddr=00051358 vaddr=3fc9e800 size=047d0h ( 18384) load
I (174) esp_image: segment 2: paddr=00055b30 vaddr=40374000 size=0a4e8h ( 42216) load
I (184) esp_image: segment 3: paddr=00060020 vaddr=42000020 size=14c444h (1360964) map
I (387) esp_image: segment 4: paddr=001ac46c vaddr=4037e4e8 size=1021ch ( 66076) load
I (400) esp_image: segment 5: paddr=001bc690 vaddr=50001fd0 size=00024h (    36) load
I (400) esp_image: segment 6: paddr=001bc6bc vaddr=600fe000 size=01060h (  4192) load
I (417) boot: Loaded app from partition at offset 0x10000
I (418) boot: Disabling RNG early entropy source...
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x4038566e
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce2820,len:0x1854
load:0x403c8700,len:0x4
load:0x403c8704,len:0x11f4
load:0x403cb700,len:0x30c0
entry 0x403c8a5c
I (26) boot: ESP-IDF v5.3.2 2nd stage bootloader
I (26) boot: compile time Jul  3 2025 10:50:51
I (26) boot: Multicore bootloader
I (29) boot: chip revision: v0.2
I (33) boot: efuse block revision: v1.3
I (38) qio_mode: Enabling default flash chip QIO
I (43) boot.esp32s3: Boot SPI Speed : 80MHz
I (48) boot.esp32s3: SPI Mode       : QIO
I (52) boot.esp32s3: SPI Flash Size : 4MB
I (57) boot: Enabling RNG early entropy source...
I (63) boot: Partition Table:
I (66) boot: ## Label            Usage          Type ST Offset   Length
I (73) boot:  0 nvs              WiFi data        01 02 00009000 00005000
I (81) boot:  1 otadata          OTA data         01 00 0000e000 00002000
I (88) boot:  2 ota_0            OTA app          00 10 00010000 002c0000
I (96) boot:  3 uf2              factory app      00 00 002d0000 00040000
I (103) boot:  4 ffat             Unknown data     01 81 00310000 000f0000
I (111) boot: End of partition table
I (115) boot: Reset Reason = 12
I (119) boot: Reset hint = 4
I (122) esp_image: segment 0: paddr=00010020 vaddr=3c150020 size=41330h (267056) map
I (171) esp_image: segment 1: paddr=00051358 vaddr=3fc9e800 size=047d0h ( 18384) load
I (174) esp_image: segment 2: paddr=00055b30 vaddr=40374000 size=0a4e8h ( 42216) load
I (184) esp_image: segment 3: paddr=00060020 vaddr=42000020 size=14c444h (1360964) map
I (387) esp_image: segment 4: paddr=001ac46c vaddr=4037e4e8 size=1021ch ( 66076) load
I (400) esp_image: segment 5: paddr=001bc690 vaddr=50001fd0 size=00024h (    36) load
I (400) esp_image: segment 6: paddr=001bc6bc vaddr=600fe000 size=01060h (  4192) load
I (417) boot: Loaded app from partition at offset 0x10000
I (418) boot: Disabling RNG early entropy source...
ESP-ROM:esp32s3-20210327

...

@dhalbert dhalbert changed the title Migrate espressif port from ESP-IDF v5.5.3 to v6.0.1 Update espressif port from ESP-IDF v5.5.3 to v6.0.1 May 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants