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

uClock does not compile with ESP32-C3 #39

Open underwoodblog opened 7 months ago

underwoodblog commented 7 months ago

As the title says:

In file included from G:\PortableApps\arduino\portable\sketchbook\libraries\uClock\src\uClock.cpp:52: G:\PortableApps\arduino\portable\sketchbook\libraries\uClock\src\platforms/esp32.h:28:48: error: macro "portYIELD_FROM_ISR" passed 1 arguments, but takes just 0 portYIELD_FROM_ISR(xHigherPriorityTaskWoken); ^ G:\PortableApps\arduino\portable\sketchbook\libraries\uClock\src\platforms/esp32.h: In function 'void handlerISR()': G:\PortableApps\arduino\portable\sketchbook\libraries\uClock\src\platforms/esp32.h:28:5: error: 'portYIELD_FROM_ISR' was not declared in this scope portYIELD_FROM_ISR(xHigherPriorityTaskWoken);

old ESP32 and ESP32 S2 compiles, ESP32 C3 not!