forked from c5n/oh-ez-touch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
133 lines (126 loc) · 2.92 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
; 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]
src_dir = src
include_dir = src
[common]
lib_deps =
lv_arduino @ 2.1.5
Adafruit BME280 Library @ 2.1.2
ArduinoJson @ 6.17.2
AutoConnect @ 1.3.2
yiannisbourkelis/Uptime Library @ ^1.0.0
; Version of November 2022
bodmer/TFT_eSPI @ 2.4.79
build_flags =
-Os
!echo '-DVERSION_GIT_HASH=\"'$(git log |head -1 |cut -c8-)'\"'
-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_INFO
-DUSER_SETUP_LOADED=1
-DLV_USE_DEBUG=0
-DLV_CONF_INCLUDE_SIMPLE=1
-DAUTOCONNECT_STARTUPTIME=10
-DAUTOCONNECT_PSK='""'
-DLODEPNG_NO_COMPILE_ANCILLARY_CHUNKS=1
-DLODEPNG_NO_COMPILE_DISK=1
-DLODEPNG_NO_COMPILE_ENCODER=1
-DLODEPNG_NO_COMPILE_ALLOCATORS=1
-DAC_DEBUG=0
-I ./src/
[env]
framework = arduino
platform_packages = platformio/framework-arduinoespressif32
build_flags = ${common.build_flags}
lib_deps = ${common.lib_deps}
[env:debug]
platform = espressif32
board = esp32dev
board_build.partitions = min_spiffs.csv
build_type = debug
build_flags =
${common.build_flags}
-DTARGET_NAME=\"ArduiTouchJTAG\"
-DILI9341_DRIVER=1
-DTFT_MISO=19
-DTFT_MOSI=23
-DTFT_SCLK=18
-DTFT_CS=5
-DTFT_DC=4
-DTFT_RST=22
-DTFT_RD=2
-DTFT_WR=4
-DTFT_TOUCH_FLIP=1
-DTFT_BACKLIGHT_PIN=16
-DTOUCH_CS=26
-DSPI_FREQUENCY=40000000
-DDEBUG_LODEPNG_MALLOC=0
-DDEBUG_AC_MAIN=0
-DDEBUG_AC_SETTINGS=0
-DDEBUG_BACKLIGHT_CONTROL=0
-DDEBUG_BEEPER_CONTROL=0
-DDEBUG_CONFIG=0
-DDEBUG_WLAN_STATES=0
-DDEBUG_DISPLAY_TOUCH=0
-DDEBUG_OPENHAB_CONNECTOR=0
-DDEBUG_OPENHAB_CONNECTOR_PACKETDUMP=0
-DDEBUG_OPENHAB_SENSOR_BME280=0
-DDEBUG_OPENHAB_SENSOR_CONNECTOR=0
-DDEBUG_OPENHAB_UI=0
-DDEBUG_UI_INFOLABEL=0
-DDEBUG_UI_SECURITY_PIN=0
upload_port = /dev/ttyUSB0
upload_speed = 921600
monitor_port = /dev/ttyUSB0
monitor_speed = 115200
debug_tool = esp-prog
[env:ArduiTouch]
platform = espressif32
board = esp32dev
board_build.partitions = min_spiffs.csv
build_flags =
${common.build_flags}
-DTARGET_NAME=\"ArduiTouch\"
-DILI9341_DRIVER=1
-DTFT_MISO=19
-DTFT_MOSI=23
-DTFT_SCLK=18
-DTFT_CS=5
-DTFT_DC=4
-DTFT_RST=22
-DTFT_TOUCH_FLIP=1
-DTOUCH_CS=14
-DSPI_FREQUENCY=40000000
upload_port = /dev/ttyUSB0
upload_speed = 921600
monitor_port = /dev/ttyUSB0
monitor_speed = 115200
[env:ArduiTouch28]
platform = espressif32
board = esp32dev
board_build.partitions = min_spiffs.csv
build_flags =
${common.build_flags}
-DTARGET_NAME=\"ArduiTouch28\"
-DILI9341_DRIVER=1
-DTFT_MISO=19
-DTFT_MOSI=23
-DTFT_SCLK=18
-DTFT_CS=5
-DTFT_DC=4
-DTFT_RST=22
-DTFT_RD=2
-DTFT_WR=4
-DTFT_TOUCH_FLIP=0
-DTOUCH_CS=14
-DSPI_FREQUENCY=40000000
upload_port = /dev/ttyUSB0
upload_speed = 921600
monitor_port = /dev/ttyUSB0
monitor_speed = 115200