#include<rtthread.h>voidhello(void){rt_kprintf("hello RT-Thread!\n");}MSH_CMD_EXPORT(hello,sayhellotoRT-Thread); 系统运行起来后,在 FinSH 控制台按 tab 键可以看到导出的命令: msh/>RT-Threadshellcommands:hello-sayhellotoRT-Threadversion-showRT-Threadversioninformationlist_thread-listthread…… 运...
voidhello(void){rt_kprintf("hello RT-Thread!\n");}MSH_CMD_EXPORT(hello,say hello toRT-Thread); 系统运行起来后,在 FinSH 控制台按 tab 键可以看到导出的命令: 代码语言:javascript 代码运行次数:0 运行 AI代码解释 msh/>RT-Thread shell commands:hello-say hello toRT-Thread version-showRT-Thread v...
msh />RT-Thread shell commands:hello - say hello to RT-Threadversion - show RT-Thread v...
RT-Thread shell commands: ifconfig - list the information of all network interfaces ping - ping network host dns - list and set the information of dns netstat - list the information of TCP / IP clear - clear the terminal screen version - show RT-Thread version information list_thread - li...
配置 shell 设备:RT-Thread Kernel ---> Kernel Device Object ---> 修改 the device name for console 为uart1,配置 shell 默认设备为串口 1。开启 AT Client 功能:RT-Thread Components ---> Network ---> AT commands --> 开启 AT DEBUG,开启 AT Client 支持,设置 AT Client 使用设备为串口 2...
RT-Thread进阶之网络框架 1、网卡组件(netdev) netdev 组件主要作用是解决设备多网卡连接时网络连接问题,用于统一管理各个网卡信息与网络连接状态,并且提供统一的网卡调试命令接口。其主要功能特点如下所示: 抽象网卡概念,每个网络连接设备可注册唯一网卡。 提供多种网络连接信息查询,方便用户实时获取当前网卡网络状态;...
由于RT-Thread上对8266 WIFI 支持的比较完善,所以在使用时可以进行如下的配置: 在env工具中输入menuconfig,依次设置 代码语言:javascript 代码运行次数:0 运行 AI代码解释 RT-Thread Components → Network →ATcommands 如下图所示 接着设置网络工具 代码语言:javascript ...
A.通过键盘【TAB】输出msh Commands list,通过指令【exit】退出msh模式,进入c-style模式。 B.通过键盘【TAB】输出c-style Commands list,通过指令【msh()】退出c-style模式,进入msh模式。 后记: 关于finsh shell的具体使用方法及技巧,可查阅RT-Thread官方提供的编程手册或 搜索RT-Thread学习笔记的相关章节。
arc: Fixed the thread switching bug in the arc architecture. sim: Fixed an issue with inconsistent function definitions. Added ARCH_ARM_CORTEX_M23 macro definitions. Tools Fixed .uvoptx/uvopt project name. Supported Env for finsh shell. Removed --dist-strip command. Corrected prompt message. Ac...
LGPL-3.0 license === RTShell === Introduction === RTShell provides commands used to manage individual RT components and managers, as well as complete RT Systems. It can be used with the OpenRTM-aist middleware or middlewares that use a compatible CORBA-based introspection system. Many of...