Files
lilygo-t-deck/platformio.ini
T
2024-09-13 11:41:44 +08:00

58 lines
1.4 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
[platformio]
; default_envs = T-Keyboard
; src_dir = examples/Keyboard_ESP32C3
; Please comment out the following when compiling the T-Keyboard
; default_envs = T-Deck
;; Examples only one is valid
src_dir = examples/UnitTest
; src_dir = examples/Microphone
; src_dir = examples/Touchpad
; src_dir = examples/lvgl_example
; src_dir = examples/Keyboard_T_Deck_Master
; src_dir = examples/GPSShield
; src_dir = examples/LvglArduinoVNC_VGA
; src_dir = examples/SX126x_Transmit
[env:T-Keyboard]
platform = espressif32
board = ttgo-t-oi-plus
framework = arduino
;! Don't make changes
boards_dir = boards
[env:T-Deck]
platform = espressif32@6.3.0
board = T-Deck
framework = arduino
upload_speed = 921600
monitor_speed = 115200
build_flags =
-DBOARD_HAS_PSRAM
; Enable UARDUINO_ USB_ CDC_ ON_ BOOT will start printing and wait for terminal access during startup
-DARDUINO_USB_CDC_ON_BOOT=1
; Enable UARDUINO_USB_CDC_ON_BOOT will turn off printing and will not block when using the battery
; -UARDUINO_USB_CDC_ON_BOOT
-DDISABLE_ALL_LIBRARY_WARNINGS