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

Add connection check for W5500 to prevent bootloops #2311

Merged
merged 4 commits into from
Sep 30, 2024

Conversation

LennartF22
Copy link
Contributor

Besides some minor improvements, this PR adds a simple connection check for the W5500 before its initialization continues to prevent bootlops in case the W5500 is configured but not (properly) connected.

The check consists of reading the version of the W5500, which should always be 0x04, and checking that the interrupt line is driven high.

@tbnobody tbnobody merged commit 3a7295c into tbnobody:master Sep 30, 2024
9 checks passed
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion or issue for related concerns.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants