Skip to content

[BUG] soc/rtc_wdt.h not found error #86

@ahakkoca07

Description

@ahakkoca07

Describe the bug
A clear and concise description of what the bug is.
#include <soc/rtc_wdt.h> line gives error.

To Reproduce
Compile Marlin fork of Luc with ESP32 Dev Board and ESP32Lib 3.0.

Expected behavior
Compile without error.

Screenshots
If applicable, add screenshots to help explain your problem.

Marlin Firmware:

  • Marlin Branch/Version:635d22c
  • Any change done in Marlin code/configuration:
    Added custom board

ESP3DLib :

  • ESP3DLib Branch/Version:b5c99e2
  • Web UI Version:unknown
  • Wifi mode:unknown
  • Any change done in ESP3DLib code/configuration: Enabled Arduino IDE as advised in #81
    Board used (please complete the following information):
  • BOARD: ESP32 Dev Board
  • Flash size: 4M
  • partitions: default

Additional context

Arduino:1.8.19 (Linux), Kart:"ESP32 Dev Module, Disabled, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 921600, Core 1, Core 1, None, Disabled, Disabled"


/home/ahakkoca07/Belgeler/arduino-1.8.19/libraries/ESP3DLib/src/core/hal.cpp:30:10: fatal error: soc/rtc_wdt.h: No such file or directory
   30 | #include <soc/rtc_wdt.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
"WiFi.h" için birden fazla library bulundu
Kullanılıyor: /home/ahakkoca07/.arduino15/packages/esp32/hardware/esp32/3.1.3/libraries/WiFi
Kullanılmıyor: /home/ahakkoca07/Belgeler/arduino-1.8.19/libraries/WiFi
exit status 1
ESP32 Dev Module kartı için derleme hatası.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

I think we can solve this like the following: espressif/arduino-esp32#9800
I currently tried removing the "soc/" from the #include <soc/rtc_wdt.h>, now it is compiling again. I will update when it complies/gives error again.

Well, as i was about to post this, it gave another error:

/home/ahakkoca07/Belgeler/arduino-1.8.19/libraries/ESP3DLib/src/esp3dlib.cpp:34:10: fatal error: soc/rtc_wdt.h: No such file or directory
   34 | #include <soc/rtc_wdt.h>
      |          ^~~~~~~~~~~~~~~

It got past the previous error, so i will create a PR about this once i find all the errors.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions