-
Notifications
You must be signed in to change notification settings - Fork 834
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
Feature Request: Support for esp32 Arduino 3.0.0 #2039
Comments
Can you be more specific? What exactly don't work? |
Trying to compile
|
I made a Platform to use Arduino 3.0.0 alpha1 with Platformio. Just use this for esp32 devices
|
The compilation issues above are already solved in the Tasmota Not yet testing with hardware, just 'making it work' first 😅 |
The |
@tonhuisman Platform 2023.10.10 uses the code base of Arduino 3.0.0 alpha1 release. |
@tonhuisman Now the fun starts, it does compile now with your open PR. Try to receive something. |
Not sure if that's to blame on my work, as I just copied the mods made at Tasmota 😄 |
It crashes with Tasmota too. Earlier WiP builds (before alpha1) did not crash. |
I have fixed the crash and the timer issues here arendst/Tasmota#19904 |
Thanks! |
I've applied the latest fixes by @s-hadinger and also added an extra NULL-check so it won't crash and burn when |
I'm also getting the same error on the ESP32 38-pin Development Board. Is there any update regarding this issue? What should I do? Could you please guide me on this problem?
|
We have made all the fixes in Tasmota but I lost track of which ones were backported here |
@avinashboy Are you compiling #2040 with IDF 5.1? As only that branch (PR) is adjusted and (somewhat) tested with IDF 5.1, the main 2.8.6 release doesn't have that (yet). |
I am a teacher, 4 days ago, arduino-esp32 was officially updated to version 3.0.0 Release, then I found that IRremoteESP8266 compiler error, currently I can only let students use arduino-esp32 version 2.0.17. Will you update the library in the future to make it compatible with 3.0.0?Wish you a happy life. |
Yes, I do |
Thank you very much. Looking forward to your update. |
Thank you so much. It works if we downgrade the ESP32 board manager to 2.0.17. |
Hi Guys! First at all, congratulations by IRremoteESP8266! By the way, I tried esp32-arduino-libs-3.0.2@idf-release_v5.1 and I would like you let know the compile problems: Using library IRremoteESP8266 version 2.8.6 by David Conran, Mark Szabo, Sebastien Warin, Roi Dayan, Massimiliano Pinto, Christian Nilsson in folder "C:\Users\phmota\Documents\Arduino\libraries\IRremoteESP8266" irrecv.cpp: In function void gpio_intr() irrecv.cpp: 246:3: error: 'timerAlarmEnable' was not declared in this scope; did you mean 'timerAlarm'? irrecv.cpp: 362:21: error: too many arguments to function 'hw_timer_t* timerBegin(uint32_t) esp32-hal.h:84: In file included from irrecv.cpp: 371:3: error: 'timerAlarmWrite' was not declared in this scope; did you mean 'timerWrite'? irrecv.cpp: 375:23: error: too many arguments to function 'void timerAttachInterrupt(hw_timer_t*, void (*)()) irrecv.cpp: 401:3: error: 'timerAlarmDisable' was not declared in this scope irrecv.cpp: 416:3: error: 'gpio_intr_disable' was not declared in this scope; did you mean 'esp_intr_disable'? irrecv.cpp: 429:3: error: 'timerAlarmDisable' was not declared in this scope irrecv.cpp: 430:3: error: 'gpio_intr_enable' was not declared in this scope; did you mean 'esp_intr_enable'? |
@phphengenharia use the PR #2040 which adds the needed changes. |
It compiled fine. Thanks. |
I need also the update for Espressif ver 3.x |
Repeated answer: |
Steps to use PR #2040 in Arduino IDE 2.3.2 under Linux (no IDE restart required): ##########
# prerequisites:
# * have Github "gh" cli tool installed, e.g. for Debian 12 with "sudo apt install gh" (while quite outdated, it works for these steps)
# * in Arduino IDE 2's Library Manager GUI, remove any currently installed "IRremoteESP8266" released library, e.g. remove the currently latest (as of this writing) release 2.8.6
##########
# clone *this* repository to Arduino IDE 2's library directory:
cd "${HOME}/Arduino/libraries/"
git clone https://github.com/crankyoldgit/IRremoteESP8266.git
# check out merge request #2040:
cd "${HOME}/Arduino/libraries/IRremoteESP8266/"
gh pr checkout 2040
# if this is the first time the gh command is used, follow setup instructions,
# e.g. "gh auth login"
# then execute "gh pr checkout 2040" again
# if everything went well, "git show --summary" should show the following latest commit:
# $ git show --summary
# commit db98aa001b8302ee827d1cd23367eb43480ba5ee (HEAD -> feature/C++20-compatibility)
# Author: Ton Huisman <[email protected]>
# Date: Thu Nov 2 21:22:16 2023 +0100
#
# [Lib] Add latest ESP32 fixes by @s-hadinger, add extra NULL safeguard, update Platform build
# |
Steps to use PR #2040 in Arduino IDE 2.3.2 under Linux (no IDE restart required): Can someone provide a Windows solution? |
For Windows the |
This comment was marked as off-topic.
This comment was marked as off-topic.
It seems not working with arduino-esp32 V3.0.4 In function 'void gpio_intr()': |
@kaituoshe Then most likely you didn't pull the PR code local, as described above. |
I'm considering merging #2144, looking for feedback from anyone that could help test. |
I tested #2144 on a Seeeduino Xiao ESP32C3 using pioarduino platform, not problem so far. (well no more that the base library on Arduino 2, I get garbage output when using Wifi, but that's another story. Without Wifi it's OK) |
Espressif Arduino 3.0.0 alpha for ESP32, ESP32-S2, ESP32-S3, ES32C3 and ESP32-C6 is released.
IRremoteESP8266 does not work with. Compile errors
The text was updated successfully, but these errors were encountered: