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

i2s_std.h error (not found) #87

Open
mrebersv opened this issue Apr 28, 2024 · 3 comments
Open

i2s_std.h error (not found) #87

mrebersv opened this issue Apr 28, 2024 · 3 comments

Comments

@mrebersv
Copy link

mrebersv commented Apr 28, 2024

I recently installed the ESP32-Chimera-Core as needed by https://github.com/tobozo/ESP32-GifPlayer/

Unfortunately, I get an error when Chimera-Core tries to load bsp_board.c (error below

In file included from c:\Users\matth\OneDrive\Documents\Arduino\libraries\ESP32-Chimera-Core\src\drivers\ESP32-S3-Box\Audio\src\bsp_board.c:11:
c:\Users\matth\OneDrive\Documents\Arduino\libraries\ESP32-Chimera-Core\src\drivers\ESP32-S3-Box\Audio\src\bsp_i2s.h:19:14: fatal error: driver/i2s_std.h: No such file or directory
     #include "driver/i2s_std.h"
              ^~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1

Compilation error: exit status 1

Any idea if this is an incompatibility w/r/t other libraries being updated or if this should've worked and I'm doing something wrong and need to install a dependency that I thought would be installed with the "install dependencies" option within the Arduino IDE?

@tobozo
Copy link
Owner

tobozo commented Apr 28, 2024

Hi and thanks for your feedback 👍

Speculation: Chimera-Core esp-adf layer for S3box doesn't support 3.x.x-beta or 3.x.x-rc versions of the espressif core.

I'll need a few more informations to confirm that:

  • Arduino IDE version
  • Espressif core version
  • Device name selected in the arduino tools menu
  • Your actual device name

ESP32-S3-Box audio is based on the older esp-adf implementation which uses a soon deprecated I2S/I2C syntax, it'll probably be removed in a further version and replaced by something like arduino-audio-tools

Meanwhile you can try to bypass the error by commenting out the offending include in ESP32-Chimera-Core.hpp, the GIFPlayer app doesn't need audio anyway:

#if defined ARDUINO_ESP32_S3_BOX
  // #include "drivers/ESP32-S3-Box/Audio/esp-adf.hpp"
#endif

@mrebersv
Copy link
Author

Thanks for the quick response. That exposes another problem. It appears bsp_board.c is trying to load a file that doesn't exist as pathed:

In file included from c:\Users\matth\OneDrive\Documents\Arduino\libraries\ESP32-Chimera-Core\src\drivers\ESP32-S3-Box\Audio\src\bsp_board.c:11:
c:\Users\matth\OneDrive\Documents\Arduino\libraries\ESP32-Chimera-Core\src\drivers\ESP32-S3-Box\Audio\src\bsp_i2s.h:19:14: fatal error: driver/i2s_std.h: No such file or directory
     #include "driver/i2s_std.h"
              ^~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1

Compilation error: exit status 1

@tobozo
Copy link
Owner

tobozo commented Apr 29, 2024

please re-read my previous response, I'm not an esper and can only take a guess at what's going on with the little information you provided 😉

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