feat(boards): add ESP32-32E-4 (4" ST7796) board support
This commit is contained in:
18
boards/esp32-32e-4/board_config.h
Normal file
18
boards/esp32-32e-4/board_config.h
Normal 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
|
||||
Reference in New Issue
Block a user