Code: Select all
esp_timer_create_args_t timer_config;
...
timer_config.dispatch_method = ESP_TIMER_ISR;
If I set the dispatch method to `ESP_TIMER_TASK`, things work as might be expected, but if I use `ESP_TIMER_ISR` as above, `esp_timer_create` returns error 258, which is `ESP_ERR_INVALID_ARG`.
From what I can see in https://github.com/espressif/esp-idf/bl ... mer.c#L128, this implies that the library has been compiled without `CONFIG_ESP_TIMER_SUPPORTS_ISR_DISPATCH_METHOD` defined, meaning `ESP_TIMER_MAX` is 1, and `ESP_TIMER_ISR` is therefore rejected.
Is there any way to check this implication? If so, is there any way to obtain a different configuration? Or have I missed a much more basic issue?
ps. I've tried to annotate my inline code with backticks because I could not work out the correct forum tag