XuNeo commented on code in PR #12641:
URL: https://github.com/apache/nuttx/pull/12641#discussion_r1670641105


##########
sched/init/nx_start.c:
##########
@@ -534,6 +530,12 @@ void nx_start(void)
 
   g_nx_initstate = OSINIT_TASKLISTS;
 
+  /* Initialize RTOS Data ***************************************************/
+
+  drivers_early_initialize();

Review Comment:
   Compared to existing uart(***_earlyserialinit()), they are similar but uart 
needs to init earlier.
   
   As you have commented out, the sched note facility does need idle tcb to be 
ready at least.
   
   The bringup process is too compilicated for me to imagine the perfect 
solution for my coming issue that segger systemview cannot work earlier than 
memory heap initialization, making it unable to detect correct heap 
information. Thus this patch comes.
   
   Feel free to make any adjustment to my code as neccesary.
   
   



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