Skip to content

Conversation

@hoefnageltom
Copy link
Contributor

@hoefnageltom hoefnageltom commented Jan 15, 2026

Description

esp_sleep_get_wakeup_cause is deprecated from IDF v6 and replaced with esp_sleep_get_wakeup_causes returning a bitmap of wakeup causes. This PR adds support for this new function and removes the deprecation warning.

Related

Issue: #152

Testing

Tested it with ESP-IDF v5.5.1 and 6.0-beta1


Checklist

Before submitting a Pull Request, please ensure the following:

  • 🚨 This PR does not introduce breaking changes.
  • All CI checks (GH Actions) pass.
  • Documentation is updated as needed.
  • Tests are updated or added as necessary.
  • Code is well-commented, especially in complex areas.
  • Git history is clean — commits are squashed to the minimum necessary.

@hoefnageltom hoefnageltom marked this pull request as ready for review January 15, 2026 10:02
@github-actions github-actions bot changed the title Fix deprecated wakeup cause retrieval allowing multiple wakeup reasons Fix deprecated wakeup cause retrieval allowing multiple wakeup reasons (AEGHB-1374) Jan 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant