wangchdo opened a new pull request, #3168: URL: https://github.com/apache/nuttx-apps/pull/3168
Add a new config: NSH_BUILTIN_AS_COMMAND. Provide a new implementation for nsh_builtin when CONFIG_NSH_BUILTIN_AS_COMMAND is enabled. *Note: Please adhere to [Contributing Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).* ## Summary Provide support to run nsh builtin directly without creating a separate thread ## Impact nsh builtin is dynamic and easy to use, better than nsh command. This patch add support to run nsh builtin directly like nsh command without need to create a thread, the app developer can choose to create thread by it self in its app main entry. ## Testing **Enable CONFIG_NSH_BUILTIN_AS_COMMAND:** <img width="1083" height="568" alt="image" src="https://github.com/user-attachments/assets/9beda58b-3591-4cd9-862f-1afdd105e0af" /> **ostest OK** <img width="599" height="539" alt="image" src="https://github.com/user-attachments/assets/209c30ed-d056-40a3-a084-f3918680075c" /> -- 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]
