PlatformIO/Arduino firmware for WEMOS/LOLIN S2 Mini: - 6-bit GPIO control (GPIOs 1-6) with glitch-free register writes - REST API: /status, /set, /config, /sweep endpoints - Web UI with PCB green theme, slider, presets, pin visualization - NVS persistence of attenuation setting across power cycles - Sweep mode for automated attenuation stepping - mDNS (attenuator.local), OTA updates, watchdog
15 lines
353 B
INI
15 lines
353 B
INI
[env:lolin_s2_mini]
|
|
platform = espressif32
|
|
board = lolin_s2_mini
|
|
framework = arduino
|
|
lib_deps =
|
|
mathieucarbou/ESPAsyncWebServer @ ^3.6.0
|
|
bblanchon/ArduinoJson @ ^7.3.0
|
|
monitor_speed = 115200
|
|
board_build.filesystem = littlefs
|
|
build_flags =
|
|
-DCORE_DEBUG_LEVEL=3
|
|
-DBOARD_HAS_PSRAM=1
|
|
-DARDUINO_USB_MODE=1
|
|
-DARDUINO_USB_CDC_ON_BOOT=1
|