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

Compilation problem: bsp/esp-bsp.h:No such file or directory (AUD-5672) #1267

Closed
AaronPMM opened this issue Sep 5, 2024 · 2 comments
Closed

Comments

@AaronPMM
Copy link

AaronPMM commented Sep 5, 2024

I am trying to use an LCD screen in a Dueros example, referring to the esp-box chatgpt_demo, and calling bsp_i2c_init(). When compiling, the error "No such file or directory" appears. Which library is the bsp_i2c_init function in? How do I configure it to use it properly?

@github-actions github-actions bot changed the title Compilation problem: bsp/esp-bsp.h:No such file or directory Compilation problem: bsp/esp-bsp.h:No such file or directory (AUD-5672) Sep 5, 2024
@shootao
Copy link

shootao commented Sep 5, 2024

基于最新的ADF 你可以有如下操作

  1. esp-box-3 BSP 放到你的 components 下面
  2. 参考 chatgpt demo, 初始化 lcd
  3. 获取 bsp 里面 i2c 的handle, 在codec 初始化前调用 i2c_bus_set_master_handle
    以上操作应该就可以了

@AaronPMM
Copy link
Author

AaronPMM commented Sep 6, 2024

基于最新的ADF 你可以有如下操作

  1. esp-box-3 BSP 放到你的 components 下面
  2. 参考 chatgpt demo, 初始化 lcd
  3. 获取 bsp 里面 i2c 的handle, 在codec 初始化前调用 i2c_bus_set_master_handle
    以上操作应该就可以了

替换后提示 ESP-BOX-3 的I2C驱动是旧的(i2c: CONFLICT! driver_ng is not allowed to be used with this old driver),我跟换为 driver/i2c_master.h,接口函数不一致,请问我更换的是否正确?有什么参考?

@AaronPMM AaronPMM closed this as completed Sep 9, 2024
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

2 participants