; PlatformIO Project Configuration File for DCC Locomotive Decoder ; ESP32-H2 based DCC decoder with RailCom, motor control, and accessories [env:esp32-h2-devkitm-1] platform = espressif32 board = esp32-h2-devkitm-1 framework = arduino ; Build flags build_flags = -DCORE_DEBUG_LEVEL=3 -DBOARD_HAS_PSRAM -Os ; Monitor settings monitor_speed = 115200 monitor_filters = esp32_exception_decoder ; Upload settings upload_speed = 921600 ; Library dependencies lib_deps = ; FastLED for WS2812 LED control fastled/FastLED@^3.6.0 ; Async Web Server for WiFi configuration esphome/ESPAsyncWebServer-esphome@^3.1.0 ; Async TCP esphome/AsyncTCP-esphome@^2.1.3 ; ArduinoJson for config management bblanchon/ArduinoJson@^7.0.0 ; Preferences/EEPROM for CV storage ; (built-in ESP32 library) ; Filesystem board_build.filesystem = littlefs ; Partition scheme for OTA updates board_build.partitions = default.csv