Skip to content

STM32H5 Fixes - Fixes DHCP issue broken in PR #65#71

Merged
danielinux merged 1 commit intowolfSSL:masterfrom
dgarske:stm32h5_demo
Mar 6, 2026
Merged

STM32H5 Fixes - Fixes DHCP issue broken in PR #65#71
danielinux merged 1 commit intowolfSSL:masterfrom
dgarske:stm32h5_demo

Conversation

@dgarske
Copy link
Contributor

@dgarske dgarske commented Mar 6, 2026

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Fixes DHCP lease acquisition issues on STM32H5 by correcting socket local IP handling during DHCP request and improving STM32H563 bring-up diagnostics.

Changes:

  • Reset DHCP UDP socket local_ip after sending DHCP request so ACK matching follows the correct receive path.
  • Add UART diagnostics (MAC print, DHCP init/timeout logging, ETH stats dump) and shorten DHCP timeout.
  • Adjust DHCP polling delay/tick comments and update TLS client compile-time flag name in banner output.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
src/wolfip.c Clears DHCP socket local_ip after request send to avoid premature “offered IP” binding affecting ACK handling.
src/port/stm32h563/main.c Adds UART helpers and richer DHCP/ETH diagnostics; tweaks polling delay/timeout and TLS client banner guard.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@danielinux danielinux merged commit 53f78e5 into wolfSSL:master Mar 6, 2026
15 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