Using PIO in a Windows environment.
Have done -
pio pkg update -g -p espressif32
When a packet is received via Wireguard - it works OK with Wireguard disabled -
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x400895c3 PS : 0x00060330 A0 : 0x800e7101 A1 : 0x3ffceeb0
A2 : 0x00000000 A3 : 0x3ffb5644 A4 : 0x00000000 A5 : 0x00000001
A6 : 0x00060f20 A7 : 0x00000001 A8 : 0x800e6f42 A9 : 0x3ffcee60
A10 : 0x00000001 A11 : 0x3ffb51f0 A12 : 0x3ffb51a4 A13 : 0x00000000
A14 : 0x3ffb51f0 A15 : 0x00000000 SAR : 0x00000010 EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000000 LBEG : 0x40089611 LEND : 0x40089621 LCOUNT : 0xfffffff3
Backtrace: 0x400895c0:0x3ffceeb0 0x400e70fe:0x3ffceec0 0x400e6d3d:0x3ffceee0 0x400e6d90:0x3ffcef00 0x400e6dee:0x3ffcef20
0x400d7eba:0x3ffcef40 0x400d81a3:0x3ffcef70 0x400d81db:0x3ffcf000 0x400d8210:0x3ffcf020
#0 0x400895c0:0x3ffceeb0 in strcmp at /builds/idf/crosstool-NG/.build/HOST-x86_64-w64-mingw32/xtensa-esp32-elf/src/newlib/newlib/libc/machine/xtensa/strcmp.S:467
#1 0x400e70fe:0x3ffceec0 in esp_netif_get_handle_from_ifkey at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_netif/esp_netif_objects.c:182
#2 0x400e6d3d:0x3ffceee0 in netif_from_if at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/tcpip_adapter/tcpip_adapter_compat.c:76
#3 0x400e6d90:0x3ffcef00 in netif_from_if at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/tcpip_adapter/tcpip_adapter_compat.c:74
#4 0x400e6dee:0x3ffcef20 in tcpip_adapter_get_netif at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/tcpip_adapter/tcpip_adapter_compat.c:226
#5 0x400d7eba:0x3ffcef40 in AsyncUDPPacket::AsyncUDPPacket(AsyncUDP*, pbuf*, ip_addr const*, unsigned short, netif*) at C:/Users/Andy/.platformio/packages/framework-arduinoespressif32/libraries/AsyncUDP/src/AsyncUDP.cpp:334
#6 0x400d81a3:0x3ffcef70 in AsyncUDP::_recv(udp_pcb*, pbuf*, ip_addr const*, unsigned short, netif*) at C:/Users/Andy/.platformio/packages/framework-arduinoespressif32/libraries/AsyncUDP/src/AsyncUDP.cpp:700
#7 0x400d81db:0x3ffcf000 in AsyncUDP::_s_recv(void*, udp_pcb*, pbuf*, ip_addr const*, unsigned short, netif*) at C:/Users/Andy/.platformio/packages/framework-arduinoespressif32/libraries/AsyncUDP/src/AsyncUDP.cpp:709
#8 0x400d8210:0x3ffcf020 in _udp_task(void*) at C:/Users/Andy/.platformio/packages/framework-arduinoespressif32/libraries/AsyncUDP/src/AsyncUDP.cpp:137
If I use a J-Link I get -
strcmp () at /builds/idf/crosstool-NG/.build/HOST-x86_64-w64-mingw32/xtensa-esp32-elf/src/newlib/newlib/libc/machine/xtensa/strcmp.S:470
470 /builds/idf/crosstool-NG/.build/HOST-x86_64-w64-mingw32/xtensa-esp32-elf/src/newlib/newlib/libc/machine/xtensa/strcmp.S: No such file or directory.
Any ideas?
Thanks
Andy.