Skip to content
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

Update all legacy ESP32 drivers to latest IDF API #1580

Open
AdrianSoundy opened this issue Jan 3, 2025 · 0 comments
Open

Update all legacy ESP32 drivers to latest IDF API #1580

AdrianSoundy opened this issue Jan 3, 2025 · 0 comments

Comments

@AdrianSoundy
Copy link
Member

AdrianSoundy commented Jan 3, 2025

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

-- Oneshoot
-- Continuous Mode

Required for IDF 5.3.2 release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant