esp-cpp / espp

C++ components for ESP
https://esp-cpp.github.io/espp/
MIT License
28 stars 9 forks source link

feat(timer): allow `skip_unhandled_events` and timer dispatch configuration for `HighResolutionTimer` #246

Closed finger563 closed 1 month ago

finger563 commented 1 month ago

Description

Motivation and Context

Allows more granular configuration / customization using the full esp_timer API.

How has this been tested?

Building and running the timer/example on a QtPy ESP32S3.

Screenshots (if appropriate, e.g. schematic, board, console logs, lab pictures):

With CONFIG_ESP_TIMER_PROFILING enabled: CleanShot 2024-05-28 at 09 09 00

With it disabled: CleanShot 2024-05-28 at 09 07 28

Types of changes

Checklist:

Software

github-actions[bot] commented 1 month ago

:white_check_mark:Static analysis result - no issues found! :white_check_mark: