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

Uses old I2C driver. Please update to use i2c_master.h #713

Open
3 tasks done
codewitch-honey-crisis opened this issue Jan 10, 2025 · 0 comments
Open
3 tasks done

Comments

@codewitch-honey-crisis
Copy link

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

always

Expected behavior

I expect to get no warnings on startup, and to be able to use the recommended I2C drivers with my I2C devices.

Actual behavior (suspected bug)

The camera driver uses legacy i2c drivers, causing a warning on startup as well as limiting me to using legacy I2C drivers for I2C coms.

Error logs or terminal output

W (779) i2c: This driver is an old driver, please migrate your application code to adapt `driver/i2c_master.h`

Steps to reproduce the behavior

  1. Include the camera component while targeting the latest ESP-IDF 5.x

Project release version

2.0.15

System architecture

Intel/AMD 64-bit (modern PC, older Mac)

Operating system

Windows

Operating system version

Windows 11

Shell

CMD

Additional context

No response

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

1 participant