Open hongwansoon0821 opened 1 year ago
XT_DAC_Audio 4.2.1 is meant to be built on ESP32 core for arduino 1.0.x
You're using ESP32 core 2.0.x.
It can be easily solved: add
#include "soc/rtc_io_reg.h"
at the beginning of XT_DAC_Audio.cpp
@hongwansoon0821 I added the following piece of code to XT_DAC_Audio.cpp and It is working now for me.
Reference link: https://www.esp32.com/viewtopic.php?t=27178#p99673
c:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:26:10: error: #include expects "FILENAME" or
include "soc/rtc_io_reg.h
In file included from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:19, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/hal/include/hal/touch_sensor_types.h:11, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/esp_hw_support/include/esp_sleep.h:12, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/esp32-hal.h:33, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/esp32-hal-timer.h:23, from c:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:23: c:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp: In function 'void onTimer()': c:\Users\itadm\Documents\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_BITS(RTC_IO_PAD_DAC1_REG, RTC_IO_PDAC1_DAC, LastDacValue, RTC_IO_PDAC1_DAC_S); ^
~~~~~~ C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:156: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\itadm\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch5\xtensa-esp32-elf\sys-include\sys\reent.h:503, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/newlib/platform_include/sys/reent.h:17, from c:\users\itadm\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch5\xtensa-esp32-elf\sys-include\stdio.h:60, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/esp32-hal.h:25, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/esp32-hal-timer.h:23, from c:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:23: c:\Users\itadm\Documents\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_BITS(RTC_IO_PAD_DAC1_REG, RTC_IO_PDAC1_DAC, LastDacValue, RTC_IO_PDAC1_DAC_S); ^~~~~~~ C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:156: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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:19, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/hal/include/hal/touch_sensor_types.h:11, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/esp_hw_support/include/esp_sleep.h:12, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/esp32-hal.h:33, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/esp32-hal-timer.h:23, from c:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:23: c:\Users\itadm\Documents\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_BITS(RTC_IO_PAD_DAC1_REG, RTC_IO_PDAC1_DAC, LastDacValue, RTC_IO_PDAC1_DAC_S); ^~~~~~~ C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:156: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\itadm\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch5\xtensa-esp32-elf\sys-include\sys\reent.h:503, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/newlib/platform_include/sys/reent.h:17, from c:\users\itadm\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch5\xtensa-esp32-elf\sys-include\stdio.h:60, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/esp32-hal.h:25, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/esp32-hal-timer.h:23, from c:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:23: c:\Users\itadm\Documents\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_BITS(RTC_IO_PAD_DAC1_REG, RTC_IO_PDAC1_DAC, LastDacValue, RTC_IO_PDAC1_DAC_S); ^~~~~~~ C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:156: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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/hal/include/hal/touch_sensor_types.h:11, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/esp_hw_support/include/esp_sleep.h:12, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/esp32-hal.h:33, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/esp32-hal-timer.h:23, from c:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:23: c:\Users\itadm\Documents\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_BITS(RTC_IO_PAD_DAC1_REG, RTC_IO_PDAC1_DAC, LastDacValue, RTC_IO_PDAC1_DAC_S); ^~~~~~~ C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:156: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:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:156: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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:156: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:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:156: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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:156: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:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:156: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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:156: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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:19, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/hal/include/hal/touch_sensor_types.h:11, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/esp_hw_support/include/esp_sleep.h:12, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/esp32-hal.h:33, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/esp32-hal-timer.h:23, from c:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:23: c:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:157: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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:157: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\itadm\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch5\xtensa-esp32-elf\sys-include\sys\reent.h:503, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/newlib/platform_include/sys/reent.h:17, from c:\users\itadm\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch5\xtensa-esp32-elf\sys-include\stdio.h:60, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/esp32-hal.h:25, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/esp32-hal-timer.h:23, from c:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:23: c:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:157: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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:157: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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:19, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/hal/include/hal/touch_sensor_types.h:11, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/esp_hw_support/include/esp_sleep.h:12, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/esp32-hal.h:33, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/esp32-hal-timer.h:23, from c:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:23: c:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:157: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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:157: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\itadm\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch5\xtensa-esp32-elf\sys-include\sys\reent.h:503, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/newlib/platform_include/sys/reent.h:17, from c:\users\itadm\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch5\xtensa-esp32-elf\sys-include\stdio.h:60, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/esp32-hal.h:25, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/esp32-hal-timer.h:23, from c:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:23: c:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:157: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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:157: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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/hal/include/hal/touch_sensor_types.h:11, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/esp_hw_support/include/esp_sleep.h:12, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/esp32-hal.h:33, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/esp32-hal-timer.h:23, from c:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:23: c:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:157: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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:157: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:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:157: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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:157: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:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:157: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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:157: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:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:157: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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:157: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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:19, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/hal/include/hal/touch_sensor_types.h:11, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/esp_hw_support/include/esp_sleep.h:12, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/esp32-hal.h:33, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/esp32-hal-timer.h:23, from c:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:23: c:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:162: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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:162: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\itadm\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch5\xtensa-esp32-elf\sys-include\sys\reent.h:503, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/newlib/platform_include/sys/reent.h:17, from c:\users\itadm\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch5\xtensa-esp32-elf\sys-include\stdio.h:60, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/esp32-hal.h:25, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/esp32-hal-timer.h:23, from c:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:23: c:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:162: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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:162: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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:19, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/hal/include/hal/touch_sensor_types.h:11, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/esp_hw_support/include/esp_sleep.h:12, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/esp32-hal.h:33, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/esp32-hal-timer.h:23, from c:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:23: c:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:162: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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:162: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\itadm\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch5\xtensa-esp32-elf\sys-include\sys\reent.h:503, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/newlib/platform_include/sys/reent.h:17, from c:\users\itadm\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch5\xtensa-esp32-elf\sys-include\stdio.h:60, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/esp32-hal.h:25, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/esp32-hal-timer.h:23, from c:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:23: c:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:162: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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:162: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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/hal/include/hal/touch_sensor_types.h:11, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/esp_hw_support/include/esp_sleep.h:12, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/esp32-hal.h:33, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/esp32-hal-timer.h:23, from c:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:23: c:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:162: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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:162: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); ^~~~~ c:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:162:52: error: 'RTC_IO_PDAC2_DAC' 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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:162: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); ^~~~~ c:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:162:84: error: 'RTC_IO_PDAC2_DAC_S' 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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:162: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); ^~~~~ c:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:162:84: note: suggested alternative: 'RTC_RODATA_ATTR' SET_PERI_REG_BITS(RTC_IO_PAD_DAC2_REG, RTC_IO_PDAC2_DAC, LastDacValue, RTC_IO_PDAC2_DAC_S); ^~~~~~ C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:162: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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:19, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/hal/include/hal/touch_sensor_types.h:11, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/esp_hw_support/include/esp_sleep.h:12, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/esp32-hal.h:33, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/esp32-hal-timer.h:23, from c:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:23: c:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:163:31: error: 'RTC_IO_PAD_DAC2_REG' 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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:163: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); ^~~~~ In file included from c:\users\itadm\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch5\xtensa-esp32-elf\sys-include\sys\reent.h:503, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/newlib/platform_include/sys/reent.h:17, from c:\users\itadm\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch5\xtensa-esp32-elf\sys-include\stdio.h:60, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/esp32-hal.h:25, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/esp32-hal-timer.h:23, from c:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:23: c:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:163:31: error: 'RTC_IO_PAD_DAC2_REG' 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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:163: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); ^~~~~ In file included from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/soc/esp32/include/soc/soc.h:19, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/hal/include/hal/touch_sensor_types.h:11, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/esp_hw_support/include/esp_sleep.h:12, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/esp32-hal.h:33, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/esp32-hal-timer.h:23, from c:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:23: c:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:163:31: error: 'RTC_IO_PAD_DAC2_REG' 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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:163: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); ^~~~~ In file included from c:\users\itadm\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch5\xtensa-esp32-elf\sys-include\sys\reent.h:503, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/newlib/platform_include/sys/reent.h:17, from c:\users\itadm\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch5\xtensa-esp32-elf\sys-include\stdio.h:60, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/esp32-hal.h:25, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/esp32-hal-timer.h:23, from c:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:23: c:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:163:31: error: 'RTC_IO_PAD_DAC2_REG' 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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:163: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); ^~~~~ In file included from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/hal/include/hal/touch_sensor_types.h:11, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/esp_hw_support/include/esp_sleep.h:12, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/esp32-hal.h:33, from C:\Users\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/esp32-hal-timer.h:23, from c:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:23: c:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:163:31: error: 'RTC_IO_PAD_DAC2_REG' 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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:163: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:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:163:52: error: 'RTC_IO_PDAC2_XPD_DAC' 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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:163: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:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:163: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\itadm\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/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:\Users\itadm\Documents\Arduino\libraries\XT_DAC_Audio\XT_DAC_Audio.cpp:163: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
Compilation error: exit status 1