Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

STM32CommandLine

> 编程语言
Open source

STM32 shell, a CLI(command line interface) like linux shell, you can easily port into an embeded system, all you need is a serial com port : )

200 stars0 likes0 views
WebsiteGitHub

About

STM32 shell, a CLI(command line interface) like linux shell, you can easily port into an embeded system, all you need is a serial com port : )

STM32CommandLine


1. DEMO

  • 1.1 :Connect the MCU and Xshell with UART port.
   | | |                _.--------._
  .-----.               |    PC    |
--|o    |----UART_TX----|  Xshell  |
--|     |----UART_RX----|          |
  '-----'               '----------'
   | | |
  • 1.2 :Check this demo: (My terminal: Xshell, you can also choose SecureCRT if you like)

  • 1.3 :Here is my configurations of Xshell:


2. 介绍(English)

  • 2.1 :一个命令行运行在stm32上,只需要提供一个串口即可实现。
  • 2.2 :配合队列处理串口数据,快速响应并退出中断。
  • 2.3 :可以移植到任意嵌入式系统,甚至51、AVR、PIC、stm8s、esp8266、esp32、Arduino等。
  • 2.4 :命令支持后续扩展,支持多种颜色的log输出到终端,方便调试。
  • 2.5 :支持历史命令查询,历史命令条数可自定义。

2. Introduction

  • 2.1 : This project is a shell, a CLI(command line interface) like linux shell, demo project is based on STM32(a serial com port is needed).
  • 2.2 : A fifo queue added for faster IRQ handler.
  • 2.3 : You can port this shell into an embeded system, even 51, AVR, PIC, stm8s, esp8266, esp32, Arduino and so on..
  • 2.4 : You can also add your own commands, it is helpful for programmers to debug, also support colorful debug fonts.
  • 2.5 : History command support, and modify the amount of history that you want to save.

3. TODO

  • Login Support.
  • Command Completion.
  • Need Your Advise.

Issues· 1 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言