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

Partially revert "rgbmatrix: Avoid leaving an incompletely configured display bus" #9892

Merged
merged 2 commits into from
Dec 17, 2024

Conversation

jepler
Copy link
Member

@jepler jepler commented Dec 16, 2024

Reverts #9865

According to @RetiredWizard this led to the problems reported in #9891.

Since the fix was only for failed matrix initialization, it seems we're better off just reverting it until it can be solved again properly.

@jepler jepler requested a review from dhalbert December 16, 2024 19:23
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.

Looks like your #9892 changes to ports/atmel-samd/boards/itsybitsy_m4_express/mpconfigboard.mk are still needed for space reasons.

@RetiredWizard
Copy link

I loaded the matrix S3 artifact and it appears to have resolved the safe mode issue. Thanks!

@RetiredWizard
Copy link

Well... This artifact doesn't have Dan's USB fix so maybe that's contributing to this latest behavior, but using this artifact, when I don't have the USB cable connected the matrix doesn't initialize, and if I disconnect the USB cable while the RGB matrix is active the board appears to crash (it's hard to tell exactly what's happening since the USB port isn't working for terminal or CIRCUITPY use without Dan's fix).

I've recently replaced my computer and perhaps this is an excuse to test a CircuitPy build. I think I need to build firmware with both Dan's fix and this reversion.....

@jepler jepler force-pushed the revert-9865-rgbmatrix-cleanup-failure branch from 57169fc to 62f8923 Compare December 16, 2024 20:32
@jepler jepler changed the title Revert "rgbmatrix: Avoid leaving an incompletely configured display bus" Partially revert "rgbmatrix: Avoid leaving an incompletely configured display bus" Dec 16, 2024
@jepler jepler requested a review from dhalbert December 16, 2024 20:32
@jepler
Copy link
Member Author

jepler commented Dec 16, 2024

I updated the branch to leave the itsy config changes & merge latest main.

@dhalbert
Copy link
Collaborator

dhalbert commented Dec 16, 2024

@RetiredWizard My USB fix #9889 was just merged, but that is not in this PR (oh maybe it was just merged in??)

@RetiredWizard
Copy link

RetiredWizard commented Dec 16, 2024

I cloned CP after Scott merged Dan's fix and then built using Jeff's changes here and everything seems to be working great. The issue I was seeing when unplugging the USB looks like it was on my end. Either one of my power bricks died or I pulled loose one of the cables.... (The bad power brick just happened to be the one powering the micro controller so it worked fine if the USB was connected and supplying power).

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.

@RetiredWizard thanks for testing. I'll merge if/when the builds finish successfully.

@dhalbert dhalbert merged commit 00562a3 into main Dec 17, 2024
940 checks passed
@dhalbert dhalbert deleted the revert-9865-rgbmatrix-cleanup-failure branch December 17, 2024 00:08
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.

3 participants