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 native wifi API with ESP32S2 support #3326

Merged
merged 33 commits into from
Sep 10, 2020
Merged

Conversation

tannewt
Copy link
Member

@tannewt tannewt commented Aug 25, 2020

Fixes #2903

@tannewt tannewt added the espressif applies to multiple Espressif chips label Aug 25, 2020
@tannewt tannewt requested a review from dhalbert August 25, 2020 23:43
Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice! I am impressed by how clean the code is. Maybe that also says something about the ESP-IDF API being reasonable.

ports/esp32s2/common-hal/socketpool/Socket.c Outdated Show resolved Hide resolved
ports/esp32s2/common-hal/socketpool/Socket.c Outdated Show resolved Hide resolved
ports/esp32s2/common-hal/socketpool/Socket.c Outdated Show resolved Hide resolved
ports/esp32s2/common-hal/socketpool/SocketPool.c Outdated Show resolved Hide resolved
ports/esp32s2/common-hal/socketpool/SocketPool.c Outdated Show resolved Hide resolved
shared-bindings/socketpool/__init__.c Show resolved Hide resolved
shared-bindings/wifi/Radio.c Outdated Show resolved Hide resolved
shared-bindings/wifi/Radio.c Outdated Show resolved Hide resolved
shared-bindings/wifi/Radio.c Outdated Show resolved Hide resolved
shared-module/ipaddress/__init__.c Outdated Show resolved Hide resolved
Copy link
Member Author

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, Dan. All is updated. Will test it next week. Just compiled it today.

ports/esp32s2/common-hal/socketpool/Socket.c Outdated Show resolved Hide resolved
ports/esp32s2/common-hal/ssl/SSLContext.c Show resolved Hide resolved
shared-bindings/ipaddress/__init__.c Show resolved Hide resolved
shared-bindings/socketpool/Socket.c Show resolved Hide resolved
ports/esp32s2/common-hal/wifi/Radio.c Show resolved Hide resolved
ports/esp32s2/supervisor/port.c Outdated Show resolved Hide resolved
ports/esp32s2/supervisor/port.c Outdated Show resolved Hide resolved
py/circuitpy_mpconfig.mk Outdated Show resolved Hide resolved
shared-bindings/socketpool/SocketPool.c Show resolved Hide resolved
shared-bindings/socketpool/__init__.c Show resolved Hide resolved
@tannewt
Copy link
Member Author

tannewt commented Sep 9, 2020

Ok, I've tested on both WROOM and WROVER Saola. I had a merge error with the WROOM version that has been fixed plus I added a safe mode in case the heap size is too large. Please take another look.

Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, looks good. Thanks for all this work!

@tannewt tannewt merged commit 683462c into adafruit:main Sep 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
circuitpython api espressif applies to multiple Espressif chips network
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Get wifi working
2 participants