Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No longer compiles after the update on Arduino IDE #53

Open
emanuelelaface opened this issue Jun 15, 2024 · 1 comment
Open

No longer compiles after the update on Arduino IDE #53

emanuelelaface opened this issue Jun 15, 2024 · 1 comment

Comments

@emanuelelaface
Copy link

After the latest update of Arduino IDE no example compiles anymore with the error Compilation error: 'TIMER_BASE_CLK' was not declared in this scope.
I think the reason is that it changed the API for the interrupts in the Arduino-ESP32 since version 3.0.0.

@tobozo
Copy link
Owner

tobozo commented Jun 15, 2024

hi,

indeed esp-idf timers have been migrated to GPTimers

currently the library supports two types of timers:

  • software timer
  • idf 4.x + hardware timer

and now it needs to be modified to handle a third type of timer:

  • idf 5.x + GPTimer

I tried a couple of times to follow the migration guide and only managed to get headaches, some breaking changes in the new timer concept prevent the usb main task to be called from an alarm callback function and I don't know well enough the new paradigm to find a solution to that problem.

so unless a good soul with enough skills provides help, support for arduino-esp32 3.x won't happen any time soon

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

No branches or pull requests

2 participants