make is ok
but download the bin to esp32 to run... is error :
W (3562) MQTT_CLIENT: Registering event loop while event callback is not null, clearing ca
llback
assertion "event_loop" failed: file "C:/msys32/home/Administrator/esp/esp-idf/components/e
sp_event/esp_event.c", line 647, function: esp_event_handler_register_with
abort() was called at PC 0x400d4f7f on core 0
0x400d4f7f: __assert_func at /Users/ivan/e/newlib_xtensa-2.2.0-bin/newlib_xtensa-2.2.0/xte
nsa-esp32-elf/newlib/libc/stdlib/../../../.././newlib/libc/stdlib/assert.c:63 (discriminat
or 8)
ELF file SHA256: 4a7ae9eb2dcc2470950fe73fa84a1a29eed5daf0d35b91b7ea1111610014de33
Backtrace: 0x40087344:0x3ffbae60 0x40087591:0x3ffbae80 0x400d4f7f:0x3ffbaea0 0x40157425:0x
3ffbaed0 0x400d4749:0x3ffbaf00 0x400d2dc4:0x3ffbaf20 0x400d2fe9:0x3ffbafb0 0x400d136e:0x3f
fbafd0 0x4008d299:0x3ffbaff0
0x40087344: invoke_abort at C:/msys32/home/Administrator/esp/esp-idf/components/esp32/pani
c.c:715
0x40087591: abort at C:/msys32/home/Administrator/esp/esp-idf/components/esp32/panic.c:715
0x400d4f7f: __assert_func at /Users/ivan/e/newlib_xtensa-2.2.0-bin/newlib_xtensa-2.2.0/xte
nsa-esp32-elf/newlib/libc/stdlib/../../../.././newlib/libc/stdlib/assert.c:63 (discriminat
or 8)
0x40157425: esp_event_handler_register_with at C:/msys32/home/Administrator/esp/esp-idf/co
mponents/esp_event/esp_event.c:647 (discriminator 1)
0x400d4749: esp_mqtt_client_register_event at C:/msys32/home/Administrator/esp/esp-idf/com
ponents/mqtt/esp-mqtt/mqtt_client.c:1319
0x400d2dc4: mqtt_app_start at C:/msys32/home/Administrator/esp/esp-idf/examples/protocols/
mqtt/tcp/main/app_main.c:140
0x400d2fe9: app_main at C:/msys32/home/Administrator/esp/esp-idf/examples/protocols/mqtt/t
cp/main/app_main.c:169
0x400d136e: main_task at C:/msys32/home/Administrator/esp/esp-idf/components/esp32/cpu_sta
rt.c:527
0x4008d299: vPortTaskWrapper at C:/msys32/home/Administrator/esp/esp-idf/components/freert
os/port.c:403
assertion "event_loop" failed: file
Re: assertion "event_loop" failed: file
Solved the problem.
Who is online
Users browsing this forum: No registered users and 66 guests