Commit Graph

338 Commits

Author SHA1 Message Date
ChungHsuanChen 382e19ccbf improve and add comments in examples/network/ including tcpserver.c
tcpclient.c udpserver.c and udpclient.c
Formatting
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-01-25 13:59:59 +08:00
liukangcc 3d2e23ec1c [update] move dfs_posix.h to legacy/dfs/dfs_posix.h 2022-01-14 23:09:32 +08:00
Gabriel Wang 576457b6f0 add RT_HOOK_USING_FUNC_PTR 2022-01-05 15:48:42 +08:00
Meco Man c8dcf7cc68 [libc]rename group name 2021-12-30 01:27:25 +08:00
liukangcc 0c4e733737 [update] remove RT_USING_TC 2021-12-17 10:24:48 +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
Meco Man 7c789d4b11 revise some RT_USING_POSIX to RT_USING_POSIX_DEVIO 2021-11-24 09:47:55 -05:00
Meco Man a1cc3d43e7 modify time.h to sys/time.h 2021-11-23 22:38:00 -05:00
Meco Man df9a23c534 [mutex] use RT_IPC_FLAG_PRIO to replace RT_IPC_FLAG_FIFO 2021-11-17 15:57:15 -05:00
Sherman 8e9a346450 [examples/rt-link/rtlink_example.c] 修改 log_w 为 LOG_W 2021-10-13 18:56:19 +08:00
guo 0f8c465352
Merge pull request #5136 from cndabai/thread_tc 2021-10-12 09:52:01 +08:00
mazhiyuan 3aab8c54ca format thread_tc.c 2021-10-11 13:55:17 +08:00
mazhiyuan c3465dfab7 add thread testcase 2021-10-11 13:47:26 +08:00
guo 39197b438d
Merge pull request #4885 from willianchanlovegithub/WillianChan
[add][components][utilities]Add the Var Export component
2021-10-11 11:02:14 +08:00
Meco Man ee4b7916a3 [libc标准化]脱敏dfs_select.h 由标准sys/select.h代替 2021-09-22 16:45:21 -04:00
Meco Man c360688714 使用poll.h代替dfs_poll.h 2021-09-11 11:56:54 -04:00
liukangcc bf94a69afd [add] mailbox testcase. 2021-09-09 10:27:48 +08:00
tyustli 0b55a75211
[fix] change chinese comment to english and fix some wrong character 2021-09-08 12:25:16 +08:00
tyustli f4abcef96f [add] utest kernel mutex_tc.c file 2021-09-06 15:30:08 +08:00
guo 877bb072cf
Merge pull request #5014 from mysterywolf/finsh
[finsh] 修复由于移除finsh导致__cmd_xxx命令无法使用的问题
2021-09-05 19:49:43 +08:00
Meco Man e18d44940f [finsh] 修复由于移除finsh导致__cmd_xxx命令无法使用的问题 2021-09-05 01:57:26 -04:00
guozhanxin 389077897e [add] signal testcases 2021-09-04 18:04:57 +08:00
WillianChan f7657a94b5 [add][examples][var_export]add sample code for the var_export component
Signed-off-by: WillianChan <chentingwei@rt-thread.com>
2021-09-02 20:20:29 +08:00
Sherman 7c24a01979 [utestcase] 添加 message queue 测试用例 2021-09-02 17:43:58 +08:00
Bernard Xiong bd44c1e590
Merge pull request #4970 from cndabai/master
Remove C Style Command Shell
2021-08-25 19:03:52 +08:00
guozhanxin fe4bec08a5 【ci】添加 timer、irq 测试 2021-08-24 17:20:12 +08:00
guozhanxin 0ab5affee9 【utestcase】修复 timer_tc.c 延时函数使用错误的问题 2021-08-24 17:07:46 +08:00
tyustli e24e625c5d
【修改】删除代码中的多余空格 2021-08-23 18:45:18 +08:00
马志远 221da7f464 Remove C Style Command Shell 2021-08-23 17:30:05 +08:00
tyustli 0596a98c80 [add]kernel timer testcase 2021-08-23 12:37:54 +08:00
supperthomas b4a46f8bbe add the interrupt disable 2021-08-19 21:47:19 +08:00
supperthomas 39353f5c14 fix the space 2021-08-19 20:49:12 +08:00
supperthomas 210ff3c9df fix the space 2021-08-19 20:49:12 +08:00
supperthomas c8d73a76ce add the utest of irq 2021-08-19 20:49:08 +08:00
liukangcc f8c12d0f21 [add] event test case. 2021-08-19 08:50:14 +08:00
Bernard Xiong 33a50d0eb0
Merge pull request #4939 from luckyzjq/semaphore_test
[add] add semaphore testcase src code and Kconfig
2021-08-16 00:06:50 +08:00
guozhanxin 5074c86dce [ci][autotest] add ipc.conf 2021-08-15 16:17:15 +08:00
Bernard Xiong 9cbb6a741c
Merge pull request #4931 from ShermanShao/master
[components]rt-link v0.2.0 新特性:
2021-08-12 23:14:39 +08:00
tyustli 8d1f0758d6 [add] semaphore testcase ci config 2021-08-12 19:48:27 +08:00
Sherman 491524cb96 [components]rt-link v0.2.0 新特性:
1. service 通道增加【连接状态】属性
2. service 通道增加发送消息质量配置,ACK、CRC 可配置开关;
3. 发送接口支持阻塞、非阻塞两种发送方式;
4. 已对接到 device 框架,支持 rt_device 接口操作
5. 已对接到 DFS 框架,支持 POSIX 接口操作
6. 移除 hw_port 目录,改为软件包方式添加 hw_port
7. 修复已知 BUG
2021-08-12 18:10:49 +08:00
tyustli 141e6a03e9 [add] add semaphore testcase src code and Kconfig 2021-08-12 11:43:15 +08:00
Meco Man 98c72007d2 [example] replace RT_IPC_FLAG_FIFO with RT_IPC_FLAG_PRIO 2021-07-18 12:52:04 +08:00
guozhanxin 3bc6d7c414 [utestcase] 完善测试用例集合的 README 2021-07-08 13:39:56 +08:00
DavidLin1577 e0b00b21f5 [examples/test]update rtc_test.c 2021-07-06 18:03:15 +08:00
Bernard Xiong 2341ba037b
Merge pull request #4809 from KyleChenjh/serial_v2_tc
[testcase] 增加serial_v2的测试用例
2021-06-24 21:29:13 +08:00
chenjh 312753686b [testcase] 增加serial_v2的测试用例 2021-06-23 11:04:36 +08:00
guozhanxin cc5fa682cd [ci] Simplified configuration files. 2021-06-18 19:43:57 +08:00
Henson 89717a4546 [ci] add riscv64 autotest. 2021-06-17 21:50:46 +08:00
guo b516cbd2ae
Merge pull request #4790 from mysterywolf/errno
[master][rtlibc] remove libc_errno.h & libc_limits.h
2021-06-13 09:36:29 +08:00