-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Arduino 3.0.0 alpha1 missing entries for gpio_intr_enable
and gpio_intr_disable
#8737
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
Comments
This is ESP-IDF API and as such we do not have control over it. You are welcome to go complain in the ESP-IDF repo or use actual Arduino API (this is the Arduino repo). There is nothing we can/should do. We have however been providing the current Arduino version in a header, so you can filter by that in your lib and change the calls for IDF 5+ |
Well, the issue is that in ESP-IDF v5.1.x these calls are available, but when using this Arduino 3.0.0 alpha1 release, that AFAICS includes ESP-IDF v5.1.1, they aren't available... 🤔 |
@me-no-dev Do i understand correctly that the support for (which was there in Arduino 2.0.x) is dropped in Arduino 3.0.0? As @tonhuisman already said the API is in IDF 5.1. |
If it's in IDF, then it's in Arduino too. We do not control this. The point here is that we do not provide support for ESP-IDF APIs, we provide our own APIs (Arduino) and accept issues about those. The IDF APIs are for ESP-IDF's repo. |
Thx for clarifying! |
As Jason pointed out in the IRremoteESP8266 PR, using |
Board
ESP32 any
Device Description
Any ESP32 build using Arduino 3.0.0 aplha1 framework that uses
gpio_intr_enable
and/orgpio_intr_disable
entries.Hardware Configuration
d/c
Version
latest master (checkout manually)
IDE Name
PlatformIO
Operating System
Windows 11
Flash frequency
default
PSRAM enabled
yes
Upload speed
115200
Description
Trying to update the
IRremoteESP8266
library to use Arduino 3.0/IDF 5.1, but this doesn't compile for missing the entriesgpio_intr_enable
andgpio_intr_disable
.These entries are still available in the Arduino 2.0.14 release, and I'd expect them to be in the 3.0 release too. Or a properly documented alternative (though that's less desirable).
It is suggested to use
esp_intr_enable
andesp_intr_disable
as an alternative, but that has a different signature, so not really usable.Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: