feat(boards): add ESP32-32E-4 (4" ST7796) board support

This commit is contained in:
2026-02-17 22:07:51 -08:00
parent a42415e64e
commit cbe7efe883
8 changed files with 405 additions and 2 deletions

View File

@@ -0,0 +1,18 @@
#pragma once
#define BOARD_NAME "WS_32E_4"
// ══════════════════════════════════════════════════════════
// Hosyond ESP32-32E 4" (320x480) with ST7796 + XPT2046
// Pin mapping from lcdwiki.com/4.0inch_ESP32-32E_Display
// ══════════════════════════════════════════════════════════
#define DISPLAY_WIDTH 320
#define DISPLAY_HEIGHT 480
#define DISPLAY_ROTATION 1 // landscape
// Backlight GPIO (HIGH = on)
#define PIN_LCD_BL 27
// Touch — XPT2046 configured in tft_user_setup.h
// Touch CS: GPIO33, Touch IRQ: GPIO36