HX2003 / ESP32-I2S-Simple-Async-Audio

This is a library for playing audio through the I2S interface on the ESP32/ESP32S2
3 stars 1 forks source link

Getting compile error on ESP32-S2 with nativ USB #1

Open MarkusLange opened 2 years ago

MarkusLange commented 2 years ago

Hello I get this error:

In file included from C:\Users\Markus\Documents\Arduino\libraries\ESP32-I2S-Simple-Async-Audio\src/ESP32I2SAudio.h:2, from C:\Users\Markus\Documents\Arduino\libraries\ESP32-I2S-Simple-Async-Audio\examples\ESP32AudioPlayer\ESP32AudioPlayer.ino:2: C:\Users\Markus\Documents\Arduino\libraries\ESP32-I2S-Simple-Async-Audio\src/AudioOutput.h: In function 'void timerInterrupt(AudioOutput*)': C:\Users\Markus\Documents\Arduino\libraries\ESP32-I2S-Simple-Async-Audio\src/AudioOutput.h:214:32: error: 'struct timg_dev_t' has no member named 'int_st' uint32_t intStatus = TIMERG0.int_st.val; ^~ C:\Users\Markus\Documents\Arduino\libraries\ESP32-I2S-Simple-Async-Audio\src/AudioOutput.h:218:13: error: 'struct timg_dev_t' has no member named 'int_clr' TIMERG0.int_clr.t0 = 1; ^~~ C:\Users\Markus\Documents\Arduino\libraries\ESP32-I2S-Simple-Async-Audio\src/AudioOutput.h:219:38: error: 'volatile union timg_txconfig_reg_t' has no member named 'alarm_en' TIMERG0.hw_timer[TIMER_0].config.alarm_en = 1; ^~~~ exit status 1 Fehler beim Kompilieren für das Board ESP32S2 Native USB.

With Ardunio IDE 1.8.19 and ESP32 2.0.1

TheDukeZip commented 2 years ago

You probably have moved on from this issue by now - but I submitted a pull request that resolves this issue

Pull request: #2