43 lines
1.0 KiB
INI
43 lines
1.0 KiB
INI
; 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
|
|
|
|
[env:esp32dev]
|
|
platform = espressif32
|
|
board = esp32dev
|
|
framework = arduino
|
|
monitor_speed = 115200
|
|
lib_deps =
|
|
bodmer/TFT_eSPI @ ^2.5.43
|
|
madhephaestus/ESP32Servo @ ^3.0.5
|
|
|
|
build_flags =
|
|
-D USER_SETUP_LOADED=1
|
|
-D ILI9341_DRIVER=1
|
|
-D TFT_WIDTH=240
|
|
-D TFT_HEIGHT=320
|
|
-D TFT_MISO=19
|
|
-D TFT_MOSI=23
|
|
-D TFT_SCLK=18
|
|
-D TFT_CS=5
|
|
-D TFT_DC=21
|
|
-D TFT_RST=15
|
|
-D TFT_BL=22
|
|
-D TFT_BACKLIGHT_ON=HIGH
|
|
-D TOUCH_CS=4
|
|
-D USE_HSPI_PORT=1
|
|
-D SPI_FREQUENCY=40000000
|
|
-D SPI_READ_FREQUENCY=16000000
|
|
-D SPI_TOUCH_FREQUENCY=2500000
|
|
-D LOAD_GLCD=1
|
|
-D LOAD_FONT2=1
|
|
-D LOAD_FONT4=1
|
|
-D LOAD_FONT7=1
|
|
-D LOAD_GFXFF=1
|
|
-D SMOOTH_FONT=1 |