| Age | Commit message (Collapse) | Author |
|
|
|
The RT_USING_CPU_USAGE_TRACER print block was duplicated identically in
both the ARCH_CPU_STACK_GROWS_UPWARD and the normal branch of
list_thread(). Both branches only differ in the stack usage line (which
has no trailing newline), so move the single shared block after the
#endif of the stack-growth conditional. No functional change.
|
|
Move the command length checks before reading command buffers while parsing module, script, and LWP command names. This keeps commands without separators from reading one byte past the provided length.
Generated-by: OpenAI Codex
Signed-off-by: Old-Ding <[email protected]>
|
|
|
|
|
|
in multi-core build;
|
|
if src == '/', result in something lik 'dest//file'
|
|
|
|
different thread priorities
|
|
Signed-off-by: GuEe-GUI <[email protected]>
|
|
What is 9PFS (https://en.wikipedia.org/wiki/9P_(protocol)):
9P (or the Plan 9 Filesystem Protocol or Styx) is a network protocol developed for the Plan 9 from Bell Labs distributed operating system as the means of connecting the components of a Plan 9 system. Files are key objects in Plan 9. They represent windows, network connections, processes, and almost anything else available in the operating system.
rt-thread could share filesystem in VM mode with 9pfs such as QEMU...
Signed-off-by: GuEe-GUI <[email protected]>
|
|
|
|
Replace standard string and memory functions with RT-Thread's rt-prefixed
equivalents where available:
- strcpy -> rt_strcpy
- strncpy -> rt_strncpy
- strcmp -> rt_strcmp
- strncmp -> rt_strncmp
- strlen -> rt_strlen
- strstr -> rt_strstr
- memcpy -> rt_memcpy
- memcmp -> rt_memcmp
Functions like strcat, strchr remain unchanged as RT-Thread does not provide
rt-prefixed versions.
|
|
|
|
|
|
键的支持,改进输入模式处理 (#10595)
|
|
清理掉无用的拷贝操作
|
|
在没有定义FINSH_USING_SYMTAB时编译报错以及IPC及finsh启用时自动选择必要的功能
|
|
|
|
添加以下功能(需要kconfig使能FINSH_USING_WORD_OPERATION)
1 ctrl+back 按单词删除
2 ctrl+左右箭头 按单词切换光标
Signed-off-by: Yucai Liu <[email protected]>
|
|
[Fix] <components>:finsh/shell.c
When using char rt_hw_console_getchar(void),
some compilers may default to returning 255 instead of the expected -1,
causing the condition if(ch < 0) at F: shell.c L:519 to fail and enter an erroneous loop.
Solution: Use the signed char type return value as rt_hw_console_getchar
Signed-off-by: Yucai Liu <[email protected]>
|
|
To enhance the robustness of key recognition and solve the problem of errors and omissions caused by the lag of state assignment statement
增强方向键识别的鲁棒性,解决状态赋值语句滞后带来的错漏问题
|
|
|
|
Signed-off-by: latercomer <[email protected]>
|
|
Regular macro definitions according to [1].
Note: for variadic macros such as MSH_CMD_EXPORT, we can
not use normal @param command, otherwise doxygen will
report "@param is not found in the argument list of ...".
So I just write the parameters by manual.
Link: https://rt-thread.github.io/rt-thread/page_howto_macro.html [1]
Signed-off-by: Chen Wang <[email protected]>
|
|
* doxygen: add prefix for groups
Add "group_" prefix to doxygen group names. This makes
it easier to grep with group name later.
This patch only modifies the groups defined in the pathes
of INPUT of documentation/Doxyfile:
INPUT = . \
../src \
../include \
../components/finsh \
../components/drivers/include/drivers \
../components/drivers/clk \
../components/dfs/dfs_v2/src \
../components/dfs/dfs_v2/include
Other groups are not touched.
Signed-off-by: Chen Wang <[email protected]>
* ci: fixed error report when run file_check.py
Such as:
- "please delete extra space at the end of this line."
- "the RT-Thread error code should return negative value. e.g. return
-RT_ERROR"
Signed-off-by: Chen Wang <[email protected]>
---------
Signed-off-by: Chen Wang <[email protected]>
|
|
�console描述符
|
|
为什么提交这份PR (why to submit this PR)
#9397
你的解决方案是什么 (what is your solution)
将 line 758的dir改为link_dir
|
|
|
|
|
|
[finsh] add msh command bind
Signed-off-by: Shell <[email protected]>
|
|
|
|
新增加的二级命令使用方式没有清晰的描述
- 功能实现PR:https://github.com/RT-Thread/rt-thread/pull/8086
- 补充优化PR:https://github.com/RT-Thread/rt-thread/pull/8251
- 使用二级命令的例子:https://github.com/RT-Thread/rt-thread/pull/8398
- 相关issue:https://github.com/RT-Thread/rt-thread/issues/8691
|
|
Signed-off-by: xqyjlj <[email protected]>
Signed-off-by: Shell <[email protected]>
Co-authored-by: xqyjlj <[email protected]>
|
|
When using musl libc's strcat, strcat itself will cause system crash.
|
|
Signed-off-by: Shell <[email protected]>
|
|
|
|
Signed-off-by: Shell <[email protected]>
Co-authored-by: xqyjlj <[email protected]>
|
|
|
|
|
|
增加检查finsh线程实际使用是否超过当前设定的线程大小
|
|
|
|
Including the patch for memory allocation, testsuites and fixups of
static analysis.
Signed-off-by: Shell <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
Signed-off-by: Shell <[email protected]>
Co-authored-by: Shell <[email protected]>
|
|
|