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

Problem with latest version of V2 #631

Open
Jefke1 opened this issue Feb 14, 2025 · 2 comments
Open

Problem with latest version of V2 #631

Jefke1 opened this issue Feb 14, 2025 · 2 comments

Comments

@Jefke1
Copy link

Jefke1 commented Feb 14, 2025

Hello Wolle,
Unfortunately my esp32 from V2 has broken down. I am now trying it with the latest version of V2, an esp32s3 and VS1053B.
Unfortunately I get compile errors from Audio.cpp.

Compiling .pio\build\esp32s3\libd6c\ESP32-audioI2S\aac_decoder\libfaad\neaacdec.cpp.o
.pio/libdeps/esp32s3/ESP32-audioI2S/src/Audio.cpp: In constructor 'Audio::Audio(uint8_t)':
.pio/libdeps/esp32s3/ESP32-audioI2S/src/Audio.cpp:177:5: error: 'm_i2s_chan_cfg' was not declared in this scope
m_i2s_chan_cfg.id = (i2s_port_t)m_i2s_num; // I2S_NUM_AUTO, I2S_NUM_0, I2S_NUM_1
^~~~~~~~~~~~~~
.pio/libdeps/esp32s3/ESP32-audioI2S/src/Audio.cpp:177:5: note: suggested alternative: 'm_i2s_config'
m_i2s_chan_cfg.id = (i2s_port_t)m_i2s_num; // I2S_NUM_AUTO, I2S_NUM_0, I2S_NUM_1
^~~~~~~~~~~~~~
m_i2s_config
.pio/libdeps/esp32s3/ESP32-audioI2S/src/Audio.cpp:178:36: error: 'I2S_ROLE_MASTER' was not declared in this scope

etc................................................

Thank you in advance.

Jefke1.

@schreibfaul1
Copy link
Owner

Unfortunately, I did not pin the versions of the integrated libraries to the version at that time. In the meantime, something has changed there. In the future, I will include the current commits.

https://github.com/schreibfaul1/ESP32-audioI2S.git#504901 could fit

@Jefke1
Copy link
Author

Jefke1 commented Feb 16, 2025

thanks Wolle,
I will test this version hopefully it will work.

Jefke1

Resolving esp32s3 dependencies...
Library Manager: Installing git+https://github.com/schreibfaul1/ESP32-audioI2S.git#504901
git version 2.48.1.windows.1
Cloning into 'C:\Users\jefkeva.platformio.cache\tmp\pkg-installing-83zb0h2f'...

warning: Could not find remote branch 504901 to clone.
fatal: Remote branch 504901 not found in upstream origin

VCSBaseException: VCS: Could not process command ['git', 'clone', '--recursive', '--depth', '1', '--branch', '504901', 'https://github.com/schreibfaul1/ESP32-audioI2S.git', 'C:\Users\jefkeva\.platformio\.cache\tmp\pkg-installing-83zb0h2f']

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