[GH-ISSUE #510] deep linking libraries? #428

Open
opened 2026-02-28 01:25:14 +03:00 by kerem · 3 comments
Owner

Originally created by @tablatronix on GitHub (Feb 7, 2018).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/510

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
Originally created by @tablatronix on GitHub (Feb 7, 2018). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/510 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 ```
Author
Owner

@fabianoriccardi commented on GitHub (Feb 7, 2018):

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

<!-- gh-comment-id:363933240 --> @fabianoriccardi commented on GitHub (Feb 7, 2018): 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
Author
Owner

@tablatronix commented on GitHub (Feb 8, 2018):

The esp32 branch has them removed already, if you want

<!-- gh-comment-id:364208985 --> @tablatronix commented on GitHub (Feb 8, 2018): The esp32 branch has them removed already, if you want
Author
Owner

@fabianoriccardi commented on GitHub (Feb 9, 2018):

Tested on Wemos D1 mini board, it works without any #include, but #include<WiFiManager.h>

<!-- gh-comment-id:364366701 --> @fabianoriccardi commented on GitHub (Feb 9, 2018): Tested on Wemos D1 mini board, it works without any #include, but #include<WiFiManager.h>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#428
No description provided.