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

ESP32 compilation error triggered by recommended by third part PSRAM type (IDFGH-14763) #15502

Open
3 tasks done
baruchli opened this issue Mar 1, 2025 · 2 comments
Open
3 tasks done
Labels
Status: Opened Issue is new Type: Bug bugs in IDF

Comments

@baruchli
Copy link

baruchli commented Mar 1, 2025

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.

Arduino IDE 2.3.4

Operating System used.

Windows

How did you build your project?

Other (please specify in More Information)

If you are using Windows, please specify command line type.

None

What is the expected behavior?

I use SparkFun Thing Plus - ESP32-S3 board with next SW environment:
Arduino IDE: 2.3.4
Installed boards support:
Arduino ESP32 Boards v2.0.18 - arduino.5 by Arduino
esp32 v3.2.0-RC1 by Espressif
Board chousen in Arduino IDE "Tools": esp32 --> ESP32S3 Dev Module Octal (WROOM2)

If I choose PSRAM: QSPI PSRAM option according to Hookup guide.

I had tried to compile one of examples provided by Sparkfun RGB_LED.ino

Expected behaviour: Successful compilation

What is the actual behavior?

Actual behavior:
Next compilation error:

In file included from …/Arduino15/packages/esp32/tools/esp-x32/2411/xtensa-esp-elf/include/sys/reent.h:34,
from …\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.4-bcb3c32d-v1\esp32s3/include/newlib/platform_include/sys/reent.h:13,
from …/Arduino15/packages/esp32/tools/esp-x32/2411/xtensa-esp-elf/include/stdio.h:60,
from…\Arduino15\packages\esp32\hardware\esp32\3.2.0-RC1\cores\esp32/Arduino.h:27,
from …\AppData\Local\arduino\sketches\F2D0A6956F0C0D1ADC2714C276F620B6\sketch\RGB_LED.ino.cpp:1:
…\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.4-bcb3c32d-v1\esp32s3/include/newlib/platform_include/sys/lock.h:9:10: fatal error: sdkconfig.h: No such file or directory
9 | #include “sdkconfig.h”
| ^~~~~~~~~~~~~
compilation terminated

Steps to reproduce.

Install from scretche next environment:

  1. Arduino IDE: 2.3.4
  2. Installed boards support:
  3. Arduino ESP32 Boards v2.0.18 - arduino.5 by Arduino
  4. esp32 v3.2.0-RC1 by Espressif
  5. Choose next board via Arduino IDE tools: esp32 --> ESP32S3 Dev Module Octal (WROOM2)

Update: The problem can be reproduced starting from version 3.1.0-RC1 of Espressif esp32 board support library for Arduino IDE.and onward. It does not occur in the previous version, 3.0.7.

Build or installation Logs.

In file included from …/Arduino15/packages/esp32/tools/esp-x32/2411/xtensa-esp-elf/include/sys/reent.h:34,
from …\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.4-bcb3c32d-v1\esp32s3/include/newlib/platform_include/sys/reent.h:13,
from …/Arduino15/packages/esp32/tools/esp-x32/2411/xtensa-esp-elf/include/stdio.h:60,
from…\Arduino15\packages\esp32\hardware\esp32\3.2.0-RC1\cores\esp32/Arduino.h:27,
from …\AppData\Local\arduino\sketches\F2D0A6956F0C0D1ADC2714C276F620B6\sketch\RGB_LED.ino.cpp:1:
…\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.4-bcb3c32d-v1\esp32s3/include/newlib/platform_include/sys/lock.h:9:10: fatal error: sdkconfig.h: No such file or directory
9 | #include “sdkconfig.h”
| ^~~~~~~~~~~~~
compilation terminated

More Information.

No response

@baruchli baruchli added the Type: Bug bugs in IDF label Mar 1, 2025
@Alvin1Zhang
Copy link
Collaborator

Thanks for reporting.

@github-actions github-actions bot changed the title ESP32 compilation error triggered by recommended by third part PSRAM type ESP32 compilation error triggered by recommended by third part PSRAM type (IDFGH-14763) Mar 3, 2025
@espressif-bot espressif-bot added the Status: Opened Issue is new label Mar 3, 2025
@baruchli
Copy link
Author

baruchli commented Mar 5, 2025

Thanks for reporting.

You welcome. I will be glad to provide any information that will help to mend the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Opened Issue is new Type: Bug bugs in IDF
Projects
None yet
Development

No branches or pull requests

3 participants