You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/11/03 14:25:36 UTC

[GitHub] [incubator-nuttx] davids5 edited a comment on issue #2203: Hardfault on boot when only usb console is used

davids5 edited a comment on issue #2203:
URL: https://github.com/apache/incubator-nuttx/issues/2203#issuecomment-721146799


   The root cause in that the 3 fds are not initialized in sched then the stream leaves the stream un-initialized. 
   
   See group_setupidlefiles.c 
   
   If the CONFIG_DEV_CONSOLE is not defined 
   https://github.com/apache/incubator-nuttx/blob/8c464b0e7a35bf6ae94fcecdccc31dd31af9cd29/sched/group/group_setupidlefiles.c#L98-L125
   
   this https://github.com/apache/incubator-nuttx/blob/8c464b0e7a35bf6ae94fcecdccc31dd31af9cd29/sched/group/group_setupidlefiles.c#L129-L131
   
   does nothing.
   
   


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

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