-
Notifications
You must be signed in to change notification settings - Fork 67
/
platformio.ini
30 lines (25 loc) · 1.08 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
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter, extra scripting
; Upload options: custom port, speed and extra flags
; Library options: dependencies, extra library storages
;
; Please visit documentation for the other options and examples
; http://docs.platformio.org/en/stable/projectconf.html
[platformio]
extra_configs = platformio_8266.ini
;extra_configs = platformio_32.ini
[esp_defaults]
monitor_speed = 115200
upload_speed = 921600
; *** Upload Serial reset method for Wemos and NodeMCU
upload_resetmethod = nodemcu
;upload_port = COM5
extra_scripts = scripts/name-firmware.py
lib_deps = PubSubClient
Nanopb=https://github.com/nanopb/nanopb.git#nanopb-0.3.9.5
;esp_framework=https://github.com/qlwz/esp_framework
build_flags = -DMQTT_MAX_PACKET_SIZE=768
-DMQTT_SOCKET_TIMEOUT=5
-DMQTT_KEEPALIVE=30
-DPB_FIELD_16BIT=1