Esp32 system update

just installed the esp32 system update automatically downloaded. was working on project and went to compile. I got this error after the system update. was working perfectly before. C:\Users\15803\Documents\Arduino\libraries\ESP32_PWM\src/ESP32_PWM.hpp:286:23: error: 'TIMER_BASE_CLK' was not declared in this scope
286 | _frequency = TIMER_BASE_CLK / TIMER_DIVIDER;
| ^~~~~~~~~~~~~~
Whats going on?

There were significant changes between 2.x and 3.0. Timer support was one of the areas.
https://docs.espressif.com/projects/arduino-esp32/en/latest/migration_guides/2.x_to_3.0.html

Here is how to revert to 2.x : Downgrade from v3.0.x to v2.0.x
See the contribution by @ptillisch

Thanks for the info. Lots of changes.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.