Fatal error: soc/rtc_wdt.h: No such file or directory

Hello. I am getting a 'soc/rtc.wdt.h' error in the Arduino IDE. Previously, I thought it was related to the IDE version, so I uninstalled version 2.2.1 and installed version 2.3.2. However, the same issue persists. I would greatly appreciate your help. Thank you.

error messages:
fatal error: soc/rtc_wdt.h: No such file or directory
6 | #include <soc/rtc_wdt.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
exit status 1

Compilation error: soc/rtc_wdt.h: No such file or directory

Which board are you compiling for?

Which board package version did you install? Assuming this is an ESP32, have you tried to roll back the version of the board package? Or consult the migration guide (do a search on the web)?

Any chance that you have non-ascii characters somewhere in a path?

Hi, I have the same issue, I use ESP32 and need roll back to 2.0.17. Hope it can help you.

@merlin_chiang, @sema11: Why do you need to access the RTC Watchdog?