Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

esp_reset_reason() not working when set log level none (CONFIG_LOG_DEFAULT_LEVEL_NONE=y) (IDFGH-14810) #15541

Open
dzungpv opened this issue Mar 9, 2025 · 0 comments
Labels
Status: Opened Issue is new

Comments

@dzungpv
Copy link

dzungpv commented Mar 9, 2025

I use esp_reset_reason() to detect crash on production firmware.
In my code I check the reason like ESP_RST_PANIC or ESP_RST_INT_WDT and switch device to safemode with limited hardware and peripheral install, because secure boot and flash encryption chip make it bricked if it enter boot loop, and there is no way to flash it.

It work fine if I set debug level from INFO to VERBOSE, it it will stop working when set:

CONFIG_LOG_DEFAULT_LEVEL_NONE=y

I don't know if this is a bug or by design.

@espressif-bot espressif-bot added the Status: Opened Issue is new label Mar 9, 2025
@github-actions github-actions bot changed the title esp_reset_reason() not working when set log level none (CONFIG_LOG_DEFAULT_LEVEL_NONE=y) esp_reset_reason() not working when set log level none (CONFIG_LOG_DEFAULT_LEVEL_NONE=y) (IDFGH-14810) Mar 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Opened Issue is new
Projects
None yet
Development

No branches or pull requests

2 participants