firmware/variants/t-deck/platformio.ini

35 lines
962 B
INI
Raw Normal View History

; LilyGo T-Deck
[env:t-deck]
extends = esp32s3_base
board = t-deck
2024-02-28 19:47:55 +00:00
board_build.partitions = default_16MB.csv ; just for test
2024-02-26 11:23:51 +00:00
upload_protocol = esp-builtin
2024-03-05 08:10:13 +00:00
build_flags = ${esp32_base.build_flags} -fno-omit-frame-pointer
2024-02-26 11:23:51 +00:00
-D T_DECK
-D MAX_THREADS=40
2024-02-26 11:23:51 +00:00
-D HAS_SCREEN=0
-D HAS_TFT=1
-D GPS_POWER_TOGGLE
-D LV_LVGL_H_INCLUDE_SIMPLE
-D LV_CONF_INCLUDE_SIMPLE
-D LV_COMP_CONF_INCLUDE_SIMPLE
-D CALIBRATE_TOUCH
-D KB_POWERON=10
-D LGFX_DRIVER=LGFX_TDECK
-D LGFX_DRIVER_INC=\"LGFX_T_DECK.h\"
-D VIEW_320x240
-D VIEW_CLASS=TFTView_320x240
-D VIEW_CLASS_INC=\"TFTView_320x240.h\"
2024-03-05 08:10:13 +00:00
; -D USE_DOUBLE_BUFFER
2024-02-26 11:23:51 +00:00
-I lib/device-ui/generated/ui_320x240
-I variants/t-deck
2024-03-05 15:14:52 +00:00
build_src_filter = ${esp32_base.build_src_filter}
2024-02-26 11:23:51 +00:00
+<../lib/device-ui/generated/ui_320x240>
+<../lib/device-ui/resources>
2024-03-05 15:14:52 +00:00
+<../lib/device-ui/source>
2024-02-26 11:33:23 +00:00
lib_deps =
2024-02-26 11:23:51 +00:00
${esp32_base.lib_deps}
lovyan03/LovyanGFX@^1.1.12
earlephilhower/ESP8266Audio@^1.9.7
2024-02-26 11:23:51 +00:00
earlephilhower/ESP8266SAM@^1.0.1