; PlatformIO Project Configuration File ; ; Build options: build flags, source filter ; Upload options: custom upload port, speed and extra flags ; Library options: dependencies, extra library storages ; Advanced options: extra scripting ; ; Please visit documentation for the other options and examples ; https://docs.platformio.org/page/projectconf.html ; ESP32-2432S028R (ESP32 with ILI9341 TFT touchscreen) [env:esp32-2432s028r] platform = espressif32 board = esp32dev framework = arduino monitor_speed = 115200 upload_speed = 921600 build_flags = -D ARDUINO_ARCH_ESP32 -D USER_SETUP_LOADED=1 -D ILI9341_DRIVER=1 -D TFT_WIDTH=240 -D TFT_HEIGHT=320 -D TFT_MISO=12 -D TFT_MOSI=13 -D TFT_SCLK=14 -D TFT_CS=15 -D TFT_DC=2 -D TFT_RST=-1 -D TFT_BL=21 -D TOUCH_CS=22 -D SPI_FREQUENCY=55000000 -D SPI_READ_FREQUENCY=20000000 -D SPI_TOUCH_FREQUENCY=2500000 lib_deps = bblanchon/ArduinoJson@^6.21.3 bodmer/TFT_eSPI@^2.5.43 paulstoffregen/XPT2046_Touchscreen@^1.4 https://github.com/Locoduino/DCCpp board_build.filesystem = littlefs