Commit Graph

315 Commits

Author SHA1 Message Date
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
xfwangqiang e8d775f888
[componnets][pin]add pin operate command in MSH (#5892)
* 1. 在AT32的BSP的drv_gpio中增加了at32_pin_get函数,用于实现rt_pin_ops对象中的pin_get
2. 在MSH中增加了PIN的操作命令
3. 为了方便在MSH命令中解析字符串,增加了一些字符串相关的函数
2022-05-30 18:00:26 +08:00
Meco Man 08737c2a26 [simulator] 消除windows下的警告 2022-05-19 09:43:20 +08:00
thewon86 f5b0bfd3f4 uniform code writing-disable interrupt 2022-04-20 14:22:43 +08:00
Tangyuxin 14d9709fdc
[finsh][cmd] Enhance system robustness (#5832) 2022-04-19 22:46:42 +08:00
guo 4b06115951
[finsh]fix list_device crash. (#5780) 2022-04-07 15:46:38 +08:00
guozhanxin 310f1ea4fa [finsh] Fixed RT-Thread spelling 2022-03-29 14:43:34 +08:00
Man, Jianting (Meco) a514b3bd16
[components][kconfig] 整理Kconfig目录名称和结构 (#5698) 2022-03-25 23:07:18 +08:00
LiuKang aa80ba25d4
[update] fix finsh bug (#5676)
* [update] fix finsh bug

* [update] format code
2022-03-15 16:56:59 +08:00
LiuKang 46d09e045e
[update] remove extra code. (#5663) 2022-03-14 09:14:09 +08:00
Meco Man 8213bbd92e update 2022-01-14 23:09:32 +08:00
liukangcc 3d2e23ec1c [update] move dfs_posix.h to legacy/dfs/dfs_posix.h 2022-01-14 23:09:32 +08:00
Meco Man f89a162ea3 [core] 使用rt_memcpy rt_memset代替memcpy memset 2022-01-09 00:23:18 +08:00
tangyuxin 09f439bcc2 [memheap] Fix 64 bit potential risk 2022-01-08 15:50:14 +08:00
Meco Man 918ee6147c add RT_USING_POSIX_STDIO 2022-01-05 23:11:58 +08:00
mazhiyuan a2561a41b9 fix cmd: tail 2021-12-24 05:53:28 +08:00
Tangyuxin d724eed9fc
分离内存分配接口与内存分配算法 (#5175)
* [kernel][mem] Multiple instances of small memory allocation algorithm

* [kernel][mem] Change small memory management algorithm memory header flag

* [kernel][mem] Fix assertion problem

* [kernel][slab] Multiple instances of slab memory management algorithm

* [kernel][memheap] Remove rt_malloc/rt_free/rt_realloc and other related memory interfaces

* [kernel][mem] Clean up memory space of small memory management objects

* [kernel][kservice] Add memory application interface and thread protection interface

* [kernel][kservice] Fix function return value problem

* [kernel][memheap] Optimize memheaptrace print

* [kernel][memheap] Support best mode

* [kernel][memory] Remove semaphore lock

* [kernel][memheap] Add locked flag

* [kernel][memory] Support malloc memory in interrupt

* [kernel][memheap] Add 'memheapcheck' cmd

* [kernel][mem] Fix failure to request full memory

* [kernel][memheap] Fix compilation warning

* [kernel][mem] Fix mem realloc ASSERT

* [examples][testcases] Add small mem testcase

* [examples][mem_tc] Modify test memory size

* [examples][testcases] Add slab memory management algorithm test case

* [examples][testcases] fix small memory management algorithm test case

* [kernel][memory] Adjusting memory allocation algorithm object definition and interface

* [kernel][memory] Fix compilation warning

* [examples][utest] Fix mem test case

* [examples][utest] fix slab test case

* [utest][testcases] Shorten test time

* [kernel][memory] Formatting code

* [examples][utest] Adjust test run time

* [examples][utest] Formatting code

* [bsp] update all rtconfig.h
2021-12-16 16:23:58 +08:00
guo fda37d55f8
Merge pull request #5319 from RT-Thread/master
【PSE分支】同步master到PSE分支
2021-12-02 10:09:37 +08:00
armink fc72bd1f9b [shell] update the code format 2021-11-25 15:33:50 +08:00
armink 31714562cc [shell] update the list_timer cmd. 2021-11-25 15:30:36 +08:00
Meco Man bd80b7a4a1 对finsh_set_device调用增加宏定义限制 2021-11-24 08:57:12 -05:00
Meco Man a3284876ff revise RT_USING_POSIX_STDIO to RT_USING_POSIX_DEVIO 2021-11-24 08:41:10 -05:00
Meco Man 973f25901c [dfs] move dfs back 2021-11-16 00:57:56 -05:00
Meco Man f8388c572e add RT_USING_POSIX_STDIO 2021-11-07 23:41:16 -05:00
guo 372858f921
[finsh] Fix formatting issues 2021-10-27 17:39:22 +08:00
Meco Man 25bd908fb7 [libc][posix] 解决RT_LIBC_USING_FILEIO范围过大的问题 2021-10-27 03:04:05 -04:00
Meco Man a9910a780e [posix][libc] 优化libc中posix结构 2021-10-26 23:09:54 -04:00
Meco Man f7548b934e [posix][dfs] move dfs_posix dfs_poll dfs_select.c to posix folder 2021-10-21 19:05:53 -04:00
Meco Man 9fce0e5659 [shell] improve finsh_getchar 2021-10-13 22:38:01 -04:00
liukangcc c99dfc3147 [update] fix finsh_getchar() 未对 shell->device 为空处理的问题 2021-10-14 09:43:46 +08:00
Meco Man c80688126a [libc] 优化system 支持gcc 2021-09-27 22:20:21 -04:00
Bernard Xiong 5595df0b8b
Merge pull request #5016 from mysterywolf/finsh
[msh] add comments
2021-09-07 20:25:26 +08:00
Meco Man e4a404c3ef [msh] add comments 2021-09-07 08:11:51 -04:00
Meco Man 099dc437ea [finsh] 恢复FINSH_USING_MSH定义以保持兼容性 2021-09-05 14:03:33 -04:00
Meco Man 1997113fbc FINSH_USING_BUILT_IN_COMMANDS改MSH_USING_BUILT_IN_COMMANDS 2021-08-28 16:48:08 -04:00
Meco Man 3d5582380d [finsh] 整理Kconfig 层次更分明 2021-08-26 10:08:12 -04:00
Meco Man 29828dc94f [finsh] finsh组件可以选择是否包含内置命令 2021-08-25 19:48:15 -04:00
马志远 782c288db6 Repair that the tab key on msh do not work. 2021-08-25 09:31:35 +08:00
马志远 8a1e6c01ac Disable FINSH_FUNCTION_EXPORT 2021-08-23 18:37:58 +08:00