Search found 3 matches

by einglis
Tue Mar 19, 2024 5:46 pm
Forum: ESP32 Arduino
Topic: Timers with ISR dispatch
Replies: 2
Views: 1311

Re: Timers with ISR dispatch

Thanks for the link, @lbernstone. From there I can see:

Code: Select all

# CONFIG_ESP_TIMER_SUPPORTS_ISR_DISPATCH_METHOD is not set
Darn. :(
by einglis
Mon Mar 18, 2024 9:38 pm
Forum: ESP32 Arduino
Topic: Timers with ISR dispatch
Replies: 2
Views: 1311

Timers with ISR dispatch

I want to use a timer (`esp_timer_create`) with ISR dispatch. The docs say this requires: esp_timer_create_args_t timer_config; ... timer_config.dispatch_method = ESP_TIMER_ISR; Where `ESP_TIMER_ISR` is only defined if `CONFIG_ESP_TIMER_SUPPORTS_ISR_DISPATCH_METHOD` is also defined. In my code, both...
by einglis
Thu Feb 08, 2024 3:42 pm
Forum: General Discussion
Topic: ESP8266 Schedule.h on ESP32
Replies: 0
Views: 365

ESP8266 Schedule.h on ESP32

I'm moving an Arduino-esq project from ESP8266 to ESP32 and naively hoped it would be as simple as changing the board type and re-compiling. Not so :( In particular, I was making use of `Schedule.h` (https://github.com/esp8266/Arduino/blob/master/cores/esp8266/Schedule.h), but this is not present in...