Hello,
My app has esp32s running in remote and inaccessible locations. In order to see and debug issues in this environment I am redirecting logging to a a file which I am then able to retrieve remotely.
Sometimes, when running in the lab and looking at my serial monitor I see various errors (task wdt overflows for instance) that are logged using ESP_EARLY and so are not captured by my redirect using esp_log_set_vprintf().
Is there anyway I can capture these ESP_EARLY msgs so I can save them to file without forking the IDF?
Thank you.
Possible to redirect ESP_EARLY_LOG* as well as ESP_LOG*?
Re: Possible to redirect ESP_EARLY_LOG* as well as ESP_LOG*?
https://github.com/espressif/esp-idf/bl ... #L253-L261
But you are going to have restrictions on what you can do in that context so you probably have to write to a memory buffer and handle it later.
But you are going to have restrictions on what you can do in that context so you probably have to write to a memory buffer and handle it later.
Re: Possible to redirect ESP_EARLY_LOG* as well as ESP_LOG*?
That did it!
Thank you very much.
Bill
Thank you very much.
Bill
Who is online
Users browsing this forum: Baidu [Spider] and 256 guests