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

ESP32 S2 Mini I2S Issue #39

Open
ZaekSkuchubra opened this issue Jan 27, 2025 · 0 comments
Open

ESP32 S2 Mini I2S Issue #39

ZaekSkuchubra opened this issue Jan 27, 2025 · 0 comments

Comments

@ZaekSkuchubra
Copy link

I suppose the composite video lib doesn't support s2 mini, but I wanted to ask if someone knows how to edit the library into working? It has DAC on pin 18 and 17. I can't seem to figure out on how to fix it. Here's a snippet of the error code:

C:\Users\Harry\Documents\Arduino\libraries\bitluni_ESP32Lib\src\I2S\I2S_ESP32.cpp:37:36: error: 'I2S1' was not declared in this scope; did you mean 'I2S0'?
37 | i2s_dev_t *i2sDevices[] = {&I2S0, &I2S1};
| ^~~~
| I2S0
C:\Users\Harry\Documents\Arduino\libraries\bitluni_ESP32Lib\src\I2S\I2S_ESP32.cpp: In constructor 'I2S::I2S(int)':
C:\Users\Harry\Documents\Arduino\libraries\bitluni_ESP32Lib\src\I2S\I2S_ESP32.cpp:41:69: error: 'PERIPH_I2S1_MODULE' was not declared in this scope; did you mean 'PERIPH_I2S0_MODULE'?
41 | const periph_module_t deviceModule[] = {PERIPH_I2S0_MODULE, PERIPH_I2S1_MODULE};
| ^~~~~~~~~~~~~~~~~~
| PERIPH_I2S0_MODULE
C:\Users\Harry\Documents\Arduino\libraries\bitluni_ESP32Lib\src\I2S\I2S_ESP32.cpp: In member function 'void I2S::reset()':
C:\Users\Harry\Documents\Arduino\libraries\bitluni_ESP32Lib\src\I2S\I2S_ESP32.cpp:89:26: error: 'volatile union i2s_dev_s::' has no member named 'rx_fifo_reset_back'
89 | while (i2s.state.rx_fifo_reset_back)
| ^~~~~~~~~~~~~~~~~~

---etc etc

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

1 participant