-
-
Notifications
You must be signed in to change notification settings - Fork 720
Open
Labels
Description
❗ Hardware & Setup
- Board: Waveshare ESP32‑S3‑Touch‑LCD‑5" (ESP32‑S3‑WROOM‑1‑N16R8; 16 MB Flash, 8 MB PSRAM)
- Environment: PlatformIO IDE (VS Code)
- Framework: Arduino on Espressif32 platform ^6.0.0 (Arduino‑ESP32 core 3.x)
🐞 Symptom
Firmware compiles & uploads fine, but board repeatedly resets:
setup()
with Serial.begin()
never runs.
✅ Working reference
Waveshare’s official demo firmware (from wiki) runs without issues on same hardware.
🔧 What I’ve tried
board = esp32-s3-devkitc-1
board_build.flash_size = 16MB
,board_build.psram_size = 8MB
- custom partitions:
partitions_16MB_no_ota.csv
- build flags:
-DARDUINO_USB_CDC_ON_BOOT=1
,-DARDUINO_USB_MODE=1
,-DBOARD_HAS_PSRAM
,-mfix-esp32-psram-cache-issue
- added ESP_Panel and IOExpander libraries
- minimal
main.cpp
with onlySerial.begin(...)
- manual boot (BOOT + RESET)
- 12 V supply to VIN
❓ Questions
- Is there a PlatformIO example “out-of-the-box” for this board?
- Are there specific platformio.ini settings required (variants, flash mode, PSRAM, build flags)?
- Does the Waveshare demo use custom
sdkconfig
or flash settings needed in PlatformIO? - Could you share a working
platformio.ini
or repository?
🔗 References
- Similar PlatformIO community discussion for 1.28” version: using Arduino‑ESP32 3.x core :contentReference[oaicite:1]{index=1}
- Community feedback: update to
platform-espressif32@3.1.x
for S3 support :contentReference[oaicite:2]{index=2} - Example repo for Waveshare 4.3”:
istvank/Waveshare-ESP32-S3-Touch-LCD-4.3
:contentReference[oaicite:3]{index=3}
A working demo project or validated platformio.ini that boots properly.
Thank you! 🙌