-
Notifications
You must be signed in to change notification settings - Fork 7
/
platformio.ini
18 lines (17 loc) · 904 Bytes
/
platformio.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
; 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
lib_deps = PubSubClient, rc-switch, Adafruit Unified Sensor, DHT sensor library, ArduinoJson
build_flags = -DMQTT_MAX_PACKET_SIZE=512 ;https://github.com/knolleary/pubsubclient/issues/110#issuecomment-174953049
upload_port = 192.168.2.24 ;LightingGatway.local