summaryrefslogtreecommitdiff
path: root/include/rtthread.h
AgeCommit message (Collapse)Author
2023-02-07rt_device_write/read return data type as rt_ssize_tMeco Man
rt_ssize_t can give negative error code, which follows the unix style correctly
2023-02-02[doxygen] Fix some warnings in doxygen (#6899)tuduweb
2022-12-16[rt-smart] 弱化 RT_USING_LWP,使用 RT_USING_SMART 作为宏配置 (#6740)guo
* [dfs] sync cromfs * [rt-smart]Weaken RT_USING_LWP, use RT_USING_SMART as macro configuration * [format] fix some format issue.
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-06Merge pull request #6523 from BernardXiong/nested_mutexBernard Xiong
[Kernel] Add nested mutex feature
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-10-16[Kernel] Add prioceiling feature in mutexBernard Xiong
2022-10-15[Kernel] Add nested mutex featureBernard Xiong
2022-06-29[enhancement] Add string information for error (#3186)a1012112796
* [enhancement]Add string information for error * Update src/kservice.c * Update src/kservice.c Co-authored-by: Man, Jianting (Meco) <[email protected]> * remove %m Signed-off-by: a1012112796 <[email protected]> Co-authored-by: Meco Man <[email protected]>
2022-06-08attach: remove strnlen #6026Meco Man
2022-06-04[libc] remove strdup from rtthread.h (#6026)Man, Jianting (Meco)
add __STDC_LIMIT_MACROS macro in Keil add RT_USING_LIBC in simulator add _DLIB_ADD_EXTRA_SYMBOLS=0 in IAR
2022-04-15attach #5815 (#5818)Man, Jianting (Meco)
2022-04-09[kconfig] add 64bit default value for stack size. set tick HZ as 1000 by ↵Man, Jianting (Meco)
default (#5778) * [kconfig] add 64bit default value for stack size. set tick HZ as 1000 by default * 用RT_KSERVICE_USING_STDLIB_MEMXXX代替RT_KSERVICE_USING_STDLIB_MEMCP/MEMSET 将RT_KSERVICE_USING_STDLIB设置为默认开启 * 优化rt_kprintf支持longlong的能力,默认在64位CPU为开启状态 RT_PRINTF_LONGLONG命名不规范,更改为RT_KPRINTF_USING_LONGLONG * fix commit error * fix error * 优化 system 函数 * RT_KSERVICE_USING_STDLIB_MEMXXX->RT_KSERVICE_USING_STDLIB_MEMORY
2022-02-13[add] src/clock.c add hook for rt_tick_increase (#5569)tyustli
* [add] src/clock.c add hook for rt_tick_increase * [fix] clock.c rt_tick_incerase hook function * Update clock.c Co-authored-by: guo <[email protected]>
2022-01-09[kservice] 增加RT_KSERVICE_USING_STDLIB_MEMSET RT_KSERVICE_USING_STDLIB_MEMCPYMeco Man
2022-01-08[memheap] Fix 64 bit potential risktangyuxin
2022-01-03[include/rtthread.h] Add function declarations to avoid compilation warnings.balanceTWK
2021-12-30Revert "[kernel] Add __attribute__(...) for rt_kprintf() to let the compiler ↵Bernard Xiong
check the format string parameters" This reverts commit d2e6715ddbc03f5e6d0bb3f44e5eb73135a5b258.
2021-12-30Revert "Add support for IAR Compiler"Bernard Xiong
This reverts commit ead24644f008232f81e0408bfb15e99deff115bb.
2021-12-30Add support for IAR Compilerweycen
2021-12-30[kernel] Add __attribute__(...) for rt_kprintf() to let the compiler check ↵weycen
the format string parameters Tested in the following environment: 1. Keil uVersion:Arm Compiler v5.06、v6.7、v6.16 2. Atollic TrueSTUDIO for STM32:GNU v6.3.1 3. Code Composer Studio:TI Compiler v20.2.2.LTS、GNU v7.2.1
2021-12-30[kernel] 将rt_thread_timeout设置为私有函数Meco Man
2021-12-22[kservice] implement rt_strcpy()Meco Man
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-11-24Merge pull request #5261 from mysterywolf/weakBernard Xiong
[kernel] prepare to support full functional sprintf-family functions
2021-11-16将返回值类型由signed int改为int,符合ISO ↵Meco Man
C标准,防止编译器报错
2021-11-14implement legacy supportMeco Man
2021-10-13修改size_t为rt_size_tmazhiyuan
2021-10-12fixed bug #5138Meco Man
2021-09-14Merge branch 'RT-Thread:master' into rtusingheapMeco Jianting Man
2021-08-23Remove C Style Command Shell马志远
2021-07-05调整代码,以支持cpu usagefenghuijie
2021-07-03[kernel] remove switchto_sethookBernard Xiong
2021-07-03添加idle回收资源的修改fenghuijie
2021-06-24Merge pull request #4796 from mysterywolf/__CLANG_ARMBernard Xiong
将defined(__CC_ARM) || defined(__CLANG_ARM) 改为 ifdef __ARMCC_VERSION
2021-06-17[rtthread.h] 移除rt_sscanf声明Meco Man
2021-06-13将defined(__CC_ARM) || defined(__CLANG_ARM) 改为 ifdef __ARMCC_VERSIONMeco Man
2021-05-30[kernel] 增加rt_mutex_trytakeMeco Man
2021-05-29[revert] remove rt_thread_exitMeco Jianting Man
2021-05-28[kernel] rtthread.h 增加#ifdef RT_USING_HEAP 预编译Meco Man
2021-04-02Merge pull request #4396 from mysterywolf/kserviceBernard Xiong
[kernel] add RT_KSERVICE_USING_STDLIB
2021-03-19[kernel][device] remove rt_device_init_all()Meco Man
2021-03-08[include] auto formattedMeco Man
2021-03-01修改拼写错误Meco Man
2021-02-28updateMeco Man
2021-02-28add RT_KERVICE_USING_STDLIBMeco Man
2020-12-30updateMeco Man
2020-11-23【优化】在代码中移除 rt_system_object_init/rt_system_tick_init ↵guozhanxin
的调用。
2020-04-10[Kernel] Add rt_object_get_length/rt_object_get_pointers APIs.Bernard Xiong
2020-03-24fix return type error of rt_strcasecmp: rt_uint32_t to rt_int32_tlihui
Signed-off-by: lihui <[email protected]>