43 lines
950 B
INI
43 lines
950 B
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
|
|
lib_deps =
|
|
bodmer/TFT_eSPI@^2.5.43
|
|
bblanchon/ArduinoJson@^7.2.1
|
|
bodmer/JPEGDecoder@^2.0.0
|
|
build_flags =
|
|
-Os
|
|
-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
|
|
-DUSER_SETUP_LOADED=1
|
|
-DTFT_INVERSION_ON=1
|
|
-DILI9341_DRIVER=1
|
|
-DTFT_WIDTH=320
|
|
-DTFT_HEIGHT=240
|
|
-DTFT_MISO=19
|
|
-DTFT_MOSI=23
|
|
-DTFT_SCLK=18
|
|
-DTFT_CS=15
|
|
-DTFT_DC=2
|
|
-DTFT_RST=4
|
|
-DTOUCH_CS=33
|
|
-DLOAD_GLCD=1
|
|
-DLOAD_FONT2=1
|
|
-DLOAD_FONT4=1
|
|
-DLOAD_FONT6=1
|
|
-DLOAD_FONT7=1
|
|
-DLOAD_FONT8=1
|
|
-DLOAD_GFXFF=1
|
|
-DSMOOTH_FONT=1
|
|
-DSPI_FREQUENCY=27000000
|