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

Merge 7.2.2 changes into main #6160

Merged
merged 31 commits into from
Mar 18, 2022
Merged

Merge 7.2.2 changes into main #6160

merged 31 commits into from
Mar 18, 2022

Conversation

tannewt
Copy link
Member

@tannewt tannewt commented Mar 15, 2022

This brings in the reload changes which will be good to test on main. It also brings in the removal of CIRCUITPY_AUTORELOAD_DELAY_MS definitions in each board that were never changed but copied everywhere.

prplz and others added 24 commits March 9, 2022 07:36
Espressif: Fix i2c pullup detection
- Add reset for autoreload. De-request ticks.
- Separate state a little more in autoreload.c
- Rename some routines.
- Remove redundant settings of CIRCUITPY_AUTORELOAD_DELAY_MS.
whoopsies

Co-authored-by: Scott Shawcroft <scott@tannewt.org>
Add a comment as to why the countio object needs to be long-lived.
Backport 6106 (countio long-lived fix) to 7.2.x
…ke-sleep

7.2.x autoreload rework (again)
This unifies the delay into the post-run delay that also waits
for user input and fake sleep. This ensures we always delay.
Previous code would only delay if the code.py was running when
autoreload was triggered. Now it will always delay.

We also now suspend autoreload when a USB write starts and then
resume on completion. This should prevent reloading in between
sectors of a single write.
We have a guide that uses it. It was removed in micropython#6043 without
realizing that.

Fixes micropython#6152
Re-enable BLE on MatrixPortal. Remove PortalBase
@tannewt tannewt requested a review from jepler March 15, 2022 20:58
dhalbert
dhalbert previously approved these changes Mar 15, 2022
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.

And also the espressif I2c pullup fix

@dhalbert
Copy link
Collaborator

@tannewt want to pull in the latest autoreload stuff?

@tannewt
Copy link
Member Author

tannewt commented Mar 17, 2022

Sure, I might as well since the CI didn't run on that last commit. Will look at the supervisor.reload issue first.

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.

Thanks! Hope this fits.

@dhalbert dhalbert merged commit bad6cdc into adafruit:main Mar 18, 2022
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.

5 participants