-
Notifications
You must be signed in to change notification settings - Fork 927
Closed
Labels
Description
Answers checklist.
- I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
- I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
- I have searched the issue tracker for a similar issue and not found a similar issue.
IDF version.
v5.5.0
Espressif SoC revision.
ESP32-P4 (revision v1.0)
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
Development Kit.
Olimex ESP32-P4-DevKit
Steps to reproduce.
- copy get-started/hello_world project
idf add-dependency mcp23017- modify hello_world_main.c and add
#include "mcp23017.h" idf build
Build Logs.
/tmp/hello_world/managed_components/espressif__mcp23017/include/mcp23017.h:10:10: fatal error: i2c_bus.h: No such file or directory
10 | #include "i2c_bus.h"
| ^~~~~~~~~~~
More Information.
Seems that mcp23017 component uses the removed i2c driver instead of the new one. I think it should be ported to use the driver/i2c_master.h