tzapu / WiFiManager

ESP8266 WiFi Connection manager with web captive portal
http://tzapu.com/esp8266-wifi-connection-manager-library-arduino-ide/
MIT License
6.53k stars 1.96k forks source link

deep linking libraries? #510

Open tablatronix opened 6 years ago

tablatronix commented 6 years ago

So I usually use platformio, but I noticed that the arduino IDE does deep linking now.

Is it still necessary to include all dependencies in the sketch ?

wifimanager already includes them all, so do we still need these at all in examples and documentation ?

#include <ESP8266WiFi.h>          //ESP8266 Core WiFi Library (you most likely already have this in your sketch)

#include <DNSServer.h>            //Local DNS Server used for redirecting all requests to the configuration portal
#include <ESP8266WebServer.h>     //Local WebServer used to serve the configuration portal
fabianoriccardi commented 6 years ago

I had worked a lot on Arduino IDE in the last 2 months, I pretty sure that to can delete them from the example! However tomorrow i can try to compiled them without those #includes

tablatronix commented 6 years ago

The esp32 branch has them removed already, if you want

fabianoriccardi commented 6 years ago

Tested on Wemos D1 mini board, it works without any #include, but #include