-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
70 lines (64 loc) · 1.4 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
; 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
[env]
platform = espressif32
board = az-delivery-devkit-v4
framework = arduino
upload_port = /dev/ttyUSB0
monitor_port = /dev/ttyUSB0
monitor_speed = 9600
lib_deps =
SPI
Wire
bblanchon/ArduinoJson@^6.19.4
dfrobot/DFRobotDFPlayerMini@^1.0.5
plerup/EspSoftwareSerial@^6.16.1
bodmer/TFT_eSPI@^2.4.51
lvgl/lvgl@^8.2.0
ottowinter/ESPAsyncWebServer-esphome@^2.1.0
me-no-dev/AsyncTCP@^1.1.1
build_flags =
-DCORE_DEBUG_LEVEL=4
-DASYNCWEBSERVER_REGEX=1
-DLOAD_GLCD=1
-DLOAD_FONT2=1
-DLOAD_FONT4=1
-DLOAD_FONT6=1
-DLOAD_FONT7=1
-DLOAD_FONT8=1
-DLOAD_FONT8N=1
-DLOAD_GFXFF=1
-DSMOOTH_FONT=1
-DSPI_FREQUENCY=270000000
[env:esp_wroom_02_ILI9341]
build_flags =
${env.build_flags}
-DILI9341_DRIVER=1
-DUSER_SETUP_LOADED=1
-DTFT_WIDTH=240
-DTFT_HEIGHT=320
-DTFT_CS=0
-DTFT_RST=2
-DTFT_DC=4
-DTFT_MOSI=13
-DTFT_SCLK=14
[env:esp_wroom_02_ST7735]
build_flags =
${env.build_flags}
-DST7735_DRIVER=1
-DST7735_GREENTAB2=1
-DTFT_WIDTH=240
-DTFT_HEIGHT=160
-DUSER_SETUP_LOADED=1
-DTFT_CS=0
-DTFT_RST=2
-DTFT_DC=4
-DTFT_MOSI=13
-DTFT_SCLK=14