; PlatformIO Configuration for Freenove FNK0102H (3.5" TFT) [env:fnk0102h] platform = espressif32 framework = arduino board = esp32dev monitor_speed = 115200 upload_speed = 921600 ; Critical settings for Arduino libraries lib_extra_dirs = lib ; Points to your local lib folder lib_compat_mode = strict ; Better Arduino IDE compatibility lib_archive = no ; Required for local source libraries ; Display configuration (3.5" TFT) build_flags = -DBOARD_FNK0102H -DTFT_WIDTH=320 -DTFT_HEIGHT=480 -DTFT_MOSI=23 -DTFT_SCLK=18 -DTFT_CS=5 -DTFT_DC=16 -DTFT_RST=21 -DTFT_BL=4 -DSDA=21 ; I2C -DSCL=22 ; I2C -DSCK=18 ; SPI -DMISO=19 -DMOSI=23 -DSS=5 ; Library configuration lib_deps = ; Stable PlatformIO libraries lvgl/lvgl@^8.3.0 bodmer/TFT_eSPI@^2.5.0 fastled/FastLED@^3.5.0 ; Local Arduino IDE libraries (placed in lib/) ; Format: / ; Example for Freenove_ESP32_WS2812: Freenove_ESP32_WS2812/Freenove_ESP32_WS2812.h