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

Technical debt -- and one SPI bus fix #165

Merged
merged 9 commits into from
Dec 18, 2024

Conversation

henrygab
Copy link
Collaborator

@henrygab henrygab commented Dec 17, 2024

SPI arbitration was broken. Turns out that releasing a mutex that hasn't been acquired is NOT the right thing to do, and then hiding the problem in a helper function just makes it that much harder to track down the real problem.

This branch also allows the buspirate's terminal to be controlled from RTT.
However, the terminal output is not yet sent over RTT ... so you'll still need to connect a terminal for now.

Related to #110 ... in that it may reduce corruption of the NAND file system by fixing the SPI arbitration.

@henrygab henrygab merged commit fc9ffa3 into DangerousPrototypes:main Dec 18, 2024
4 checks passed
@henrygab henrygab deleted the technical_debt branch December 18, 2024 23:18
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.

1 participant