Description
Details about Problem
Since updating to IDF-5.x for ESP32 we are using the legacy API for a number of devices.
The legacy devices are being reported on startup from boot loader.
These need to be updated so they use the current API. This will also mean updating the C# API to support the new native API and any new features. Any changes reflected in C# API will also require the Samples and nanoFramework.IoT.Device assemblies using those devices updated.
For more details see migration guides
https://docs.espressif.com/projects/esp-idf/en/v5.3.2/esp32/migration-guides/release-5.x/5.0/peripherals.html
This task can be used to track the progress of updates with specific driver changes in a separate issue.
Description
The following devices will need to be updated.
In most drivers the architecture has changed from specifying a hardware channel to open to just opening the next resource available and returning a handle.
- ADC
- DAC
- I2C
- Required for IDF 5.3.2 release
- Can fix ESP32_C6_THREAD thrown an ArgumentException at I2cDevice for busId = 2 #1534
- I2S
- Pulse Counter Driver (Done)
- RMT (In progress Update ESP32 RMT driver and managed code to latest API version #1540)
- PWM