arduitouch-esp32_ili9341.ini 945 B

123456789101112131415161718192021222324252627282930313233343536
  1. ;***************************************************;
  2. ; AZ ArduiTouch PCB with ESP32 with 2.4" or 2.8" ;
  3. ; - ESP32-WROOM-32 board ;
  4. ; - ili9341 TFT ;
  5. ; - xpt2046 touch controller ;
  6. ;***************************************************;
  7. [env:arduitouch-esp32_ili9341]
  8. extends = esp32
  9. board = esp32dev
  10. build_flags =
  11. ${env.build_flags}
  12. ${esp32.build_flags}
  13. -D HASP_MODEL="Arduitouch ESP32"
  14. ;region -- TFT_eSPI build options ------------------------
  15. ${lcd.lolin24}
  16. ${esp32.vspi} ; Use VSPI hardware SPI bus
  17. -D TFT_DC=4
  18. -D TFT_CS=5
  19. -D TFT_RST=22 ; RST
  20. -D TFT_BCKL=15
  21. -D TOUCH_CS=14
  22. -D TFT_BACKLIGHT_ON=LOW
  23. ;endregion
  24. ;region -- Library options -------------------------------
  25. lib_deps =
  26. ${env.lib_deps}
  27. ${esp32.lib_deps}
  28. lib_ignore =
  29. ${env.lib_ignore}
  30. ${esp32.lib_ignore}
  31. ;endregion