-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
55 lines (50 loc) · 1.38 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
; 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 = 8266-FW1_2
[common_env_data]
;lib_deps_external_esp8266 = ${common_env_data.lib_deps_external}
; OneWire
esp8266_framework = [email protected]
esp8266_lib = ./lib-esp8266
[env:8266-FW1_2]
platform = ${common_env_data.esp8266_framework}
board = nodemcuv2
board_build.ldscript = eagle.flash.4m2m.ld
board_build.filesystem = LittleFS
framework = arduino
lib_deps =
martin-ger/uMQTTBroker@^1.0.0
bblanchon/ArduinoJson@^6.19.3
bodmer/TFT_eSPI@^2.4.42
arduino-libraries/NTPClient@^3.1.0
https://github.com/tzapu/WiFiManager
khoih-prog/ESP_DoubleResetDetector@~1.1.2
robtillaart/MultiMap@^0.1.5
monitor_speed = 115200
build_flags =
-DUSER_SETUP_LOADED=1
-DLOAD_GLCD=1
-DLOAD_FONT2=1
-DLOAD_FONT4=0
-DLOAD_FONT6=0
-DLOAD_FONT7=0
-DLOAD_FONT8=0
-DLOAD_GFXFF=1
-DSMOOTH_FONT=1
-DSPI_FREQUENCY=27000000
-DILI9341_DRIVER=1
-DTFT_WIDTH=240
-DTFT_HEIGHT=320
-DTFT_MOSI=PIN_D7
-DTFT_SCLK=PIN_D5
-DTFT_CS=PIN_D8
-DTFT_DC=PIN_D3
-DTFT_RST=PIN_D4