Skip to content

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

Open
@codewitch-honey-crisis

Description

@codewitch-honey-crisis

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions