Skip to content

Use the 4.3 inch display on the ESP32-S31-Korvo-1 - #11630

Open
mikeysklar wants to merge 1 commit into
adafruit:mainfrom
mikeysklar:s31-korvo-display
Open

mikeysklar wants to merge 1 commit into
adafruit:mainfrom
mikeysklar:s31-korvo-display

Conversation

@mikeysklar

Copy link
Copy Markdown
Collaborator

What

Shows the REPL on a 4.3 inch display plugged into the ESP32-S31-Korvo-1.

Why

CircuitPython did not use the board's LCD connector.

CIRCUITPY_DOTCLOCKFRAMEBUFFER=1 on S31 Result
Before Link fails: undefined soc_lcd_rgb_signals and lcd_hal_*
After Builds

The ESP32, S2, S3 and P4 builds already list esp_hal_lcd.

Setting Value
Panel 4.3 inch 800x480 RGB565 (ESP32-S3-LCD-EV-Board SUB3, ST7262E43), no init commands
Timing From Espressif's esp-bsp bsp/esp32_s31_korvo_1/include/bsp/esp32_s31_korvo_1.h: 18 MHz, pclk on falling edge, h 40/40/48, v 23/32/13, about 35 Hz
DISP, GPIO38 Held high across resets

Espressif's Korvo-1 user guide lists the 4.3 inch LCD subboard in its package contents.

ESP32-S31-Korvo-1, this branch, esp-idf v6.1 + 5 commits, Linux host over UART Result
Boot messages and REPL Shown on the panel
Color bars Correct, checked by eye
Plasma and touch paint demos Ran
Memory, 3 boots each 768 KiB less GC heap (frame buffer)

AI assistance: written with Claude Code. I ran every test above on hardware.

Sets up the 4.3 inch RGB panel that ships with the board as board.DISPLAY,
using the timing from Espressif's esp32_s31_korvo_1 BSP, so boot messages
and the REPL show on it.

esp_lcd's RGB panel driver needs lcd_hal and the LCD signal tables, which
live in esp_hal_lcd, so the ESP32-S31 build now links it. The other
targets with an LCD peripheral already list it.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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

Successfully merging this pull request may close these issues.

1 participant