summaryrefslogtreecommitdiff
path: root/components/finsh
AgeCommit message (Collapse)Author
2026-08-26[finsh] Remove deprecated FINSH_FUNCTION_EXPORT_ALIAS#11734Bernard Xiong
2026-07-14[finsh][cmd] Merge duplicate RT_USING_CPU_USAGE_TRACER blocks in list_threadCheng Mingming
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.
2026-07-08components: finsh: check token bounds before accessOld-Ding
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]>
2026-05-07fix(finsh): reset line state on overflowAFWEF_147
2026-04-09[finsh][shell] Print FinSH prompt with a fixed format stringCopilot
2026-03-19fix[components][finsh]: Fix for implicit declaration of function 'strtoul' ↵shuta.lst
in multi-core build;
2026-02-25fix(finsh): dup / cause errorWeixie Cui
if src == '/', result in something lik 'dest//file'
2026-02-13chore: fix typo in components and libcputheqengineer
2026-01-19fix(Kconfig): Update the default value of FINSH_THREAD_PRIORITY to support ↵wdfk-prog
different thread priorities
2025-12-15[finsh][cmd] add 'console' command to config consoleGuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2025-12-04[DFS] Support 9PFSGuEe-GUI
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]>
2025-11-30fix(finsh): Fix crash in 'tail' command with insufficient '-n' argumentswdfk-prog
2025-11-22finsh: replace str/mem functions with rt-prefixed versionsliuyucai
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.
2025-11-13fix[components]: 修复日志输出的gcc编译警告wdfk-prog
2025-11-06fix(finsh): Correct stack usage display format in list_thread commandwdfk-prog
2025-09-28[Feature][Shell] 增加对 Home、Insert、Delete 和 End ↵蒙蒙plus
键的支持,改进输入模式处理 (#10595)
2025-09-17[components][finsh] 清理掉无用的拷贝操作 (#10699)蒙蒙plus
清理掉无用的拷贝操作
2025-09-04fix: ↵wdfk-prog
在没有定义FINSH_USING_SYMTAB时编译报错以及IPC及finsh启用时自动选择必要的功能
2025-08-30[Add][kservice]Add thread usage support.Rbb666
2025-08-06[update] <components>:finsh/shell.cliuyucai
添加以下功能(需要kconfig使能FINSH_USING_WORD_OPERATION) 1 ctrl+back 按单词删除 2 ctrl+左右箭头 按单词切换光标 Signed-off-by: Yucai Liu <[email protected]>
2025-07-20[Fix] <components>:finsh/shell.c F: char rt_hw_console_getchar(void) (#10345)ricky
[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]>
2025-05-21Update shell.c LTreeshu
To enhance the robustness of key recognition and solve the problem of errors and omissions caused by the lag of state assignment statement 增强方向键识别的鲁棒性,解决状态赋值语句滞后带来的错漏问题
2025-03-21解决 list_mutex 互斥量没有线程持有时打印错误Yang Xijing
2025-03-17解决bps/simulator无法在vs2019环境下编译latercomer
Signed-off-by: latercomer <[email protected]>
2025-02-19doxygen: finsh: Normalize macro definitions (#10006)Chen Wang
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]>
2025-02-15doxygen: add prefix for groups (#9991)Chen Wang
* 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]>
2024-11-04[components][finsh]在RT_USING_POSIX_STDIO时,使用get_console获取当� ↵liuchao
�console描述符
2024-09-24[components] change variable nameCYFS
为什么提交这份PR (why to submit this PR) #9397 你的解决方案是什么 (what is your solution) 将 line 758的dir改为link_dir
2024-09-15[doxygen] add driver example for doxygen (#9446)Supper Thomas
2024-06-24[components][msh]msh命令失败添加打印日志wdfk-prog
2024-06-23[finsh] add msh command to bind thread to specific core (#9085)Shell
[finsh] add msh command bind Signed-off-by: Shell <[email protected]>
2024-03-31[finsh] remove finsh_syscall_lookup() function declarationMeco Man
2024-03-30[msh] add comment for secondary-commandsMeco Man
新增加的二级命令使用方式没有清晰的描述 - 功能实现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
2024-03-28sync smart & dfs (#8672)Shell
Signed-off-by: xqyjlj <[email protected]> Signed-off-by: Shell <[email protected]> Co-authored-by: xqyjlj <[email protected]>
2024-03-27[msh] solve data access bugs and fix shell.c strcat()Meco Man
When using musl libc's strcat, strcat itself will cause system crash.
2024-03-22[finsh] feat: add finsh thread entry hookShell
Signed-off-by: Shell <[email protected]>
2024-03-16[msh][ci]only GCC use strict checkingMeco Man
2024-02-23🎯 Sync smart & scheduler codes (#8537)Shell
Signed-off-by: Shell <[email protected]> Co-authored-by: xqyjlj <[email protected]>
2024-02-09[msh] fix the version command (#8531)Bernard Xiong
2024-02-03fix MDK AC5 build warningsyangpeng
2024-01-09[finsh] support to check static thread sizeMeco Man
增加检查finsh线程实际使用是否超过当前设定的线程大小
2024-01-02fix some -Wmissing-prototypes warningsMeco Man
2024-01-02[kernel] Add hook for malloc servicesShell
Including the patch for memory allocation, testsuites and fixups of static analysis. Signed-off-by: Shell <[email protected]>
2023-12-10update libc (#8335)geniusgogo
2023-11-30[nano] rt-thread susport nano optionMeco Man
2023-11-28fix dfs path name overflow. (#8305)geniusgogo
2023-11-15FINSH: 优化MSH宏定义 (#8251)wangqinglin
2023-10-27[msh]Optimize list_thread display (#7977)guo
2023-10-25🎈 perf: perf rt_hw_interrupt_disable/enable (#8042)xqyjlj
Signed-off-by: Shell <[email protected]> Co-authored-by: Shell <[email protected]>
2023-09-27【msh】新增msh自动补全子选项特性 (#8086)wangqinglin