Closed finger563 closed 1 month ago
skip_unhandled_events
HighResolutionTimer::Config
false
dispatch_method
ESP_TIMER_TASK
Allows more granular configuration / customization using the full esp_timer API.
Building and running the timer/example on a QtPy ESP32S3.
timer/example
With CONFIG_ESP_TIMER_PROFILING enabled:
CONFIG_ESP_TIMER_PROFILING
With it disabled:
.github/workflows/build.yml
:white_check_mark:Static analysis result - no issues found! :white_check_mark:
Description
skip_unhandled_events
toHighResolutionTimer::Config
to allow caller to configure (defaultfalse
).dispatch_method
toHighResolutionTimer::Config
to allow caller to configure (defaultESP_TIMER_TASK
).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![CleanShot 2024-05-28 at 09 09 00](https://github.com/esp-cpp/espp/assets/213467/2e6395c7-61d6-4d37-a526-9eaadd090d75)
CONFIG_ESP_TIMER_PROFILING
enabled:With it disabled:![CleanShot 2024-05-28 at 09 07 28](https://github.com/esp-cpp/espp/assets/213467/135245d5-18ee-491b-8e09-6e4d228b2d34)
Types of changes
Checklist:
Software
.github/workflows/build.yml
file to add my new test to the automated cloud build github action.