- XT_DAC_Audio.cpp:323:27: error: too many arguments to function 'hw_timer_t* timerBegin(uint32_t)'
- 323 | timer = timerBegin(TimerNo, 80, true);
- [...] \Arduino15\packages\esp32\hardware\esp32\3.0.2\cores\esp32/esp32-hal-timer.h:35:13: note: declared here
- 35 | hw_timer_t *timerBegin(uint32_t frequency);
I'm working on a project that heavily makes use of the Xtronical DAC audio library located here:
https://www.xtronical.com/the-dacaudio- ... allation/
(can't find a way to contact author)
All is well in board manager version 1.0.5. However, trying to verify my sketch (any example code too) in 2.0.2 provides a couple pages of warnings and other unpleasantness. I've pasted below an example of a portion.
You may say, "just use 1.0.5". While of course not ideal, I certainly would but you see my CAN Bus/TWAI portion of the project (also critical) behaves and works in board manager 2.0.2 ...
If I could get the Xtronical DAC audio library above to work in 2.0.2 I'd be very (very) happy.
This would be a fairly distant second as I'd essentially almost need to start over, but alternatively if you know of any fairly easy to use and straight forward way/library to allow at minimum the:
- repeated playback of a small WAV (loaded in via header file containing relevant Hex)
- real-time (close to) playback speed control
- real-time (close to) volume control
FYI- I'm eager to learn, but I'm very/moderately green when it comes to this stuff and would very much appreciate your patience.
Thanks in advance!
Code: Select all
Arduino: 1.8.16 (Windows 10), Board: "Node32s, Default, 80MHz, 921600, None"
In file included from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:19,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/hal/include/hal/touch_sensor_types.h:11,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/esp_hw_support/include/esp_sleep.h:12,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2\cores\esp32/esp32-hal.h:33,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2\cores\esp32/esp32-hal-timer.h:23,
from C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:23:
C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp: In function 'void onTimer()':
C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:155:31: error: 'RTC_IO_PAD_DAC1_REG' was not declared in this scope
SET_PERI_REG_BITS(RTC_IO_PAD_DAC1_REG, RTC_IO_PDAC1_DAC, LastDacValue, RTC_IO_PDAC1_DAC_S);
^~~~~~~~~~~~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/esp_common/include/esp_assert.h:29:38: note: in definition of macro 'TRY_STATIC_ASSERT'
if (__builtin_constant_p(CONDITION) && !(CONDITION)) { \
^~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:96:57: note: in expansion of macro 'IS_DPORT_REG'
#define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(_r), (Cannot use OP for DPORT registers use DPORT_##OP));
^~~~~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:205:13: note: in expansion of macro 'ASSERT_IF_DPORT_REG'
ASSERT_IF_DPORT_REG((reg), SET_PERI_REG_BITS); \
^~~~~~~~~~~~~~~~~~~
C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:155:13: note: in expansion of macro 'SET_PERI_REG_BITS'
SET_PERI_REG_BITS(RTC_IO_PAD_DAC1_REG, RTC_IO_PDAC1_DAC, LastDacValue, RTC_IO_PDAC1_DAC_S);
^~~~~~~~~~~~~~~~~
In file included from c:\users\jim_\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2\xtensa-esp32-elf\sys-include\sys\reent.h:503,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/newlib/platform_include/sys/reent.h:17,
from c:\users\jim_\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2\xtensa-esp32-elf\sys-include\stdio.h:60,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2\cores\esp32/esp32-hal.h:25,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2\cores\esp32/esp32-hal-timer.h:23,
from C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:23:
C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:155:31: error: 'RTC_IO_PAD_DAC1_REG' was not declared in this scope
SET_PERI_REG_BITS(RTC_IO_PAD_DAC1_REG, RTC_IO_PDAC1_DAC, LastDacValue, RTC_IO_PDAC1_DAC_S);
^~~~~~~~~~~~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:96:38: note: in expansion of macro 'TRY_STATIC_ASSERT'
#define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(_r), (Cannot use OP for DPORT registers use DPORT_##OP));
^~~~~~~~~~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:96:57: note: in expansion of macro 'IS_DPORT_REG'
#define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(_r), (Cannot use OP for DPORT registers use DPORT_##OP));
^~~~~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:205:13: note: in expansion of macro 'ASSERT_IF_DPORT_REG'
ASSERT_IF_DPORT_REG((reg), SET_PERI_REG_BITS); \
^~~~~~~~~~~~~~~~~~~
C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:155:13: note: in expansion of macro 'SET_PERI_REG_BITS'
SET_PERI_REG_BITS(RTC_IO_PAD_DAC1_REG, RTC_IO_PDAC1_DAC, LastDacValue, RTC_IO_PDAC1_DAC_S);
^~~~~~~~~~~~~~~~~
In file included from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:19,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/hal/include/hal/touch_sensor_types.h:11,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/esp_hw_support/include/esp_sleep.h:12,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2\cores\esp32/esp32-hal.h:33,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2\cores\esp32/esp32-hal-timer.h:23,
from C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:23:
C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:155:31: error: 'RTC_IO_PAD_DAC1_REG' was not declared in this scope
SET_PERI_REG_BITS(RTC_IO_PAD_DAC1_REG, RTC_IO_PDAC1_DAC, LastDacValue, RTC_IO_PDAC1_DAC_S);
^~~~~~~~~~~~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/esp_common/include/esp_assert.h:29:38: note: in definition of macro 'TRY_STATIC_ASSERT'
if (__builtin_constant_p(CONDITION) && !(CONDITION)) { \
^~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:96:57: note: in expansion of macro 'IS_DPORT_REG'
#define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(_r), (Cannot use OP for DPORT registers use DPORT_##OP));
^~~~~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:175:13: note: in expansion of macro 'ASSERT_IF_DPORT_REG'
ASSERT_IF_DPORT_REG((addr), WRITE_PERI_REG); \
^~~~~~~~~~~~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:206:14: note: in expansion of macro 'WRITE_PERI_REG'
(WRITE_PERI_REG((reg),(READ_PERI_REG(reg)&(~((bit_map)<<(shift))))|(((value) & bit_map)<<(shift)) )); \
^~~~~~~~~~~~~~
C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:155:13: note: in expansion of macro 'SET_PERI_REG_BITS'
SET_PERI_REG_BITS(RTC_IO_PAD_DAC1_REG, RTC_IO_PDAC1_DAC, LastDacValue, RTC_IO_PDAC1_DAC_S);
^~~~~~~~~~~~~~~~~
In file included from c:\users\jim_\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2\xtensa-esp32-elf\sys-include\sys\reent.h:503,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/newlib/platform_include/sys/reent.h:17,
from c:\users\jim_\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2\xtensa-esp32-elf\sys-include\stdio.h:60,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2\cores\esp32/esp32-hal.h:25,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2\cores\esp32/esp32-hal-timer.h:23,
from C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:23:
C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:155:31: error: 'RTC_IO_PAD_DAC1_REG' was not declared in this scope
SET_PERI_REG_BITS(RTC_IO_PAD_DAC1_REG, RTC_IO_PDAC1_DAC, LastDacValue, RTC_IO_PDAC1_DAC_S);
^~~~~~~~~~~~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:96:38: note: in expansion of macro 'TRY_STATIC_ASSERT'
#define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(_r), (Cannot use OP for DPORT registers use DPORT_##OP));
^~~~~~~~~~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:96:57: note: in expansion of macro 'IS_DPORT_REG'
#define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(_r), (Cannot use OP for DPORT registers use DPORT_##OP));
^~~~~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:175:13: note: in expansion of macro 'ASSERT_IF_DPORT_REG'
ASSERT_IF_DPORT_REG((addr), WRITE_PERI_REG); \
^~~~~~~~~~~~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:206:14: note: in expansion of macro 'WRITE_PERI_REG'
(WRITE_PERI_REG((reg),(READ_PERI_REG(reg)&(~((bit_map)<<(shift))))|(((value) & bit_map)<<(shift)) )); \
^~~~~~~~~~~~~~
C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:155:13: note: in expansion of macro 'SET_PERI_REG_BITS'
SET_PERI_REG_BITS(RTC_IO_PAD_DAC1_REG, RTC_IO_PDAC1_DAC, LastDacValue, RTC_IO_PDAC1_DAC_S);
^~~~~~~~~~~~~~~~~
In file included from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/hal/include/hal/touch_sensor_types.h:11,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/esp_hw_support/include/esp_sleep.h:12,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2\cores\esp32/esp32-hal.h:33,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2\cores\esp32/esp32-hal-timer.h:23,
from C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:23:
C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:155:31: error: 'RTC_IO_PAD_DAC1_REG' was not declared in this scope
SET_PERI_REG_BITS(RTC_IO_PAD_DAC1_REG, RTC_IO_PDAC1_DAC, LastDacValue, RTC_IO_PDAC1_DAC_S);
^~~~~~~~~~~~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:87:34: note: in definition of macro 'ETS_UNCACHED_ADDR'
#define ETS_UNCACHED_ADDR(addr) (addr)
^~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:206:14: note: in expansion of macro 'WRITE_PERI_REG'
(WRITE_PERI_REG((reg),(READ_PERI_REG(reg)&(~((bit_map)<<(shift))))|(((value) & bit_map)<<(shift)) )); \
^~~~~~~~~~~~~~
C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:155:13: note: in expansion of macro 'SET_PERI_REG_BITS'
SET_PERI_REG_BITS(RTC_IO_PAD_DAC1_REG, RTC_IO_PDAC1_DAC, LastDacValue, RTC_IO_PDAC1_DAC_S);
^~~~~~~~~~~~~~~~~
C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:155:52: error: 'RTC_IO_PDAC1_DAC' was not declared in this scope
SET_PERI_REG_BITS(RTC_IO_PAD_DAC1_REG, RTC_IO_PDAC1_DAC, LastDacValue, RTC_IO_PDAC1_DAC_S);
^~~~~~~~~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:176:76: note: in definition of macro 'WRITE_PERI_REG'
(*((volatile uint32_t *)ETS_UNCACHED_ADDR(addr))) = (uint32_t)(val); \
^~~
C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:155:13: note: in expansion of macro 'SET_PERI_REG_BITS'
SET_PERI_REG_BITS(RTC_IO_PAD_DAC1_REG, RTC_IO_PDAC1_DAC, LastDacValue, RTC_IO_PDAC1_DAC_S);
^~~~~~~~~~~~~~~~~
C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:155:84: error: 'RTC_IO_PDAC1_DAC_S' was not declared in this scope
SET_PERI_REG_BITS(RTC_IO_PAD_DAC1_REG, RTC_IO_PDAC1_DAC, LastDacValue, RTC_IO_PDAC1_DAC_S);
^~~~~~~~~~~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:176:76: note: in definition of macro 'WRITE_PERI_REG'
(*((volatile uint32_t *)ETS_UNCACHED_ADDR(addr))) = (uint32_t)(val); \
^~~
C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:155:13: note: in expansion of macro 'SET_PERI_REG_BITS'
SET_PERI_REG_BITS(RTC_IO_PAD_DAC1_REG, RTC_IO_PDAC1_DAC, LastDacValue, RTC_IO_PDAC1_DAC_S);
^~~~~~~~~~~~~~~~~
C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:155:84: note: suggested alternative: 'RTC_RODATA_ATTR'
SET_PERI_REG_BITS(RTC_IO_PAD_DAC1_REG, RTC_IO_PDAC1_DAC, LastDacValue, RTC_IO_PDAC1_DAC_S);
^~~~~~~~~~~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:176:76: note: in definition of macro 'WRITE_PERI_REG'
(*((volatile uint32_t *)ETS_UNCACHED_ADDR(addr))) = (uint32_t)(val); \
^~~
C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:155:13: note: in expansion of macro 'SET_PERI_REG_BITS'
SET_PERI_REG_BITS(RTC_IO_PAD_DAC1_REG, RTC_IO_PDAC1_DAC, LastDacValue, RTC_IO_PDAC1_DAC_S);
^~~~~~~~~~~~~~~~~
In file included from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:19,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/hal/include/hal/touch_sensor_types.h:11,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/esp_hw_support/include/esp_sleep.h:12,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2\cores\esp32/esp32-hal.h:33,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2\cores\esp32/esp32-hal-timer.h:23,
from C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:23:
C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:156:31: error: 'RTC_IO_PAD_DAC1_REG' was not declared in this scope
SET_PERI_REG_MASK(RTC_IO_PAD_DAC1_REG, RTC_IO_PDAC1_XPD_DAC | RTC_IO_PDAC1_DAC_XPD_FORCE);
^~~~~~~~~~~~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/esp_common/include/esp_assert.h:29:38: note: in definition of macro 'TRY_STATIC_ASSERT'
if (__builtin_constant_p(CONDITION) && !(CONDITION)) { \
^~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:96:57: note: in expansion of macro 'IS_DPORT_REG'
#define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(_r), (Cannot use OP for DPORT registers use DPORT_##OP));
^~~~~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:187:13: note: in expansion of macro 'ASSERT_IF_DPORT_REG'
ASSERT_IF_DPORT_REG((reg), SET_PERI_REG_MASK); \
^~~~~~~~~~~~~~~~~~~
C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:156:13: note: in expansion of macro 'SET_PERI_REG_MASK'
SET_PERI_REG_MASK(RTC_IO_PAD_DAC1_REG, RTC_IO_PDAC1_XPD_DAC | RTC_IO_PDAC1_DAC_XPD_FORCE);
^~~~~~~~~~~~~~~~~
In file included from c:\users\jim_\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2\xtensa-esp32-elf\sys-include\sys\reent.h:503,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/newlib/platform_include/sys/reent.h:17,
from c:\users\jim_\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2\xtensa-esp32-elf\sys-include\stdio.h:60,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2\cores\esp32/esp32-hal.h:25,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2\cores\esp32/esp32-hal-timer.h:23,
from C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:23:
C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:156:31: error: 'RTC_IO_PAD_DAC1_REG' was not declared in this scope
SET_PERI_REG_MASK(RTC_IO_PAD_DAC1_REG, RTC_IO_PDAC1_XPD_DAC | RTC_IO_PDAC1_DAC_XPD_FORCE);
^~~~~~~~~~~~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:96:38: note: in expansion of macro 'TRY_STATIC_ASSERT'
#define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(_r), (Cannot use OP for DPORT registers use DPORT_##OP));
^~~~~~~~~~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:96:57: note: in expansion of macro 'IS_DPORT_REG'
#define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(_r), (Cannot use OP for DPORT registers use DPORT_##OP));
^~~~~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:187:13: note: in expansion of macro 'ASSERT_IF_DPORT_REG'
ASSERT_IF_DPORT_REG((reg), SET_PERI_REG_MASK); \
^~~~~~~~~~~~~~~~~~~
C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:156:13: note: in expansion of macro 'SET_PERI_REG_MASK'
SET_PERI_REG_MASK(RTC_IO_PAD_DAC1_REG, RTC_IO_PDAC1_XPD_DAC | RTC_IO_PDAC1_DAC_XPD_FORCE);
^~~~~~~~~~~~~~~~~
In file included from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:19,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/hal/include/hal/touch_sensor_types.h:11,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/esp_hw_support/include/esp_sleep.h:12,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2\cores\esp32/esp32-hal.h:33,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2\cores\esp32/esp32-hal-timer.h:23,
from C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:23:
C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:156:31: error: 'RTC_IO_PAD_DAC1_REG' was not declared in this scope
SET_PERI_REG_MASK(RTC_IO_PAD_DAC1_REG, RTC_IO_PDAC1_XPD_DAC | RTC_IO_PDAC1_DAC_XPD_FORCE);
^~~~~~~~~~~~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/esp_common/include/esp_assert.h:29:38: note: in definition of macro 'TRY_STATIC_ASSERT'
if (__builtin_constant_p(CONDITION) && !(CONDITION)) { \
^~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:96:57: note: in expansion of macro 'IS_DPORT_REG'
#define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(_r), (Cannot use OP for DPORT registers use DPORT_##OP));
^~~~~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:175:13: note: in expansion of macro 'ASSERT_IF_DPORT_REG'
ASSERT_IF_DPORT_REG((addr), WRITE_PERI_REG); \
^~~~~~~~~~~~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:188:13: note: in expansion of macro 'WRITE_PERI_REG'
WRITE_PERI_REG((reg), (READ_PERI_REG(reg)|(mask))); \
^~~~~~~~~~~~~~
C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:156:13: note: in expansion of macro 'SET_PERI_REG_MASK'
SET_PERI_REG_MASK(RTC_IO_PAD_DAC1_REG, RTC_IO_PDAC1_XPD_DAC | RTC_IO_PDAC1_DAC_XPD_FORCE);
^~~~~~~~~~~~~~~~~
In file included from c:\users\jim_\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2\xtensa-esp32-elf\sys-include\sys\reent.h:503,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/newlib/platform_include/sys/reent.h:17,
from c:\users\jim_\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2\xtensa-esp32-elf\sys-include\stdio.h:60,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2\cores\esp32/esp32-hal.h:25,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2\cores\esp32/esp32-hal-timer.h:23,
from C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:23:
C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:156:31: error: 'RTC_IO_PAD_DAC1_REG' was not declared in this scope
SET_PERI_REG_MASK(RTC_IO_PAD_DAC1_REG, RTC_IO_PDAC1_XPD_DAC | RTC_IO_PDAC1_DAC_XPD_FORCE);
^~~~~~~~~~~~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:96:38: note: in expansion of macro 'TRY_STATIC_ASSERT'
#define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(_r), (Cannot use OP for DPORT registers use DPORT_##OP));
^~~~~~~~~~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:96:57: note: in expansion of macro 'IS_DPORT_REG'
#define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(_r), (Cannot use OP for DPORT registers use DPORT_##OP));
^~~~~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:175:13: note: in expansion of macro 'ASSERT_IF_DPORT_REG'
ASSERT_IF_DPORT_REG((addr), WRITE_PERI_REG); \
^~~~~~~~~~~~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:188:13: note: in expansion of macro 'WRITE_PERI_REG'
WRITE_PERI_REG((reg), (READ_PERI_REG(reg)|(mask))); \
^~~~~~~~~~~~~~
C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:156:13: note: in expansion of macro 'SET_PERI_REG_MASK'
SET_PERI_REG_MASK(RTC_IO_PAD_DAC1_REG, RTC_IO_PDAC1_XPD_DAC | RTC_IO_PDAC1_DAC_XPD_FORCE);
^~~~~~~~~~~~~~~~~
In file included from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/hal/include/hal/touch_sensor_types.h:11,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/esp_hw_support/include/esp_sleep.h:12,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2\cores\esp32/esp32-hal.h:33,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2\cores\esp32/esp32-hal-timer.h:23,
from C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:23:
C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:156:31: error: 'RTC_IO_PAD_DAC1_REG' was not declared in this scope
SET_PERI_REG_MASK(RTC_IO_PAD_DAC1_REG, RTC_IO_PDAC1_XPD_DAC | RTC_IO_PDAC1_DAC_XPD_FORCE);
^~~~~~~~~~~~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:87:34: note: in definition of macro 'ETS_UNCACHED_ADDR'
#define ETS_UNCACHED_ADDR(addr) (addr)
^~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:188:13: note: in expansion of macro 'WRITE_PERI_REG'
WRITE_PERI_REG((reg), (READ_PERI_REG(reg)|(mask))); \
^~~~~~~~~~~~~~
C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:156:13: note: in expansion of macro 'SET_PERI_REG_MASK'
SET_PERI_REG_MASK(RTC_IO_PAD_DAC1_REG, RTC_IO_PDAC1_XPD_DAC | RTC_IO_PDAC1_DAC_XPD_FORCE);
^~~~~~~~~~~~~~~~~
C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:156:52: error: 'RTC_IO_PDAC1_XPD_DAC' was not declared in this scope
SET_PERI_REG_MASK(RTC_IO_PAD_DAC1_REG, RTC_IO_PDAC1_XPD_DAC | RTC_IO_PDAC1_DAC_XPD_FORCE);
^~~~~~~~~~~~~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:176:76: note: in definition of macro 'WRITE_PERI_REG'
(*((volatile uint32_t *)ETS_UNCACHED_ADDR(addr))) = (uint32_t)(val); \
^~~
C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:156:13: note: in expansion of macro 'SET_PERI_REG_MASK'
SET_PERI_REG_MASK(RTC_IO_PAD_DAC1_REG, RTC_IO_PDAC1_XPD_DAC | RTC_IO_PDAC1_DAC_XPD_FORCE);
^~~~~~~~~~~~~~~~~
C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:156:75: error: 'RTC_IO_PDAC1_DAC_XPD_FORCE' was not declared in this scope
SET_PERI_REG_MASK(RTC_IO_PAD_DAC1_REG, RTC_IO_PDAC1_XPD_DAC | RTC_IO_PDAC1_DAC_XPD_FORCE);
^~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:176:76: note: in definition of macro 'WRITE_PERI_REG'
(*((volatile uint32_t *)ETS_UNCACHED_ADDR(addr))) = (uint32_t)(val); \
^~~
C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:156:13: note: in expansion of macro 'SET_PERI_REG_MASK'
SET_PERI_REG_MASK(RTC_IO_PAD_DAC1_REG, RTC_IO_PDAC1_XPD_DAC | RTC_IO_PDAC1_DAC_XPD_FORCE);
^~~~~~~~~~~~~~~~~
C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:156:75: note: suggested alternative: 'SENS_SAR1_DAC_XPD_FSM_S'
SET_PERI_REG_MASK(RTC_IO_PAD_DAC1_REG, RTC_IO_PDAC1_XPD_DAC | RTC_IO_PDAC1_DAC_XPD_FORCE);
^~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:176:76: note: in definition of macro 'WRITE_PERI_REG'
(*((volatile uint32_t *)ETS_UNCACHED_ADDR(addr))) = (uint32_t)(val); \
^~~
C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:156:13: note: in expansion of macro 'SET_PERI_REG_MASK'
SET_PERI_REG_MASK(RTC_IO_PAD_DAC1_REG, RTC_IO_PDAC1_XPD_DAC | RTC_IO_PDAC1_DAC_XPD_FORCE);
^~~~~~~~~~~~~~~~~
In file included from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:19,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/hal/include/hal/touch_sensor_types.h:11,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/esp_hw_support/include/esp_sleep.h:12,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2\cores\esp32/esp32-hal.h:33,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2\cores\esp32/esp32-hal-timer.h:23,
from C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:23:
C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:161:31: error: 'RTC_IO_PAD_DAC2_REG' was not declared in this scope
SET_PERI_REG_BITS(RTC_IO_PAD_DAC2_REG, RTC_IO_PDAC2_DAC, LastDacValue, RTC_IO_PDAC2_DAC_S);
^~~~~~~~~~~~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/esp_common/include/esp_assert.h:29:38: note: in definition of macro 'TRY_STATIC_ASSERT'
if (__builtin_constant_p(CONDITION) && !(CONDITION)) { \
^~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:96:57: note: in expansion of macro 'IS_DPORT_REG'
#define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(_r), (Cannot use OP for DPORT registers use DPORT_##OP));
^~~~~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:205:13: note: in expansion of macro 'ASSERT_IF_DPORT_REG'
ASSERT_IF_DPORT_REG((reg), SET_PERI_REG_BITS); \
^~~~~~~~~~~~~~~~~~~
C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:161:13: note: in expansion of macro 'SET_PERI_REG_BITS'
SET_PERI_REG_BITS(RTC_IO_PAD_DAC2_REG, RTC_IO_PDAC2_DAC, LastDacValue, RTC_IO_PDAC2_DAC_S);
^~~~~~~~~~~~~~~~~
In file included from c:\users\jim_\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2\xtensa-esp32-elf\sys-include\sys\reent.h:503,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/newlib/platform_include/sys/reent.h:17,
from c:\users\jim_\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2\xtensa-esp32-elf\sys-include\stdio.h:60,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2\cores\esp32/esp32-hal.h:25,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2\cores\esp32/esp32-hal-timer.h:23,
from C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:23:
C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:161:31: error: 'RTC_IO_PAD_DAC2_REG' was not declared in this scope
SET_PERI_REG_BITS(RTC_IO_PAD_DAC2_REG, RTC_IO_PDAC2_DAC, LastDacValue, RTC_IO_PDAC2_DAC_S);
^~~~~~~~~~~~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:96:38: note: in expansion of macro 'TRY_STATIC_ASSERT'
#define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(_r), (Cannot use OP for DPORT registers use DPORT_##OP));
^~~~~~~~~~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:96:57: note: in expansion of macro 'IS_DPORT_REG'
#define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(_r), (Cannot use OP for DPORT registers use DPORT_##OP));
^~~~~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:205:13: note: in expansion of macro 'ASSERT_IF_DPORT_REG'
ASSERT_IF_DPORT_REG((reg), SET_PERI_REG_BITS); \
^~~~~~~~~~~~~~~~~~~
C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:161:13: note: in expansion of macro 'SET_PERI_REG_BITS'
SET_PERI_REG_BITS(RTC_IO_PAD_DAC2_REG, RTC_IO_PDAC2_DAC, LastDacValue, RTC_IO_PDAC2_DAC_S);
^~~~~~~~~~~~~~~~~
In file included from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:19,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/hal/include/hal/touch_sensor_types.h:11,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/esp_hw_support/include/esp_sleep.h:12,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2\cores\esp32/esp32-hal.h:33,
from C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2\cores\esp32/esp32-hal-timer.h:23,
from C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:23:
C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:161:31: error: 'RTC_IO_PAD_DAC2_REG' was not declared in this scope
SET_PERI_REG_BITS(RTC_IO_PAD_DAC2_REG, RTC_IO_PDAC2_DAC, LastDacValue, RTC_IO_PDAC2_DAC_S);
^~~~~~~~~~~~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/esp_common/include/esp_assert.h:29:38: note: in definition of macro 'TRY_STATIC_ASSERT'
if (__builtin_constant_p(CONDITION) && !(CONDITION)) { \
^~~~~~~~~
C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:162:13: note: in expansion of macro 'SET_PERI_REG_MASK'
SET_PERI_REG_MASK(RTC_IO_PAD_DAC2_REG, RTC_IO_PDAC2_XPD_DAC | RTC_IO_PDAC2_DAC_XPD_FORCE);
^~~~~~~~~~~~~~~~~
C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:162:75: error: 'RTC_IO_PDAC2_DAC_XPD_FORCE' was not declared in this scope
SET_PERI_REG_MASK(RTC_IO_PAD_DAC2_REG, RTC_IO_PDAC2_XPD_DAC | RTC_IO_PDAC2_DAC_XPD_FORCE);
^~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\jim_\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:176:76: note: in definition of macro 'WRITE_PERI_REG'
(*((volatile uint32_t *)ETS_UNCACHED_ADDR(addr))) = (uint32_t)(val); \
^~~
C:\Program Files (x86)\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:162:13: note: in expansion of macro 'SET_PERI_REG_MASK'
SET_PERI_REG_MASK(RTC_IO_PAD_DAC2_REG, RTC_IO_PDAC2_XPD_DAC | RTC_IO_PDAC2_DAC_XPD_FORCE);
^~~~~~~~~~~~~~~~~
exit status 1
Error compiling for board Node32s.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.