Commit Graph

51 Commits

Author SHA1 Message Date
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
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
zhkag cf221f45d7 修复 riscv64 messagequeue_tc 报错 2022-11-29 21:08:22 -05:00
fan.ji b1beed20ae expand mq test stack size to fix overstack problem during utest.
Signed-off-by: fan.ji <fan.ji@weiheng-tech.com>
2022-10-27 21:11:49 -04:00
fan.ji dff06ff603 fix test_thread_yield fail bug in multiple utest loop case.
Signed-off-by: fan.ji <fan.ji@weiheng-tech.com>
2022-10-27 21:10:43 -04:00
guozhanxin 74912a6bee [ci] Test with time slice off by default 2022-08-16 12:33:50 -04:00
guozhanxin f6ac38a19b [utestcases] add timeslice_test 2022-08-16 00:07:33 -04:00
xiangxistu b39210dea3
[add] posix testcase frame. (#6127) 2022-07-04 10:20:04 +08:00
Meco Man f27110decd [utest] fix a bug 2022-07-01 11:39:28 +08:00
liuxianliang 75a55f2028 [fix] enhance strength about cpp testcase. 2022-05-18 08:44:30 +08:00
guozhanxin 7a717b094e [fix] building error. 2022-04-21 14:35:11 +08:00
guozhanxin 1404186602 [utestcases] add cpp11 base testcase. 2022-04-21 14:35:11 +08:00
Yang sheng eb2fc60207
[bsp] Make all warnings into errors with qemu-vexpress-a9 qemu-virt64… (#5785)
* [bsp] Make all warnings into errors with qemu-vexpress-a9 qemu-virt64-aarch64 and stm32f411-st-nucleo.
* [RTC] Fix compile errors
2022-04-09 00:39:00 +08:00
Meco Man 0c35b803fa [utestcases] add dependence RT_USING_UTESTCASES 2022-02-14 10:14:12 +08:00
geniusgogo 658b2c1027 fix 32bit & 64bit value to pointer interconvert. 2022-01-28 11:35:10 +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
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
Meco Man df9a23c534 [mutex] use RT_IPC_FLAG_PRIO to replace RT_IPC_FLAG_FIFO 2021-11-17 15:57:15 -05: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
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
guozhanxin 389077897e [add] signal testcases 2021-09-04 18:04:57 +08:00
Sherman 7c24a01979 [utestcase] 添加 message queue 测试用例 2021-09-02 17:43:58 +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
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
guozhanxin 5074c86dce [ci][autotest] add ipc.conf 2021-08-15 16:17:15 +08:00
tyustli 8d1f0758d6 [add] semaphore testcase ci config 2021-08-12 19:48:27 +08:00
tyustli 141e6a03e9 [add] add semaphore testcase src code and Kconfig 2021-08-12 11:43:15 +08:00
guozhanxin 3bc6d7c414 [utestcase] 完善测试用例集合的 README 2021-07-08 13:39:56 +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
guozhanxin 4d213254c3 [ci] add kernel/mem testcase. 2021-06-03 15:08:31 +08:00
guozhanxin 2c119a5c48 add memheap testcase for ac6 Oz optimization. 2021-06-03 15:00:13 +08:00
zhouji 3350b0ba4e [update] 整理cortex-a kconfig菜单,并更新相关BSP的配置。 2021-05-27 17:44:44 +08:00
zhouji 1523e4680d [add] 添加gicv3中断控制器代码,更新menuconfig配置选项与utest的config.h 2021-05-14 16:08:31 +08:00
guozhanxin 5767c2e0f4 【完善】SConscript 脚本文件 2021-05-12 09:50:40 +08:00
guozhanxin e3ee4f2846 [更新]补充文档链接 2021-05-11 18:45:43 +08:00
guozhanxin 7d57170a68 【更新】README.md 2021-05-11 09:23:11 +08:00