midilab / uClock

A tight BPM clock generator for Arduino and PlatformIO using hardware timer interruption. AVR, Teensy, STM32xx, ESP32 and RP2040 support
https://midilab.co/umodular
MIT License
165 stars 22 forks source link

The timer handling changed in the ESP32 Arduino libraries, see docume… #46

Closed rdridder closed 1 week ago

rdridder commented 1 month ago

Hiya,

The timer handling changed in the ESP32 Arduino libraries, see documentation: https://docs.espressif.com/projects/arduino-esp32/en/latest/api/timer.html

I have adjusted the code so it compiles again. I was building Aciduino when I discovered the issue.

Cheers,

Ron

midilab commented 3 weeks ago

Hi @rdridder ,

Thank you for test, debug and fixes.

Can you tell me your environment setup?

Arduino core for the ESP32: espressif latest? 3.0.5? Arduino IDE version: ESP32 Module:

Everytime a new change on uClock or uCtrl happens, i do some tests on the microcontrollers officially supported before a new release. Since there are tons of ESP32 different models, some of then could not be fully compatible yet, so a solution that don't break old ones and bring new models to support list is what we are trying to achieve.

I will try to update README with current supported versions of dependency libraries, and also the esp32 models know to work. The latest espressif arduino core tested and know to work was 2.0.18. So this pull request will be a update to espressif supported version on uClock and uCtrl.

Once again thank you for the contribution, i will try to compile, run and test things asap.

rdridder commented 3 weeks ago

Hi @midilab,

I am using Windows 11, version 23H2 (OS Build 22631.4317)

Arduino core for the ESP32 Version: 3.0.5

Arduino IDE Version: 2.3.3 Date: 2024-09-25T09:41:18.242Z CLI Version: 1.0.4

ESP32 Module It is basically an ultra cheap model from AliExpress, I will try to list as much info as I have below. Engraved on chip: ESP32-WROOM-32D Back of board: ESP32_Devkitc_V4

esp32

Please let me know if you require more information.

Have a great evening,

Ron