forked from xlyric/pv-router-esp32
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
89 lines (74 loc) · 1.82 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
; 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:esp32doit-devkit-v1]
platform = espressif32 @ ~3.5.0
board = esp32dev
framework = arduino
monitor_speed = 115200
build_flags =
-DCORE_DEBUG_LEVEL=0
-D DEVKIT1
-D OLEDDISPLAY
lib_deps =
NTPClient
ESP Async WebServer
thingpulse/ESP8266 and ESP32 OLED driver for SSD1306 displays@^4.2.0
bblanchon/ArduinoJson@^6.17.3
pubsubclient
ayushsharma82/AsyncElegantOTA @ ^2.2.5
paulstoffregen/Time
[env:ttgo-t-display]
;info https://github.com/JakubAndrysek/TTGO_T_Display/blob/master/TTGO_example/platformio.ini
platform = espressif32 @ ~3.5.0
board = esp32dev
framework = arduino
monitor_speed = 115200
upload_speed = 921600
build_flags =
-DCORE_DEBUG_LEVEL=0
-D TTGO
-D USER_SETUP_LOADED=1
-D ST7789_DRIVER
-D TFT_SDA_READ
-D TFT_WIDTH=135
-D TFT_HEIGHT=240
-D CGRAM_OFFSET
-D TFT_MOSI=19
-D TFT_SCLK=18
-D TFT_CS=5
-D TFT_DC=16
-D TFT_RST=23
-D TFT_BL=4
-D TFT_BACKLIGHT_ON=HIGH
-D LOAD_GLCD
-D LOAD_FONT2
-D LOAD_FONT4
-D LOAD_FONT6
-D LOAD_FONT7
-D LOAD_FONT8
-D LOAD_GFXFF
-D SMOOTH_FONT
-D SPI_FREQUENCY=40000000
-D SPI_READ_FREQUENCY=6000000
lib_deps =
NTPClient
paulstoffregen/Time
me-no-dev/ESP Async WebServer
bblanchon/ArduinoJson@^6.17.3
; support MQTT
knolleary/pubsubclient
;support screen
TFT_eSPI
; OTA
ayushsharma82/AsyncElegantOTA @ ^2.2.5
; Dimmer et Dallas
https://github.com/xlyric/RBDDimmer
paulstoffregen/OneWire
milesburton/DallasTemperature