8000 Allocate I2C mutex with IDF by tannewt · Pull Request #5220 · adafruit/circuitpython · GitHub
[go: up one dir, main page]

Skip to content

Allocate I2C mutex with IDF #5220

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” 8000 , 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 1 commit into from
Aug 25, 2021
Merged

Conversation

tannewt
Copy link
Member
@tannewt tannewt commented Aug 24, 2021

This keeps the mutex info in the same spot in memory. "Statically
allocating it" with CircuitPython meant that the buffer moved when
the I2C object is moved to keep it alive for a display.

Fixes #4962

This keeps the mutex info in the same spot in memory. "Statically
allocating it" with CircuitPython meant that the buffer moved when
the I2C object is moved to keep it alive for a display.

Fixes micropython#4962
@tannewt tannewt added bug crash displayio espressif applies to multiple Espressif chips labels Aug 24, 2021
@tannewt tannewt added this to the 7.0.0 milestone Aug 24, 2021
@jfurcean
Copy link

Tested and confirmed fixes #4962

Copy link
Collaborator
@microdev1 microdev1 left a comment

Choose a reason for hiding this comment

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

LGTM! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug crash displayio espressif applies to multiple Espressif chips
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ESP32 hard crash on i2c display
3 participants
0