You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use the latest repo version (download link) and verified this!
What are the steps to reproduce this issue?
Preconditions:
Arduino IDE 2.3.2
ESP32 Core API v. 3.0.2 installed
Talkie Library installed
Steps:
Create new sketch with any of the demo examples from Talkie (only 2 were necessary).
Verify the sketch
Results:
Compilation fails.
What happens?
Compilation errors are reported for several functions that different signature or are just non-existing.
The serial output which indicates the error happened.
/Users/username/Documents/Arduino/libraries/Talkie/src/Talkie.cpp: In member function'voidTalkie::initializeHardware()':/Users/username/Documents/Arduino/libraries/Talkie/src/Talkie.cpp:326:44: error: too many arguments to function 'hw_timer_t* timerBegin(uint32_t)' 326 | sTalkieSampleRateTimer = timerBegin(1, APB_FREQUENCY_DIVIDER, true); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~In file included from /Users/username/Library/Arduino15/packages/esp32/hardware/esp32/3.0.2/cores/esp32/esp32-hal.h:84, from /Users/username/Library/Arduino15/packages/esp32/hardware/esp32/3.0.2/cores/esp32/Arduino.h:36, from /Users/username/Documents/Arduino/libraries/Talkie/src/Talkie.cpp:78:/Users/username/Library/Arduino15/packages/esp32/hardware/esp32/3.0.2/cores/esp32/esp32-hal-timer.h:35:13: note: declared here 35 | hw_timer_t *timerBegin(uint32_t frequency); | ^~~~~~~~~~/Users/username/Documents/Arduino/libraries/Talkie/src/Talkie.cpp:327:29: error: too many arguments to function 'void timerAttachInterrupt(hw_timer_t*, void (*)())' 327 | timerAttachInterrupt(sTalkieSampleRateTimer, timerInterrupt, true); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/Users/username/Library/Arduino15/packages/esp32/hardware/esp32/3.0.2/cores/esp32/esp32-hal-timer.h:50:6: note: declared here 50 | void timerAttachInterrupt(hw_timer_t *timer, void (*userFunc)(void)); | ^~~~~~~~~~~~~~~~~~~~/Users/username/Documents/Arduino/libraries/Talkie/src/Talkie.cpp:328:9: error: 'timerAlarmWrite' was not declared in this scope; did you mean 'timerWrite'? 328 | timerAlarmWrite(sTalkieSampleRateTimer, (getApbFrequency() / APB_FREQUENCY_DIVIDER) / SAMPLE_RATE, true); | ^~~~~~~~~~~~~~~ | timerWrite/Users/username/Documents/Arduino/libraries/Talkie/src/Talkie.cpp:330:5: error: 'timerAlarmEnable' was not declared in this scope; did you mean 'timerAlarm'? 330 | timerAlarmEnable(sTalkieSampleRateTimer); | ^~~~~~~~~~~~~~~~ | timerAlarm/Users/username/Documents/Arduino/libraries/Talkie/src/Talkie.cpp: In member function 'void Talkie::terminateHardware()':/Users/username/Documents/Arduino/libraries/Talkie/src/Talkie.cpp:449:9: error: 'timerAlarmDisable' was not declared in this scope 449 | timerAlarmDisable(sTalkieSampleRateTimer); | ^~~~~~~~~~~~~~~~~exit status 1Compilation error: exit status 1
What were you expecting to happen?
Successful compilation, no errors.
Additional context.
The samples were compiled successfully after downgrading to ESP32 Core v 2.0.17 in Arduino IDE boards manager.
The type of board you are using.
ESP32 board
What IDE are you using?
Arduino IDE
Example(s) you have checked while hunting the bug.
Example(s) to reproduce the issue.
The library version you are working with.
What are the steps to reproduce this issue?
Preconditions:
Steps:
Results:
Compilation fails.
What happens?
Compilation errors are reported for several functions that different signature or are just non-existing.
The serial output which indicates the error happened.
What were you expecting to happen?
Successful compilation, no errors.
Additional context.
The samples were compiled successfully after downgrading to ESP32 Core v 2.0.17 in Arduino IDE boards manager.
ESP32 Core API v.3.0.2 has removed or modified several functions used by Talkie, as seen in ESP's documentation: Migration from 2.x to 3.0
Additional info can be found here: 3.0.0 version Migration related issues
Final checklist for the bug report.
The text was updated successfully, but these errors were encountered: