Does anybody know hot to enable core dump to flash within platform io? Should be done in esp-idf with menuconfig but how I can get it active within platform io? Perhaps an enhancement request to arduino-esp32 framework?
found a good example from you and added it to my code. The coredump is created correctly, so no issue to create a coredump. But I faced that my ESP32 projects crashing unregularly with interrupt watchdog issues, do you know why they are not results into a coredump? Is this because of the watchdog?
Anyway I solved my issue: during testing I found out that it seems caused by the esphome MqttClient library if wifi quality is poor. Switching to the original maintained repo and newest version fixed it. marvinroger/AsyncMqttClient@^0.9.0 contains an enhancement to queue messages which perhaps correct my problem.