Steps to Reproduce:
- Set up the ESP32-H2 hardware with an IR transmitter and receiver.
- Use the IRRemoteESP8266 library to implement IR functionality.
- Attempt to compile the project using ESP-IDF or Arduino Core for ESP32-H2.
- Observe compilation errors.
Errors Encountered:
- 'timerAlarmEnable' was not declared in this scope
- Too many arguments to function 'hw_timer_t* timerBegin(uint32_t, bool)'
- -timerAlarmWrite' was not declared in this scope
- Too many arguments to function 'void timerAttachInterrupt(hw_timer_t*, void (*)(), bool)'
- 'timerAlarmDisable' was not declared in this scope
- The library functions are not compatible with the ESP32-H2 timer APIs.
- The project compiles and functions correctly on ESP32-S3 but fails on ESP32-H2.
- It seems the ESP32-H2 uses different timer functionalities or lacks support for the specific APIs used by the IRRemoteESP8266 library.
- Could you provide guidance on how to migrate IR functionality from ESP32-S3 to ESP32-H2?
- Are there any alternative libraries for IR communication that are compatible with ESP32-H2?
- Is there a compatibility layer or workaround to make the IRRemoteESP8266 library work with ESP32-H2?
Thank you for your support!