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

   ## Summary
   
   The `struct stm32_mdio_bus_s aka g_stm32_mdio_bus` has not been referenced 
at all, because  `mdio_register()` allocates its own structure. Then lower half 
drivers receive only their respective part in `mdio_read()` and `mdio_write()` 
because `MDIO_WRITE`/`MDIO_READ` provides `only d->lower` to the specific lower 
level drivers.
   
   ## Impact
   
   Fixes unpredictable timeouts for MDIO read and write on STM32H7 targets. The 
timeout depended on placement of structures in memory because some other 
location has been interpreted as expected data-type.
   
   ## Testing
   
   Tested on the custom STM32H7 board with NuttX directly flashed and NuttX 
compiled and then exported and used in another (OMK) application build system.


-- 
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