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

STM32: Option to detect Ethernet PHY address automatically #3795

Merged
merged 6 commits into from
Jan 26, 2025

Conversation

nikvoid
Copy link
Contributor

@nikvoid nikvoid commented Jan 22, 2025

Currently GenericSMI can't detect ethernet PHY address and will stuck in eternal loop if address is incorrect. This PR adds automatic detection by probing all addresses from 0 to 31 with fixed attempt count and delay. Automatic detection enabled if GenericSMI was created with address 0xFF

@nikvoid nikvoid force-pushed the stm32-phy-addr-detection branch from aca6843 to 2d7e0b6 Compare January 22, 2025 11:49
Copy link
Member

@Dirbaio Dirbaio left a comment

Choose a reason for hiding this comment

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

thank you!

@Dirbaio Dirbaio enabled auto-merge January 26, 2025 20:53
@Dirbaio Dirbaio force-pushed the stm32-phy-addr-detection branch from f442201 to ff52bde Compare January 26, 2025 21:17
@Dirbaio Dirbaio added this pull request to the merge queue Jan 26, 2025
Merged via the queue into embassy-rs:main with commit c8d29a1 Jan 26, 2025
7 checks passed
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