Browse Source

fix lib_deps in [env:node_mcu_v2] PR #101

pull/102/head
stefan123t 3 years ago
parent
commit
5b438d143a
  1. 6
      tools/esp8266/app.cpp
  2. 20
      tools/esp8266/platformio.ini

6
tools/esp8266/app.cpp

@ -15,11 +15,11 @@
app::app() : Main() {
DPRINTLN(DBG_VERBOSE, F("app::app():Main"));
mSendTicker = 0xffff;
mSendInterval = MIN_SEND_INTERVAL;
mSendInterval = SEND_INTERVAL;
mMqttTicker = 0xffff;
mMqttInterval = MIN_MQTT_INTERVAL;
mMqttInterval = MQTT_INTERVAL;
mSerialTicker = 0xffff;
mSerialInterval = MIN_SERIAL_INTERVAL;
mSerialInterval = SERIAL_INTERVAL;
mMqttActive = false;
mTicker = 0;

20
tools/esp8266/platformio.ini

@ -9,6 +9,19 @@ monitor_speed = 115200
board_build.f_cpu = 80000000L
;build_flags = -DDEBUG_ESP_PORT=Serial
lib_deps =
nrf24/RF24@1.4.2
paulstoffregen/Time@^1.6.1
knolleary/PubSubClient@^2.8
bblanchon/ArduinoJson@^6.19.4
;esp8266/DNSServer@1.1.0
;esp8266/EEPROM@^1.0
;esp8266/ESP8266HTTPUpdateServer@^1.0
;esp8266/ESP8266WebServer@^1.0
;esp8266/ESP8266WiFi@^1.0
;esp8266/SPI@1.0
;esp8266/Ticker@^1.0
[env:node_mcu_v2]
platform = espressif8266
framework = arduino
@ -17,9 +30,8 @@ monitor_speed = 115200
board_build.f_cpu = 80000000L
upload_port = /dev/ttyUSB0
lib_deps =
nrf24/RF24@1.4.2
PubSubClient
Time
ArduinoJson
paulstoffregen/Time@^1.6.1
knolleary/PubSubClient@^2.8
bblanchon/ArduinoJson@^6.19.4

Loading…
Cancel
Save