-
Notifications
You must be signed in to change notification settings - Fork 1
/
platformio.ini
22 lines (21 loc) · 1 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
; 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
[env:nodemcuv2]
; espressif8266@1.6.0 now supports OTA https://github.com/platformio/platform-espressif8266/releases/tag/v1.6.0
;OLD before 1.6.0 with OTA = platform = https://github.com/platformio/platform-espressif8266.git#feature/stage
platform = espressif8266
board = nodemcuv2
framework = arduino
# Locked ArduinoJson to Version 5
lib_deps = PubSubClient, rc-switch, Adafruit Unified Sensor, DHT sensor library, ArduinoJson@5
build_flags = -DMQTT_MAX_PACKET_SIZE=512 ;https://github.com/knolleary/pubsubclient/issues/110#issuecomment-174953049
upload_speed = 460800
monitor_speed = 115200
; upload_port = 192.168.2.23 # CHECK THIS IS CORRECT BEFORE FLASHING!!!
;BunnyShedESP.local