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

I2C bus driver does not obey menuconfig setting (AUD-5708) #1278

Closed
kscz opened this issue Sep 16, 2024 · 4 comments
Closed

I2C bus driver does not obey menuconfig setting (AUD-5708) #1278

kscz opened this issue Sep 16, 2024 · 4 comments

Comments

@kscz
Copy link
Contributor

kscz commented Sep 16, 2024

The menu setting to force use of the legacy i2c driver is ignored by driver/i2c_bus

Screenshot from 2024-09-16 16-24-46

This area appears to be the issue: https://github.com/espressif/esp-adf/blob/master/components/esp_peripherals/CMakeLists.txt#L33-L37

This causes applications which require the legacy i2c driver get the error message "CONFLICT! driver_ng is not allowed to be used with this old driver"

@github-actions github-actions bot changed the title I2C bus driver does not obey menuconfig setting I2C bus driver does not obey menuconfig setting (AUD-5708) Sep 16, 2024
@hbler99
Copy link

hbler99 commented Oct 16, 2024

You can refer to solved to solve this problem.

@kscz
Copy link
Contributor Author

kscz commented Oct 27, 2024

I can't read Chinese - could you provide some details of what that issue contains?

@hbler99
Copy link

hbler99 commented Oct 29, 2024

I can't read Chinese - could you provide some details of what that issue contains?

The root cause of this problem is that ADF has supported the latest i2c driver of IDF, but the esp32-camera on which this example depends is still using the old i2c driver. The current solution is to set this line to "true" first, and ADF will also fix this issue later.

@jason-mao
Copy link
Collaborator

This topic has become inactive, so I'm going to close the issue. Please reopen this if you have any questions or need any further assistance.

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

No branches or pull requests

3 participants