Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a hook to run code from user_init #2133

Closed
igrr opened this issue Jun 12, 2016 · 3 comments
Closed

Add a hook to run code from user_init #2133

igrr opened this issue Jun 12, 2016 · 3 comments

Comments

@igrr
Copy link
Member

igrr commented Jun 12, 2016

As seen in #2111, would be useful to disable WiFi early, and maybe for some other cases as well.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@devyte
Copy link
Collaborator

devyte commented Oct 17, 2017

@igrr I suggest pushing this one back to 2.5.0 (unless it's trivial to implement?)

@igrr
Copy link
Member Author

igrr commented Oct 17, 2017

Sure. At this point i am not planning on adding more features to 2.4.0, only bug fixes are considered. I guess we can mass-reassign all feature requests from 2.4.0 to 2.5.0.

@igrr igrr modified the milestones: 2.4.0, 2.5.0 Oct 17, 2017
@d-a-v d-a-v self-assigned this Oct 12, 2018
d-a-v added a commit to d-a-v/Arduino that referenced this issue Nov 30, 2018
earlephilhower pushed a commit that referenced this issue Dec 4, 2018
* weak hook early_setup() #2111 #2133 #2136

* rename to early_init (more "c" vs early_setup which is more "c++arduino")

* example

* improve earlyWiFi example, slightly change AddrList interface, move WiFi sketches into WiFi examples

* fix CI

* fix local CI runner

* fix local CI runner

* rename early_init() to preinit()

* + static ESP8266WiFiClass::preinit_wifi_off()

* update early disable wifi example

* example update

* IPv6 example update

* Update ESP8266WiFiGeneric.h

camelCase for static method name

* Update ESP8266WiFiGeneric.cpp

camelCase for static method name

* Update EarlyDisableWiFi.ino

Expand comment, fix static method name

* Update core_esp8266_main.cpp

Expanded comment.

* Update core_esp8266_main.cpp

Expanded comment

* Update EarlyDisableWiFi.ino

Expanded comment
@d-a-v
Copy link
Collaborator

d-a-v commented Dec 4, 2018

Closed by #5395

@d-a-v d-a-v closed this as completed Dec 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants