FreeRTOS_NetworkDown in xPhyCheckLinkStatus with STM32H7

Hello everyone,

I’m testing the FreeRTOS-TCP stack on the STM32H757-Eval

When the ETH cable gets disconnected vApplicationIPNetworkEventHook is not called.

From what I understand it is because FreeRTOS_NetworkDown is not called.

Why FreeRTOS_NetworkDown is not called inside xPhyCheckLinkStatus in the generic phyHandling.c file?

Hey @ugo1983
Thanks for bringing this use case to our attention!
I’ve reached out to the team that owns the FreeRTOS+TCP code and asked about this feature. I hope to have a response for you shortly.
Thanks for your patience in this matter!

Hello @skptak
I hope you are well.

I wanted to follow up on the query that was asked before about FreeRTOS_NetworkDown not being called in xPhyCheckLinkStatus. I would like to know if there is any update or progress on this issue. If there is no progress or update, I would be happy to add it for STM32H7xx.

Thank you for your interest in this issue and I appreciate your help.

Best regards,
Kerem

@Kerem

Thanks for looking into this. This PR should take care of that.

Can you please check if the proposed change fixes the issue.

Thanks