raiden00pl commented on issue #16256:
URL: https://github.com/apache/nuttx/issues/16256#issuecomment-2835805878

   good find. I didn't look at this problem more. Does increasing this stack 
value help? I didn't see `CONFIG_NUCLEOH743ZI_USBHOST_STACKSIZE` in 
configuration, because it's not present in board Kconfig:
   
   
https://github.com/apache/nuttx/blob/c4506929e94b14f36669689872ed1d0e1a2270de/boards/arm/stm32h7/nucleo-h743zi/src/stm32_usb.c#L61-L67
   
   Lines like this are common in NuttX and they are dangerous! If the 
configuration is not in any Kconfig, the user is not even aware that something 
like this exists and can cause problems.
   
   Soon I should add a patch that moves the usbhost initialization logic to a 
common place for all architectures. This way we will be able to get rid of 
files like ` boards/arm/stm32h7/nucleo-h743zi/src/stm32_usb.c` completely and 
avoid similar issues in the future.
   


-- 
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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to