Expand description
Lolin S2 Mini board configuration.
Pin definitions and hardware constants for the Lolin S2 Mini (ESP32-S2). This is the primary target board.
Constantsยง
- BOARD_
NAME - Human-readable board identifier.
- BOOT_
BUTTON_ GPIO - GPIO pin for the on-board BOOT button.
- BUTTON_
GPIO - GPIO pin for the external user button (active low, pull-up).
- CONSOLE_
RX - UART RX pin for console input (USB CDC).
- CONSOLE_
TX - UART TX pin for console output (USB CDC).
- DMX_
UART_ DE_ RE - GPIO pin for RS-485 DE/RE (direction enable/disable).
- DMX_
UART_ RX - UART RX pin for DMX/RS-485 input.
- DMX_
UART_ TX - UART TX pin for DMX/RS-485 output.
- LED_
GPIO - GPIO pin for the external status LED (via MOSFET, if connected).
- ONBOARD_
LED_ GPIO - GPIO pin for the on-board status LED (active-low).
- USB_
DM_ GPIO - USB D- pin (USB-OTG, fixed by hardware).
- USB_
DP_ GPIO - USB D+ pin (USB-OTG, fixed by hardware).
- W5500_
CS - SPI chip select pin for W5500 Ethernet module.
- W5500_
MISO - SPI MISO pin for W5500 Ethernet module.
- W5500_
MOSI - SPI MOSI pin for W5500 Ethernet module.
- W5500_
SCK - SPI SCK pin for W5500 Ethernet module.