jerpelea opened a new pull request, #20298:
URL: https://github.com/apache/nuttx/pull/20298

   ## Summary
   
   Switch CONFIG_INIT_ENTRYPOINT from nsh_main to nxinit's init_main for the 
shell-capable configs (nsh, usbnsh) of waveshare-rp2040-zero and 
waveshare-rp2040-lcd-1.28.  nsh now runs as a "console sh" service started by 
init.rc instead of being the top-level init task.
   
   Add etc/init.d/init.rc to the shared common/src RCSRCS, gated on 
CONFIG_ETC_ROMFS && CONFIG_SYSTEM_NXINIT, so one copy covers both boards, plus 
a .gitignore for the etctmp files Board.mk generates from it.  The four 
defconfigs also set CONFIG_SYSTEM_NXINIT=y with its Kconfig deps, 
CONFIG_ETC_ROMFS=y and CONFIG_FS_ROMFS=y.
   
   nsh_main connected the CDC/ACM gadget itself via
   boardctl(BOARDIOC_USBDEV_CDCACM); init_main does not, so the usbnsh configs 
would otherwise come up with no USB console.  Run sercon from init.rc and 
enable CONFIG_SYSTEM_CDCACM in those two defconfigs to keep that step.
   
   ## Impact
   
   RELEASE
   
   ## Testing
   
   CI


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