Skip to content

BREAKING Update for ESP32S2, CPython #53

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

Merged
merged 16 commits into from
Nov 20, 2020

Conversation

brentru
Copy link
Member

@brentru brentru commented Nov 20, 2020

  • BREAKING CHANGE: init argument now takes in a adafruit_circuitpython_requests object instead of a wifimanager object.
  • Added compatibility and examples for CPython, ESP32-S2
  • All examples updated to reflect library updates.
  • Tested using: ESP32-S2 (6.1.0-beta.1), CPython, and ESP32SPI (Metro AirLift M4, 6.1.0-beta.1)

The following libraries' constructors should also be updated to match this breaking release:
https://github.com/adafruit/Adafruit_CircuitPython_MagTag/blob/main/adafruit_magtag/network.py#L311
https://github.com/adafruit/Adafruit_CircuitPython_MatrixPortal/blob/master/adafruit_matrixportal/network.py#L315
https://github.com/adafruit/Adafruit_Blinka_PyPortal/blob/master/adafruit_pyportal.py#L625
https://github.com/adafruit/Adafruit_CircuitPython_PyPortal/blob/master/adafruit_pyportal.py#L891

@brentru brentru requested a review from a team November 20, 2020 16:46
@makermelissa
Copy link
Collaborator

Ok, I've been testing it. I noticed without making any changes to the code and passing in the WiFi manager, it appears to work exactly like before. When I updated it to pass in requests instead, I noticed it fixed issue adafruit/Adafruit_CircuitPython_MatrixPortal#51. I'm going to take a closer look at the code changes, but so far it is looking good.

Copy link
Collaborator

@makermelissa makermelissa left a comment

Choose a reason for hiding this comment

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

Code looks good.

@brentru
Copy link
Member Author

brentru commented Nov 20, 2020

Thank you for testing!

@brentru brentru merged commit 0e122d2 into adafruit:master Nov 20, 2020
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Nov 21, 2020
Updating https://github.com/adafruit/Adafruit_CircuitPython_AdafruitIO to 5.0.1 from 4.3.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_AdafruitIO#54 from brentru/add-esp32spi-simpletest
  > Merge pull request adafruit/Adafruit_CircuitPython_AdafruitIO#53 from brentru/update-for-requests-s2

Updating https://github.com/adafruit/Adafruit_CircuitPython_MagTag to 1.0.5 from 1.0.3:
  > Merge pull request adafruit/Adafruit_CircuitPython_MagTag#18 from makermelissa/sound_bug
  > Merge pull request adafruit/Adafruit_CircuitPython_MagTag#16 from caternuson/iss15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants