You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support Esp32-c5 as wifi co-processor for P4 #5582
C5 as co-processor ( detected slave esp32c5 , expected ! esp32c6
( and boot loops appears)
I don't have a P4+C5 board for testing - but generally arduino-esp32 is managing the Wifi processor via "esp-hosted" internally.
Can you create a debug build, and upload the serial monitor output? That would be the first step for understanding what happens.
🤔 as I expected ... the coprocessor MCU is "baked" into the arduino-esp32 libraries. To change the sdkconfig file, we would need a "hybrid" esp-idf build (arduino as a component), currently this is not possible. I'll keep an eye on it, but unless there is an arduino setting to change the coprocessor, we'll be stuck with P4+C6 boards only.
Activity
netmindz commentedon May 9, 2026
I think this is defined in the board definition, have you tried setting a suitable value for your board?
softhack007 commentedon May 9, 2026
I don't have a P4+C5 board for testing - but generally arduino-esp32 is managing the Wifi processor via "esp-hosted" internally.
Can you create a debug build, and upload the serial monitor output? That would be the first step for understanding what happens.
softhack007 commentedon May 9, 2026
sorry accidentially clicked on "close" instead of "comment" 😇
[-]Esp32c5 as co-processor ( feature request)[/-][+]Support Esp32-c5 as wifi co-processor for P4[/+]djmaus-build commentedon May 9, 2026
@softhack007 ( logfile )
---WLED 17.0.0-devV5 2603281 INIT---
esp-idf v5.5.2-729-g87912cd291
arduino-esp32 v3.3.7
CPU: ESP32-P4 rev.100, 2 core(s), 360 MHz.
FLASH: 16 MB, Mode 0 (QIO), speed 80 MHz.
heap 533124
JSON buffer size: 65534bytes
PSRAM: 32697kB/32768kB
[ 41][W][WiFiGeneric.cpp:906] getTxPower(): Neither AP or STA has been started
TX power: 78/78
PIN ALLOC: Pin 37 successfully allocated by 0x89.
PIN ALLOC: 0x00002000000000.
heap 533072
checking for bootloop: time 383256694, counter 743883055, action 1366394097
restore /cfg.json
no backup found
Reading config
Reading settings from /wsec.json...
JSON buffer locked. (3)
JSON buffer released. (3)
JSON buffer locked. (1)
Reading settings from /cfg.json...
Heap before buses: 530356
No busses, init default
PIN ALLOC: Pin 0 successfully allocated by 0x85.
PIN ALLOC: 0x00002000000001.
Starting usermod config.
JSON buffer released. (1)
heap 530200
Initializing strip
Heap before buses: 530200
PIN ALLOC: Pin 2 successfully allocated by 0x82.
PIN ALLOC: 0x00002000000005.
Estimated buses + pixel-buffers size: 780B
Heap after buses: 528820
Loading custom palettes
Loading custom ledmaps
strip buffer size: 120B
Heap after strip init: 528820B
-- Creating segment: 0x4ff3ee1c [0,30:0,1]
heap 528592
Usermods setup
heap 528592
getWLEDHostname: 'wled-e0bcdc'
[ 151][I][esp32-hal-hosted.c:275] hostedInitWiFi(): Initializing ESP-Hosted for WiFi
[ 163][I][esp32-hal-hosted.c:186] hostedInit(): Initializing ESP-Hosted
[ 171][I][esp32-hal-hosted.c:211] hostedInit(): ESP-Hosted initialized!
E (1869) transport: Identified slave [esp32c5] != Expected [esp32c6]
run 'idf.py menuconfig' at host to reselect the slave?
Aborting..
assert failed: verify_host_config_for_slave transport_drv.c:586 (0!=0)
Core 0 register dump:
MEPC : 0x4ff08a74 RA : 0x4ff08a2a SP : 0x4ff28740 GP : 0x4ff14000
TP : 0x4ff28960 T0 : 0x37363534 T1 : 0x7271706f T2 : 0x33323130
S0/FP : 0x00000001 S1 : 0x4ff288b6 A0 : 0x4ff287a4 A1 : 0x4ff16611
A2 : 0x00000001 A3 : 0x00000029 A4 : 0x00000001 A5 : 0x4ff1e000
A6 : 0x0000000c A7 : 0x76757473 S2 : 0x00000081 S3 : 0x4ff28798
S4 : 0x4ff28798 S5 : 0x4ff287a4 S6 : 0x00000012 S7 : 0x00000001
S8 : 0x00000000 S9 : 0x00000000 S10 : 0x00000000 S11 : 0x00000000
T3 : 0x6e6d6c6b T4 : 0x6a696867 T5 : 0x66656463 T6 : 0x62613938
MSTATUS : 0x00011880 MTVEC : 0x4ff00003 MCAUSE : 0x00000002 MTVAL : 0x00000000
MHARTID : 0x00000000
Stack memory:
try to find sdkconfig for the board settings , but not found :)
hope this log telling you something ?
thanks for the support in any way
softhack007 commentedon May 9, 2026
🤔 as I expected ... the coprocessor MCU is "baked" into the arduino-esp32 libraries. To change the sdkconfig file, we would need a "hybrid" esp-idf build (arduino as a component), currently this is not possible. I'll keep an eye on it, but unless there is an arduino setting to change the coprocessor, we'll be stuck with P4+C6 boards only.