ABSTRACT

FinSH is the Command Line Interface component (CLI) of Real Time-Thread (RT-Thread), which provides a set of utilities to facilitate debugging, checking system status, etc. A user may access the CLI of a target device from the terminal of the host PC through a serial port, USB, or Ethernet. The “list_msgqueue” command is used to list the information of all the message queues in the current system, including the name of the message queue, the number of messages it contains, and the number of threads waiting for this message queue. The “list_mempool” command is used to list the information of all the memory pools in the current system, including the name of the memory pool, the size of the memory pool, and the maximum memory size used. The “list_timer” command is used to list the information of all the timers in the current system, including the name of the timer and the number of beats of the timer timeout.