-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplatformio.ini
65 lines (57 loc) · 1.83 KB
/
platformio.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
; 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-Display-AMOLED
boards_dir = boards
[env]
lib_extra_dirs = ${PROJECT_DIR}
lib_ignore = lib_deps ; Ignore lib_deps, but I'm leaving the needed libs there anyway
platform = [email protected]
framework = arduino
upload_speed = 921600
monitor_speed = 115200
build_flags =
-DBOARD_HAS_PSRAM
-DLV_CONF_INCLUDE_SIMPLE
-DDISABLE_ALL_LIBRARY_WARNINGS
; 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
-DCORE_DEBUG_LEVEL=1
monitor_filters =
default
esp32_exception_decoder
lib_deps =
# mikalhart/TinyGPSPlus @ ^1.0.3
adafruit/Adafruit NeoPixel @ ^1.11.0
bxparks/AceButton @ ^1.10.1
https://github.com/lvgl/lvgl.git#release/v8.3
lewisxhe/XPowersLib @ ^0.2.1
lewisxhe/SensorLib @ ^0.1.4
bodmer/TFT_eSPI @ ^2.5.31
FS
SPIFFS
SD
# sparkfun/SparkFun MAX3010x Pulse and Proximity Sensor Library @ ^1.1.2
# LILYGO TTGO T-Display ESP32 board with AMOLED Touch display
[env:T-Display-AMOLED]
extends = env
board = T-Display-AMOLED
build_flags =
${env.build_flags}
-DLILYGO_TDISPLAY_AMOLED_SERIES
# Basic LILYGO TTGO T-Display ESP32 board (non-AMOLED Touch version)
[env:T-Display-ESP32]
extends = env
board = T-Display-ESP32
build_flags =
${env.build_flags}
-DLILYGO_TDISPLAY_ESP32_SERIES