-
Notifications
You must be signed in to change notification settings - Fork 1
/
platformio.ini
26 lines (23 loc) · 1.04 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
; 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:soilmoisture]
platform = espressif8266
board = nodemcuv2
framework = arduino
build_flags = -DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY -Wl,-Teagle.flash.4m3m.ld
;-D PIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY -DDEBUG_ESP_PORT=Serial -DDEBUG_ESP_SSL -DDEBUG_ESP_TLS_MEM -DDEBUG_ESP_HTTP_CLIENT -DDEBUG_ESP_CORE -DDEBUG_ESP_WIFI -DDEBUG_ESP_HTTP_UPDATE
;The order matters here. We're using 0.8.1 of AsyncMqttClient because of a bug https://github.com/homieiot/homie-esp8266/issues/529
;With 0.8.2 the device will loop and not go to deep sleep
lib_deps =
[email protected],!=0.8.2
https://github.com/homieiot/homie-esp8266.git#develop-v3
Timer
monitor_speed = 74880
upload_speed = 115200