summaryrefslogtreecommitdiff
path: root/examples
AgeCommit message (Collapse)Author
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]>
2022-10-25[compiler] 增加SConscript依赖标志 AddDepend (#6534)Man, Jianting (Meco)
* [compiler] 增加SConscript依赖标志 AddDepend * RT_USING_NEWLIB->RT_USING_NEWLIBC RT_USING_ARM_LIBC->RT_USING_ARMLIBC * 删除过时的板载测试例程 * [gd32] 移除无用的反汇编文件 * [bsp]移除老旧bsp中对RT_USING_NEWLIBC的手动宏定义
2022-08-16[ci] Test with time slice off by defaultguozhanxin
2022-08-16[utestcases] add timeslice_testguozhanxin
2022-07-04[add] posix testcase frame. (#6127)xiangxistu
2022-07-01[utest] fix a bugMeco Man
2022-05-18[fix] enhance strength about cpp testcase.liuxianliang
2022-04-21[fix] building error.guozhanxin
2022-04-21[utestcases] add cpp11 base testcase.guozhanxin
2022-04-09[bsp] Make all warnings into errors with qemu-vexpress-a9 qemu-virt64… (#5785)Yang sheng
* [bsp] Make all warnings into errors with qemu-vexpress-a9 qemu-virt64-aarch64 and stm32f411-st-nucleo. * [RTC] Fix compile errors
2022-02-14[utestcases] add dependence RT_USING_UTESTCASESMeco Man
2022-01-28fix 32bit & 64bit value to pointer interconvert.geniusgogo
2022-01-25improve and add comments in examples/network/ including tcpserver.cChungHsuanChen
tcpclient.c udpserver.c and udpclient.c Formatting Co-authored-by: Man, Jianting (Meco) <[email protected]>
2022-01-14[update] move dfs_posix.h to legacy/dfs/dfs_posix.hliukangcc
2022-01-05add RT_HOOK_USING_FUNC_PTRGabriel Wang
2021-12-30[libc]rename group nameMeco Man
2021-12-17[update] remove RT_USING_TCliukangcc
2021-12-16分离内存分配接口与内存分配算法 (#5175)Tangyuxin
* [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-02Merge pull request #5319 from RT-Thread/masterguo
【PSE分支】同步master到PSE分支
2021-11-24revise some RT_USING_POSIX to RT_USING_POSIX_DEVIOMeco Man
2021-11-23modify time.h to sys/time.hMeco Man
2021-11-17[mutex] use RT_IPC_FLAG_PRIO to replace RT_IPC_FLAG_FIFOMeco Man
2021-10-13[examples/rt-link/rtlink_example.c] 修改 log_w 为 LOG_WSherman
2021-10-12Merge pull request #5136 from cndabai/thread_tcguo