Thank you for this great feedback Philippe, but I think it should be at other thread:
How to improve/simplify NuttX initialization processes? I think Nathan replied to incorrect thread. Please move the discussion to the right thread. BR, Alan On Tue, Jul 9, 2024 at 11:08 AM Philippe Leduc <philippe.le...@mailfence.com.invalid> wrote: > For the record, we had a hard time understanding why NSH is a VIP citizen > and that there are multiple ways of initializing NuttX ( > https://github.com/apache/nuttx/issues/10821). > I agree that the documentation is lacking on this subject, but I still > feel that NSH shall be see as a standard userspace app and not a kind of > all-in-one userspace super app with embedded init. > > Regards, > > -- > Philippe L. > > Le 9 juil. 2024 à 15:28, Nathan Hartman <hartman.nat...@gmail.com> a > écrit :Documentation needs to explicitly have two sections: > > * NuttX without a shell (booting directly into your custom firmware > application) > > * NuttX with a shell: booting into NSH > > Within NuttX with a shell, we should explain: > > * Purpose of NSH: > * Example of how to program and use many OS features > * Support developers > * Prove board starts up > * Interactively debug/diagnose/test your board > * Useful for development of NuttX itself > > Cheers, > Nathan > > On Tue, Jul 9, 2024 at 8:49 AM Alan C. Assis <acas...@gmail.com> wrote: > > > Dear NuttXers, > > > > I think many people outside our community have a misconception about > NuttX: > > They think it is a Linux/Unix RTOS that needs to have a shell integrated > > into it. > > > > Note that all boards are required to have a "nsh" board profile, it was a > > suggestion/requirement to confirm that the system works correctly. There > is > > not wrong with it, but it sends a message that NuttX needs it to exist. > > > > How to fix it? > > > > Aside from requiring that "nsh" I suggest we include a small and simple > > "hello" example with the ENTRY POINT to "hello_main". > > > > This way people will know they can run NuttX without the NSH. > > > > Suggestions about how to proceed to archive it are welcome. > > Probably we will need collective help to archive it for all boards. > > > > Best Regards, > > > > Alan > >