xiaoxiang781216 commented on code in PR #16919:
URL: https://github.com/apache/nuttx/pull/16919#discussion_r2306467417


##########
sched/init/nx_bringup.c:
##########
@@ -65,10 +65,9 @@
 /* Configuration */
 
 #if defined(CONFIG_INIT_NONE)
-  /* Kconfig logic will set CONFIG_INIT_NONE if dependencies are not met */
-
-#  error No initialization mechanism selected (CONFIG_INIT_NONE)
-
+#ifndef CONFIG_BUILD_FLAT
+#   error No initialization mechanism selected (CONFIG_INIT_NONE)
+#endif

Review Comment:
   ditto



##########
sched/init/nx_bringup.c:
##########
@@ -65,10 +65,9 @@
 /* Configuration */
 
 #if defined(CONFIG_INIT_NONE)
-  /* Kconfig logic will set CONFIG_INIT_NONE if dependencies are not met */
-
-#  error No initialization mechanism selected (CONFIG_INIT_NONE)
-
+#ifndef CONFIG_BUILD_FLAT

Review Comment:
   add two space after #



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