57 lines
1.1 KiB
INI
57 lines
1.1 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:mhetesp32minikit]
|
|
platform = espressif32
|
|
board = esp32dev
|
|
framework = arduino
|
|
monitor_speed = 115200
|
|
|
|
|
|
#build_flags = -DCORE_DEBUG_LEVEL=0
|
|
|
|
#board_build.partitions = my.csv
|
|
|
|
#board_build.partitions = huge_app.csv
|
|
|
|
build_flags =
|
|
-DLV_CONF_SKIP
|
|
-DLV_CONF_INCLUDE_SIMPLE
|
|
-DUSER_SETUP_LOADED=1
|
|
-DST7796_DRIVER=1
|
|
-DUSE_HSPI_PORT=1
|
|
-DPIN_SDA=18
|
|
-DPIN_SCL=19
|
|
-DTFT_MISO=12
|
|
-DTFT_MOSI=13
|
|
-DTFT_SCLK=14
|
|
-DTFT_CS=15
|
|
-DTFT_DC=21
|
|
-DTFT_RST=22
|
|
-DTFT_BL=23
|
|
-DLOAD_GLCD
|
|
-DLOAD_FONT2
|
|
-DLOAD_FONT4
|
|
-DLOAD_FONT6
|
|
-DLOAD_FONT7
|
|
-DLOAD_FONT8
|
|
-DLOAD_GFXFF
|
|
-DSPI_FREQUENCY=27000000
|
|
-DSPI_READ_FREQUENCY=20000000
|
|
-DSPI_TOUCH_FREQUENCY=2500000
|
|
-DSMOOTH_FONT
|
|
-DTFT_BL=23
|
|
|
|
|
|
lib_ldf_mode = deep+
|
|
lib_deps =
|
|
Bodmer/TFT_eSPI
|
|
lvgl@~7.11.0
|