-
Notifications
You must be signed in to change notification settings - Fork 96
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
[fix] use new i2c interface for esp32_p4_function_ev_board. (BSP-545) #385
base: master
Are you sure you want to change the base?
[fix] use new i2c interface for esp32_p4_function_ev_board. (BSP-545) #385
Conversation
@100312dog Thank you for the PR! Could you please bump version in https://github.com/espressif/esp-bsp/blob/master/bsp/esp32_p4_function_ev_board/idf_component.yml to 4.0.0? cc @espzav |
HI @100312dog, thank you for this PR. We are discussing solution for support old and new driver for I2C in BSP. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@100312dog Thank you for this PR. I left some comments.
static TaskHandle_t usb_host_task; // USB Host Library task | ||
i2c_master_bus_handle_t bsp_i2c_handle = NULL; // Global i2c master bus handler |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, can we add get function like this:
Line 116 in 3284337
i2c_master_bus_handle_t bsp_i2c_get_handle(void) |
and this:
esp-bsp/bsp/esp-box/include/bsp/esp-box.h
Line 241 in 3284337
i2c_master_bus_handle_t bsp_i2c_get_handle(void); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's ok.
ESP-BSP Pull Request checklist
Change description
BSP uses old i2c interface. when another component such as esp-video uses new i2c interface. They will conflict.