-
Notifications
You must be signed in to change notification settings - Fork 3
Description
I am building this project for a controller I have designed myself with an espressif esp32-s2. I'm using both VSCode + PlatformIO and the Arduino IDE, and on both I have compile errors:
Marlin/src/HAL/ESP32/timers.cpp: In function 'void timer_isr(void*)':
Marlin/src/HAL/ESP32/timers.cpp:79:45: error: 'struct timg_dev_t' has no member named 'int_st'
uint32_t intr_status = TG[timer.group]->int_st.val;
^~~~~~
Marlin/src/HAL/ESP32/timers.cpp:94:40: error: 'struct timg_dev_t' has no member named 'int_clr'
case TIMER_0: TG[timer.group]->int_clr.t0 = 1; break;
^~~~~~~
Marlin/src/HAL/ESP32/timers.cpp:95:40: error: 'struct timg_dev_t' has no member named 'int_clr'
case TIMER_1: TG[timer.group]->int_clr.t1 = 1; break;
^~~~~~~
Marlin/src/HAL/ESP32/timers.cpp:105:47: error: 'volatile union timg_txconfig_reg_t' has no member named 'alarm_en'
TG[timer.group]->hw_timer[timer.idx].config.alarm_en = TIMER_ALARM_EN;
^~~~~~~~
Marlin/src/HAL/ESP32/timers.cpp: In function 'bool HAL_timer_interrupt_enabled(uint8_t)':
Marlin/src/HAL/ESP32/timers.cpp:202:27: error: 'struct timg_dev_t' has no member named 'int_ena'
return TG[timer.group]->int_ena.val | BIT(timer_num);
^~~~~~~
*** [.pio\build\esp32controllerr3\src\src\HAL\ESP32\timers.cpp.o] Error 1