Commit Graph

353 Commits

Author SHA1 Message Date
wdfk-prog 5b64870507 [components][msh]msh命令失败添加打印日志 2024-06-24 10:56:48 +08:00
Shell 5c1e5d2fca
[finsh] add msh command to bind thread to specific core (#9085)
[finsh] add msh command bind

Signed-off-by: Shell <smokewood@qq.com>
2024-06-23 22:02:56 +08:00
Meco Man 1bf8a460e7 [finsh] remove finsh_syscall_lookup() function declaration 2024-03-31 20:31:35 -04:00
Meco Man 6d1bc9b2f8 [msh] add comment for secondary-commands
新增加的二级命令使用方式没有清晰的描述
- 功能实现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-30 02:48:54 -04:00
Shell 83e95bdff4
sync smart & dfs (#8672)
Signed-off-by: xqyjlj <xqyjlj@126.com>
Signed-off-by: Shell <smokewood@qq.com>
Co-authored-by: xqyjlj <xqyjlj@126.com>
2024-03-28 23:42:56 +08:00
Meco Man e0f2313c53 [msh] solve data access bugs and fix shell.c strcat()
When using musl libc's strcat, strcat itself will cause system crash.
2024-03-27 18:40:56 -04:00
Shell 22106bb8de [finsh] feat: add finsh thread entry hook
Signed-off-by: Shell <smokewood@qq.com>
2024-03-22 18:52:35 -04:00
Meco Man 59231a4276 [msh][ci]only GCC use strict checking 2024-03-16 10:21:38 -04:00
Shell 71560bafb5
🎯 Sync smart & scheduler codes (#8537)
Signed-off-by: Shell <smokewood@qq.com>
Co-authored-by: xqyjlj <xqyjlj@126.com>
2024-02-23 17:49:15 +08:00
Bernard Xiong cad5ceb1e0
[msh] fix the version command (#8531) 2024-02-09 19:56:52 +08:00
yangpeng 25d3136d02 fix MDK AC5 build warnings 2024-02-03 21:43:08 -05:00
Meco Man 58a159a0d6 [finsh] support to check static thread size
增加检查finsh线程实际使用是否超过当前设定的线程大小
2024-01-09 14:29:55 +08:00
Meco Man 6cc63626d7 fix some -Wmissing-prototypes warnings 2024-01-02 21:25:26 +08:00
Shell 3a7903b799 [kernel] Add hook for malloc services
Including the patch for memory allocation, testsuites and fixups of
static analysis.

Signed-off-by: Shell <smokewood@qq.com>
2024-01-02 19:42:46 +08:00
geniusgogo 0b6402f3cb
update libc (#8335) 2023-12-10 06:49:24 +08:00
Meco Man 005828eba7 [nano] rt-thread susport nano option 2023-11-30 11:39:34 +08:00
geniusgogo 74925f43ed
fix dfs path name overflow. (#8305) 2023-11-28 17:16:21 +08:00
wangqinglin b80a455b34
FINSH: 优化MSH宏定义 (#8251) 2023-11-15 13:54:22 +08:00
guo f744d5e6fb
[msh]Optimize list_thread display (#7977) 2023-10-27 10:52:52 +08:00
xqyjlj 3283f54c7a
🎈 perf: perf rt_hw_interrupt_disable/enable (#8042)
Signed-off-by: Shell <smokewood@qq.com>
Co-authored-by: Shell <smokewood@qq.com>
2023-10-25 20:31:25 +08:00
wangqinglin 2d630e38d7
【msh】新增msh自动补全子选项特性 (#8086) 2023-09-27 12:34:05 +08:00
geniusgogo 93388f8045
fix msh exec permission denied (#7943) 2023-08-16 15:31:36 +08:00
geniusgogo 4d20416b2f
update components & lwp. (#7888) 2023-08-07 12:22:14 -04:00
zhkag 7d8f485321
[finsh] 添加 RT_Device_Class_Bus 对应的描述字符串 2023-06-16 22:33:03 -04:00
Mingjie Shen 6198eea6c7 [msh] fix offset used before range check
These uses of offset 'cmd0_size' should follow the range check.
2023-06-13 18:00:32 -04:00
Bernard Xiong 99e80f8d33
[dfs] Add DFS v2.0 (#7606) 2023-06-10 21:35:25 +08:00
unknown 582adfb211 [finsh]更正注释 2023-04-10 22:13:03 -04:00
geniusgogo 3ea1ce9e46
Fix nfs (#7194)
* fixed nfs 64bit arch fault

* change mount cmd support nfs.
2023-04-08 12:22:19 +08:00
Shicheng Chu 93f3cb30e4
[kernel] 将rt_thread结构体改为显式继承rt_object (#7131) 2023-04-04 09:06:27 -04:00
褚仕成 634ac13c12 Fix the comment in finsh_set_prompt_mode 2023-01-20 23:44:38 -05:00
wdfk-prog f4c08cfe36 修改printf格式“%-*.s”为“%-*.*s 2022-12-22 22:51:24 -05:00
guo 68ca9f07a6
[rt-smart] 弱化 RT_USING_LWP,使用 RT_USING_SMART 作为宏配置 (#6740)
* [dfs] sync cromfs

* [rt-smart]Weaken RT_USING_LWP, use RT_USING_SMART as macro configuration

* [format] fix some format issue.
2022-12-16 18:38:28 +08:00
tangzz98 89c3bf5f92 ESP32_C3: Improve Readme, fix compile errors/warnings 2022-12-13 11:50:29 +08:00
bernard aa0c8b4a93 [components] fix format issue 2022-12-12 20:24:10 -05:00
Man, Jianting (Meco) 99bdf978d7
[rtdef] use lower-case to define attributes (#6728)
* [rtdef] rename RT_WEAK attribute as rt_weak

* [rtdef] rename RT_USED attribute as rt_used

* [rtdef] rename RT_SECTION attribute as rt_section

* [rtdef] rename ALIGN attribute as rt_align

* [legacy] add RT_USED ALIGN RT_SECTION RT_WEAK as legacy support
2022-12-11 13:12:03 -05:00
tangyuxin a535218ba6 [shell]list_mutex show suspended Threads 2022-12-06 21:15:13 -05:00
guozhanxin eb66f2c964 fix system muti-define when enable RT_USING_MODULE 2022-12-06 20:53:20 -05:00
yangjie11 2cc9bd7936 [components/finsh]使 list 命令的解释对齐 2022-12-06 20:53:01 -05:00
guo ecf2d82159
sync branch rt-smart. (#6641)
* Synchronize the code of the rt mart branch to the master branch.
  * TTY device
  * Add lwP code from rt-smart
  * Add vnode in DFS, but DFS will be re-write for rt-smart
  * There are three libcpu for rt-smart:
    * arm/cortex-a, arm/aarch64
    * riscv64

Co-authored-by: Rbb666 <zhangbingru@rt-thread.com>
Co-authored-by: zhkag <zhkag@foxmail.com>
2022-12-03 12:07:44 +08:00
Meco Man 84eab69604 [msh] remove list_xxx commands, use 'list' to replace 2022-11-21 21:39:45 -05:00
Bernard Xiong 79e298147b
Merge pull request #6523 from BernardXiong/nested_mutex
[Kernel] Add nested mutex feature
2022-11-06 08:59:12 +08:00
Yunjie Gu 8fa9fde43a
[bsp][c28x] add support to not disable global interrupt in context-switch to enable zero-latency isr for critical interrupts. 2022-10-19 23:41:13 -04:00
Bernard Xiong 34c77da153 [Kernel] Add nested mutex feature 2022-10-15 16:19:13 +08:00
Meco Man b01c2b8a5a [msh] add available memory information for free cmd 2022-07-07 18:08:06 +08:00
Stanley Lwin 02a0da51c3
List command (#6134)
* initial commit for list cmd
2022-07-04 09:38:50 +08:00
Meco Man 9623706eff Revert "解决将RT_NULL当做数字0使用的问题"
This reverts commit 6a05ddf63d.
2022-07-01 15:51:28 +08:00
Meco Man 6a05ddf63d 解决将RT_NULL当做数字0使用的问题 2022-07-01 11:39:28 +08:00
Meco Man 584d06bd27 [finsh]修复使用finsh_set_prompt重定向了msh提示符的名称后,路径功能没有的问题 2022-07-01 11:38:31 +08:00
a1012112796 697bf139b2
[enhancement] Add string information for error (#3186)
* [enhancement]Add string information for error

* Update src/kservice.c

* Update src/kservice.c

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>

* remove %m

Signed-off-by: a1012112796 <1012112796@qq.com>

Co-authored-by: Meco Man <920369182@qq.com>
2022-06-29 14:21:21 +08:00
guo b1fab8942a
[msh]Restore the free command.|还原 free命令。 (#6084) 2022-06-16 14:19:24 +08:00