Skip to main content

Module s2_mini

Module s2_mini 

Source
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.