xiaoxiang781216 opened a new pull request #2077: URL: https://github.com/apache/incubator-nuttx/pull/2077
## Summary Since tcb doesn't setup pid before sched call up_use_stack, the code fail to detect the idle thread. One possible fix is reorder the code in sched to initialize pid first, but it seem to break the task load from elf: https://github.com/apache/incubator-nuttx/pull/2000 so let's setup the idle thread stack info directly, and remove the idle thread detecton code from up_use_stack. ## Impact ## Testing ---------------------------------------------------------------- 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: [email protected]
