cmd-parser icon indicating copy to clipboard operation
cmd-parser copied to clipboard

一个非常简单好用的命令解析器,占用资源极少极少,采用哈希算法超快匹配命令!

Results 9 cmd-parser issues
Sort by recently updated
recently updated
newest added

1.add gcc support; 2.fix printf params error of function __list in file cmd.c . 2.use SPDX-License-Identifier in souce files; 3.format codes use asyle with params that rt-thread offered;

源码编译时报错

要是能带参数,就更完美了

..\Bsp\cmd.c(67): error: #136: struct "cmd" has no field "desc" ![image](https://github.com/jiejieTop/cmd-parser/assets/55486631/1af15ab4-45de-4bd9-bd4b-c89685c8eeed)

1. fix a typo 2. update readme

#pragma section = "CMDS" /* MUST */ #define CMD_HASH 0xb433e5c6 #if defined(__CC_ARM) || defined(__CLANG_ARM) /* ARM Compiler */ #define SECTION(x) __attribute__((section(x))) #define CMD_USED __attribute__((used)) #elif defined (__ICCARM__) || defined(__ICCRX__) /*...

Error[Pa053]: section/block has not been declared using #pragma section/segment