Skip to content

ESP32S2: cpu.reset_reason is wrong when resetting from button or microcontroller #4304

@Neradoc

Description

@Neradoc

The ESP32S2 gives POWER_ON as a reset reason when pressing the reset button (I expected RESET_PIN).
microcontroller.reset() gets a WATCHDOG reset reason (expected SOFTWARE).

Tested on MagTag (latest) and ttgo (beta 2), printing out microcontroller.cpu.reset_reason.

Metadata

Metadata

Assignees

Labels

bugespressifapplies to multiple Espressif chips

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions