WeekendWarrior1 / XTronical_XT_DAC_Audio_Mirror

Mirror of XTronical's excellent XT_DAC_Audio library for ease of integration into platformio projects
GNU General Public License v3.0
10 stars 18 forks source link

Compilation error #7

Open Dimoschka opened 1 year ago

Dimoschka commented 1 year ago

Even with an empty compilation, this error occurs. A small library found for "XT_DAC_Audio.h" 23 | #enable "esp 32-hal-timer.h" Where to get this library?

wilson3682 commented 1 year ago

@Dimoschka I added the following piece of code to XT_DAC_Audio.cpp and It is working now for me.

include "soc/rtc_io_reg.h"

Reference link: https://www.esp32.com/viewtopic.php?t=27178#p99673