In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
Today, I will talk to you about how nr_micro_shell experiences the linux shell command line on a single-chip microcomputer. Many people may not know much about it. In order to make you understand better, the editor has summarized the following contents for you. I hope you can get something according to this article.
Nr_micro_shell-experience linux shell command line, auto-completion, history commands, custom commands on single chip microcomputer
In the actual debugging and maintenance, the single-chip microcomputer often needs to interact with the single-chip microcomputer to obtain or set some parameters in order to understand the working status of the system. Nr_micro_shell is an open source command-line tool written for MCU with fewer resources to meet this need. Nr_micro_shell has the following advantages
1. Easy to use, flexible and convenient. The process of using only two functions shell_init () and shell (), whether using RTOS or bare metal, you can easily apply the tool without additional coding work.
two。 Good interactive experience. Completely similar to the linux shell command line, when the serial terminal supports ANSI (such as Hypertrm terminal), it not only supports the basic command line interaction, but also provides Tab command completion, query history command, direction key mobile cursor modification function.
3. Good scalability. Nr_micro_shell provides users with a standard function prototype of custom commands. You only need to write a command function according to the command and register it to use the command.
The following is the test effect under the stm32f103c8t6 platform and the serial terminal is Hypertrm
After reading the above, do you have any further understanding of how nr_micro_shell can experience the linux shell command line on a single chip microcomputer? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.