In my project with the “esp32cam” board I also use the “ledc” driver.
So far I have chosen the arduino framework, which integrates the Espressif API V4.4.7.
I would like to use the new functions of the API V5.2.2.
I’m not sure which API is used in the Arduino framework.
I looked at the LEDC sources from API V5.2.2 and learned how to change the pin number for an LEDC channel.
You’ll find the available Arduino and ESP-IDF versions here
Example: platform = espressif32 @ 6.7.0:
Arduino - v2.0.16 (based on IDF v4.4.7)
General:
Arduino 2.x is based on ESP-IDF 4.4
Arduino 3.x (not yet available on PlatformIO) will be based on ESP-IDF 5.x
The ESP-IDF version listed in the release notes is for pure ESP-IDF (framework = espidf) or Arduino as Component (framework = espidf, arduino) projects.