platformio.ini 1015 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. ; PlatformIO Project Configuration File
  2. ;
  3. ; Build options: build flags, source filter
  4. ; Upload options: custom upload port, speed and extra flags
  5. ; Library options: dependencies, extra library storages
  6. ; Advanced options: extra scripting
  7. ;
  8. ; Please visit documentation for the other options and examples
  9. ; https://docs.platformio.org/page/projectconf.html
  10. [env:tdisplay]
  11. platform = espressif32
  12. board = esp32doit-devkit-v1
  13. framework = arduino
  14. monitor_speed = 115200
  15. monitor_flags =
  16. --eol=CRLF
  17. --echo
  18. --filter=esp32_exception_decoder
  19. lib_deps =
  20. bodmer/TFT_eSPI@2.4.25
  21. askuric/Simple FOC @ 2.2.0
  22. infineon/TLV493D-Magnetic-Sensor @ ^1.0.3
  23. bxparks/AceButton @ ^1.9.1
  24. build_flags =
  25. -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
  26. -DUSER_SETUP_LOADED=1
  27. -DGC9A01_DRIVER=1
  28. -DCGRAM_OFFSET=1
  29. -DTFT_WIDTH=240
  30. -DTFT_HEIGHT=240
  31. -DTFT_MISO=-1
  32. -DTFT_MOSI=19
  33. -DTFT_SCLK=18
  34. -DTFT_CS=5
  35. -DTFT_DC=16
  36. -DTFT_RST=23
  37. -DTFT_BL=4
  38. -DLOAD_GLCD=1
  39. -DLOAD_GFXFF=1
  40. -DSPI_FREQUENCY=40000000