nodemcu-32s_st7796.ini 1017 B

12345678910111213141516171819202122232425262728293031323334353637
  1. ;***************************************************;
  2. ; NodeMCU32S with build with ;
  3. ; - st7796 TFT ;
  4. ; - MHS-4" RPI Display-B ;
  5. ; - xpt2046 touch controller ;
  6. ;***************************************************;
  7. [env:nodemcu32s-raspi]
  8. extends = esp32
  9. board = nodemcu-32s
  10. build_flags =
  11. ${env.build_flags}
  12. ${esp32.build_flags}
  13. ;region -- TFT_eSPI build options ------------------------
  14. ${lcd.raspberrypi}
  15. ${esp32.vspi} ; Use VSPI hardware SPI bus
  16. -D TFT_CS=15
  17. -D TFT_DC=4
  18. -D TFT_RST=32
  19. -D TFT_BCKL=-1 ; None, configurable via web UI (e.g. 21)
  20. -D TOUCH_CS=22
  21. ;endregion
  22. ; -- Debugging options -----------------------------
  23. ; -D CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
  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