1. ˵
    չʾ RT_Thread Finsh 

2. ʹû
    Ӳ̶ӦĿӲƽ̨ 
    壺   N32G4FRH_STB V1.1

3. ʹ˵
    ģ÷:ʱӣI/O 
         1. SystemClock144MHz
         2. GPIOLEDD1--PA8
                        ־USART1TX--PA9  RX--PA10ʣ115200

    DemoĲԲ 
         1. سλ
         2. дһled1̣߳led1߳D1 500ms˸
         3. ͨڹ߿Կӡ finsh>ĬC-styleģʽͨmsh()лmshģʽhelpӡϢ£
             msh >help
             RT-Thread shell commands:
             version           - show RT-Thread version information
             list_thread      - list thread
             list_sem          - list semaphore in system
             list_mutex      - list mutex in system
             list_timer        - list timer in system
             list_device      - list device in system
             exit                - return to RT-Thread shell mode.
             help               - RT-Thread shell help.
             ps                  - List threads in the system.
             free               - Show the memory usage in the system.

4. ע
    ͨڷʱҪѡУmshģʽextiصC-styleģʽ

1. Function description
    This routine is shown in the RT_Thread Finsh component

2. Use environment
    Hardware environment: development hardware platform corresponding to the project 
    Development board:      N32G4FRH_STB V1.1

3. Instructions for use
    Describe the configuration method of related modules; for example: clock, I/O, etc. 
        1. SystemClock: 144MHz
        2. GPIO: LED: D1--PA8
                     Log(USART1): TX--PA9 RX--PA10 Baud rate: 115200

    Describe the test steps and phenomena of Demo 
        1. After compiling, download the program to reset and run;
        2. This routine creates a led1 thread, in the led1 thread D1 500ms cycle flashing
        3. Print finsh> through the serial tool, the default C-style mode. You can switch to the msh mode by entering msh() and then entering help. The following information is displayed:
             msh >help
             RT-Thread shell commands:
             version           - show RT-Thread version information
             list_thread      - list thread
             list_sem          - list semaphore in system
             list_mutex      - list mutex in system
             list_timer        - list timer in system
             list_device      - list device in system
             exit                - return to RT-Thread shell mode.
             help               - RT-Thread shell help.
             ps                  - List threads in the system.
             free               - Show the memory usage in the system.

4. Matters needing attention
    When sending a command by serial port, you need to select the sending new row. After entering the msh mode, enter exti to return to C-style mode.