-
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
[XIAO_ESP32C6] IRrecv.cpp:246:3: error: 'timerAlarmEnable' was not declared in this scope; did you mean 'timerAlarm'? #2123
Comments
I went ahead an tried another branch of the library from this PR: #2040
Then I restarted my IDE, pressed "Verify" which led to a successful build 🎉 @tonhuisman do you know what is missing to merge your PR? |
Duplicate of #2039 #2122 |
For others coming this way, here is my ; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[env:esp32-c6-devkitm-1]
board = esp32-c6-devkitm-1
platform = espressif32
platform_packages =
platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.3
platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/esp32-arduino-libs.git#idf-release/v5.1
framework = arduino
monitor_speed = 115200
lib_deps =
https://github.com/tonhuisman/IRremoteESP8266/archive/feature/C++20-compatibility.zip
I also had to edit the // ~/.platformio/platforms/espressif32/boards/esp32-c6-devkitc-1.json
{
"build": {
"core": "esp32",
"f_cpu": "160000000L",
"f_flash": "80000000L",
"flash_mode": "qio",
"mcu": "esp32c6",
"variant": "esp32c6"
},
"connectivity": ["wifi"],
"debug": {
"openocd_target": "esp32c6.cfg"
},
"frameworks": ["espidf", "arduino"],
"name": "Espressif ESP32-C6-DevKitM-1",
"upload": {
"flash_size": "4MB",
"maximum_ram_size": 327680,
"maximum_size": 4194304,
"require_upload_port": true,
"speed": 460800
},
"url": "https://docs.espressif.com/projects/espressif-esp-dev-kits/en/latest/esp32c6/esp32-c6-devkitm-1/index.html",
"vendor": "Espressif"
} |
Version/revision of the library used
2.8.6
Describe the bug
When running the verify command on Arduino IDE, it refuses to compile. It seems to be related to recent modifications in the arduino framework as mentioned here: #2053
EDIT: The most promising solution seems to be in the PR: #2039
To Reproduce
XIAO_ESP32C6
as the target boardExample code used
Expected behaviour
I would expect the verify step to successfully compile.
Output of raw data from IRrecvDumpV2.ino or V3 (if applicable)
Circuit diagram and hardware used (if applicable)
XIAO_ESP32C6
I have followed the steps in the Troubleshooting Guide & read the FAQ
Yes
Has this library/code previously worked as expected for you?
No
Other useful information
I am a bit rusty in C, it dates back to my Electrical Engineering Classes in 2015.
I am trying to build a volume controller for my Devialet speaker to control it with an AppleTV remote, copying the behaviour of a working PoC in NodeJS.
The text was updated successfully, but these errors were encountered: