-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
99 lines (93 loc) · 2.06 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
; 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 = esp32dev
[env]
framework = arduino
lib_deps =
lvgl/lvgl@^9.1.0
bodmer/TFT_eSPI@^2.5.43
https://github.com/PaulStoffregen/[email protected]
enviromonitor/[email protected]+sha.600667f3a6
mlesniew/PicoMQTT@^1.1.2
br3ttb/PID@^1.2.1
[env:esp32dev]
platform = espressif32
board = esp32dev
board_build.partitions = no_ota.csv
upload_port = /dev/ttyUSB0
monitor_port = /dev/ttyUSB0
monitor_speed = 115200
build_flags =
-I include
-D LV_LVGL_H_INCLUDE_SIMPLE
-D TFT_INVERTED
-D USER_SETUP_LOADED
-D ILI9341_2_DRIVER
-D TFT_WIDTH=240
-D TFT_HEIGHT=320
-D TFT_MISO=12
-D TFT_MOSI=13
-D TFT_SCLK=14
-D TFT_CS=27
-D TFT_DC=26
-D TFT_RST=-1
-D LOAD_GLCD=1
-D LOAD_FONT2
-D LOAD_FONT4
-D LOAD_FONT6
-D LOAD_FONT7
-D LOAD_FONT8
-D LOAD_GFXFF
-D SMOOTH_FONT
; -D SPI_FREQUENCY=55000000
; -D SPI_READ_FREQUENCY=20000000
; -D SPI_FREQUENCY=27000000
-D SPI_TOUCH_FREQUENCY=2500000
-D USE_HSPI_PORT
; -D IGNORE_SENSORS ; remove in prod
[env:esp32dev-cyd]
platform = espressif32
board = esp32dev
board_build.partitions = no_ota.csv
upload_port = /dev/ttyUSB0
monitor_port = /dev/ttyUSB0
monitor_speed = 115200
build_flags =
-I include
-D TOUCH_INVERTED
-D IGNORE_SENSORS
-D LV_LVGL_H_INCLUDE_SIMPLE
-D TFT_INVERTED
-D USER_SETUP_LOADED
-D ILI9341_2_DRIVER
-D TFT_BL=21
-D TFT_BACKLIGHT_ON=HIGH
-D TFT_WIDTH=240
-D TFT_HEIGHT=320
-D TFT_MISO=16
-D TFT_MOSI=13
-D TFT_SCLK=14
-D TFT_CS=15
-D TFT_DC=2
-D TFT_RST=12
-D LOAD_GLCD=1
-D TOUCH_CS=33
-D LOAD_FONT2
-D LOAD_FONT4
-D LOAD_FONT6
-D LOAD_FONT7
-D LOAD_FONT8
-D LOAD_GFXFF
-D SMOOTH_FONT
-D SPI_FREQUENCY=55000000
-D SPI_READ_FREQUENCY=20000000
-D SPI_TOUCH_FREQUENCY=2500000
-D USE_HSPI_PORT