summaryrefslogtreecommitdiff
path: root/examples
AgeCommit message (Collapse)Author
2024-04-19[mem] Remove useless code And Update mem documentationwdfk-prog
2024-04-19sync smart & dfs (#8672)Shell
Signed-off-by: xqyjlj <[email protected]> Signed-off-by: Shell <[email protected]> Co-authored-by: xqyjlj <[email protected]>
2024-02-23🎯 Sync smart & scheduler codes (#8537)Shell
Signed-off-by: Shell <[email protected]> Co-authored-by: xqyjlj <[email protected]>
2024-01-16[kservice] MT-safe output support (kprintf/kputs)Shell
Signed-off-by: Shell <[email protected]>
2024-01-02[kernel] support for hook listShell
Signed-off-by: Shell <[email protected]>
2023-12-28[examples][tcpserver]打印错误值errnoyangpeng
2023-12-28[examples]更正tcp例程中recv/send返回值判断yangpeng
2023-12-16dfsv2 code tidy. (#8374)geniusgogo
2023-11-02[smart] fixup of lwp recycling and mm varea (#8206)Shell
Signed-off-by: shell <[email protected]> Signed-off-by: Shell <[email protected]> Co-authored-by: xqyjlj <[email protected]>
2023-10-27[serial_v2]串口设备框架serial_v2在utest下的testcases补充 (#8079)zan319
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-10-25[smart] replace varea pgmgr and fixup of dfs mmap (#8184)Shell
Signed-off-by: shell <[email protected]> Signed-off-by: Shell <[email protected]>
2023-10-14[components][mm]添加预留内存支持 (#8025)zms123456
2023-10-11[smart] split out part of lwp_new() to lwp_create()Shell
Prev implementation of lwp_new() including the create of lwp object and the pid allocation. But not every lwp object need a pid. So this patch split out the business of lwp_new() to improve the maintainability. Signed-off-by: Shell <[email protected]>
2023-09-26[utest] 更改线程栈的大小,避免栈异常zhkag
2023-09-25[utest] 添加 signal 依赖项wangyuqiang
2023-09-20[utest] 更改 thread_tc 线程栈的大小,避免 64 ↵zhkag
位机器导致的栈异常 (#8057)
2023-09-08[posix]修复消息队列返回长度异常 (#8014)zhkag
2023-08-16[components/mm] add unmap page API (#7834)Shell
Signed-off-by: Shell <[email protected]>
2023-07-25[libcpu/arm] fix race condition with ldrex,strex (#7842)Shell
Signed-off-by: Shell <[email protected]>
2023-06-26[src][components][include]消息队列支持优先级 (#7382)zhkag
2023-06-25[testcases]增加volatile解决优化等级高的情况下,测试不通过� ↵goldengrandpa
�问题 (#7717)
2023-06-21[Kernel] message 可以返回消息的实际大小 (#7709)zhkag
2023-06-19[testcase] correct the file names in sconscirptzhangyan
2023-06-18testcase 修改 (#7688)zhangyan
2023-05-18[HUST CSE][example] fix some typo bugs about 'sucess' and others. (#7528)shandianchengzi
2023-05-16[HUST CSE][examples]Fix undefined behavior 'fclose(NULL)' (#7513)Liu Haoyi
2023-05-14[HUST CSE] fix fgets_tc.c (#7503)chiehwarm
这个文件里存在使用fopen函数后没有关闭文件fclose的问题,而且stream=NULL时是不需要fclose的
2023-05-14[HUST CSE][utest] fix the sizeof incorrect calculation连琦
atoi_tc.c中的"sizeof(test_data[0])" 和atol_tc.c中的"sizeof(test_data1[0]"错误,小于实际数组中的数据个数
2023-05-12[testcase][thread_tc]修复高优化等级时thread测试用例死循环的� ↵goldengrandpa
��题 (#7483)
2023-05-01[HUST CSE][utest] fix the NULL pointer errorLostCivilization
2023-05-01[HUST CSE] 判断条件冗余 (#7430)LostCivilization
2023-04-29[examples]Fixed an issue where fclose was not used after using fopenZ-Xiaoyuan
2023-04-28[HUST CSE] add forced type conversion when using 'realloc','malloc','calloc' ↵zouziyu2002
for better readability
2023-04-23[HUST CSE]Fix if condition statement not closed (#7353)Xuhxx
2023-04-21[HUST CSE]fix closing the same file twiceChef003
2023-03-30[utest][atomic]添加返回值测试 (#7124)Yaochenger
* [utest][atomic]添加返回值测试
2023-03-30[rt-smart] testcase & improvements for memory management (#7099)Shell
* [utest/mm] add testcase for create/init format codes of create/init in components/mm * [libcpu/aarch64] fix user stack check routine * [kservice] export API for utest * [utest/mm] testcase for aspace_map format & modify the files under components/mm related with aspace_map * [lwp/user_mm] add user_map_varea for mmap feature * [mm] rename rt_mm_fault_try_fix to rt_aspace_fault_try_fix * [utest/mm] testcase for synchronization * [mm] modify unmap api to improve throughput * [utest/mm] testcases for cache and varea map * [format] remove extra space * [utest/mm] fix testcase problem in header * [lwp] extend map_user_varea with a flag * [utest/mm] testcase for lwp_map_user_varea * [libcpu/arm/cortex-a] fix kernel space layout * [utest/mm] adjust for armv7 arch
2023-03-23[atomic]添加arm与risc-v下的常用原子操作函数 (#7053)Yaochenger
* Update Kconfig * Update trap_gcc.S * Update bsp/hifive1/drivers/SConscript Co-authored-by: Man, Jianting (Meco) <[email protected]> * Update SConscript * [atomic]提交一份arm与risc-v架构下的常用原子操作函数 * 修改变量类型 * 更新rtatomic.h与atomic_port.c * 更新rt-thread\libcpu\arm\common\atomic_port.c * 更新include/rtatomic.h与libcpu/arm/common/SConscript * 更新include/rtatomic.h * 修正格式与Kconfig * 修正格式与文件结构 * 规范文件格式与文件重命名 * 添加测试用例与CI * 添加函数声明 * 修改virt64/SConscript 添加atomic_riscv.c * 1.规范代码风格 * 2.添加RISC-V64原子指令支持 解决在RV64下编译器将32-bit运算结果扩展为64-bit 导致判断错误 * 添加C11标准库原子操作测试 --------- Co-authored-by: Man, Jianting (Meco) <[email protected]>
2023-03-20[errno code][-RT_ERROR] fix that use RT_ERROR without -Meco Man
2023-03-03[fix] mm bugs (#7010)Shell
* [fix] implementation fault on avl * [fix] mm may free varea allocated statically * [test] add test and benchmark for avl
2023-02-13[ci] fix build error.guozhanxin
2023-02-13add rtsmart ciguozhanxin
2023-02-08[ringbuffer] ringbuffer size boost to 32bit (#6915)螺丝松掉的人
* ringbuffer size boost to 32bit * 添加ringbuffer测试demo related: #682 ---- Co-authored-by: Zxy <[email protected]> Co-authored-by: Man, Jianting (Meco) <[email protected]>
2023-01-08format Kconfig and sconscriptMeco Man
2022-12-11[rtdef] use lower-case to define attributes (#6728)Man, Jianting (Meco)
* [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-03sync branch rt-smart. (#6641)guo
* 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 <[email protected]> Co-authored-by: zhkag <[email protected]>
2022-11-29修复 riscv64 messagequeue_tc 报错zhkag
2022-10-27expand mq test stack size to fix overstack problem during utest.fan.ji
Signed-off-by: fan.ji <[email protected]>
2022-10-27fix test_thread_yield fail bug in multiple utest loop case.fan.ji
Signed-off-by: fan.ji <[email protected]>