alexcekay opened a new pull request, #19968:
URL: https://github.com/apache/nuttx/pull/19968

   ## Summary
   
   The STM32 Ethernet MAC drivers hard-code a 60-second TX watchdog timeout. 
While this is a reasonable general default, certain board designs and use-cases 
require a shorter or longer value.
   
   Introduce CONFIG_STM32_ETH_TXTIMEOUT via the shared Kconfig.eth with a 
#ifndef fallback. The default is kept at 60 seconds to preserve existing 
behavior.
   
   ## Impact
   
   The existing defaults are kept as previously, thus not having any impact on 
existing setups.
   
   ## Testing
   
   - Tested in the context of PX4 using a STM32H743VIH6
   - Set `CONFIG_STM32_ETH_TXTIMEOUT=5`
   - Connection in this case is direct MAC to MAC with a Linux PC
   - Brought the Linux side down and check that after 5s NuttX does a re-init 
of the network


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to