espressif / esp32-nesemu

Proof-of-concept NES emulator for the ESP32
543 stars 172 forks source link

[missings] "i2s_set_dac_mode" and "I2S_DAC_CHANNEL_LEFT_EN" #7

Closed ESP32DE closed 7 years ago

ESP32DE commented 7 years ago

hi jeroen, happy for the update - have small problems just in time with it: without audio compile is ok - with activate audio on GPIO26 compiler won't work further more :)

'I2S_DAC_CHANNEL_LEFT_EN' undeclared (first use in this function) video_audio.c /_nesemu_V2/components/nofrendo-esp32 line 118 C/C++ Problem

implicit declaration of function 'i2s_set_dac_mode' [-Werror=implicit-function-declaration] video_audio.c /_nesemu_V2/components/nofrendo-esp32 line 118 C/C++ Problem

Code Line

best wishes rudi ;-) edit: it looks like you have/use a newer I2S.c as like just in time is in the esp-idf i used the last commit

edit: it looks like the code line is an old line? this solved in my compile /// i2s_set_dac_mode(I2S_DAC_CHANNEL_LEFT_EN);

will test next step the output ;-)

( can be closed if this was the mistake )

ESP32DE commented 7 years ago

ESP-IDF now up2Date:

i2s_set_dac_mode_done it knows now - it compiles now - will test the output on weekend thanks Jeroen best wishes rudi ;-)