xiaoxiang781216 commented on pull request #1597: URL: https://github.com/apache/incubator-nuttx/pull/1597#issuecomment-674967109
> How about an NSH batch application under nshlib that handles initialization and scripting but with no command line interface? > Yes, it's a great addition to reduce both the data and code size. > I would think that using environment variables to pass information to applications would be better than this solution of this PR. Then the initialization information is availab to all tasks. It doesn't conflict with this PR, I would like to see both get supported: let user pass the info through command line or environment variables as they want. BTW, the environment variables will take additional ram and flash, but command line always exist, so it's better to support command line at least. If people want to save the memory by exiting nsh, they most likely don't want to support the environment variables. ---------------------------------------------------------------- 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]
