Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors in platformsIO and Arduino IDE #15

Open
JoseAntonioMG opened this issue Mar 28, 2023 · 0 comments
Open

Errors in platformsIO and Arduino IDE #15

JoseAntonioMG opened this issue Mar 28, 2023 · 0 comments

Comments

@JoseAntonioMG
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant