tyustli
5178e7ec0b
[add] src/clock.c add hook for rt_tick_increase ( #5569 )
...
* [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 <guozhanxin@rt-thread.com>
2022-02-13 14:50:51 +08:00
Meco Man
dd62b2b106
[kservice] 增加RT_KSERVICE_USING_STDLIB_MEMSET RT_KSERVICE_USING_STDLIB_MEMCPY
2022-01-09 00:23:18 +08:00
tangyuxin
09f439bcc2
[memheap] Fix 64 bit potential risk
2022-01-08 15:50:14 +08:00
balanceTWK
2babae231f
[include/rtthread.h] Add function declarations to avoid compilation warnings.
2022-01-03 22:30:45 +08:00
Bernard Xiong
634a06c3cb
Revert "[kernel] Add __attribute__(...) for rt_kprintf() to let the compiler check the format string parameters"
...
This reverts commit d2e6715ddb
.
2021-12-30 09:06:46 +08:00
Bernard Xiong
2fa1a93497
Revert "Add support for IAR Compiler"
...
This reverts commit ead24644f0
.
2021-12-30 09:06:46 +08:00
weycen
ead24644f0
Add support for IAR Compiler
2021-12-30 01:42:57 +08:00
weycen
d2e6715ddb
[kernel] Add __attribute__(...) for rt_kprintf() to let the compiler check 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 01:42:57 +08:00
Meco Man
e6cd32a1ad
[kernel] 将rt_thread_timeout设置为私有函数
2021-12-30 01:30:21 +08:00
Meco Man
457348e21a
[kservice] implement rt_strcpy()
2021-12-22 13:04:45 +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
Bernard Xiong
6a6b43fe3e
Merge pull request #5261 from mysterywolf/weak
...
[kernel] prepare to support full functional sprintf-family functions
2021-11-24 17:38:15 +08:00
Meco Man
5e19b71eca
将返回值类型由signed int改为int,符合ISO C标准,防止编译器报错
2021-11-16 03:41:26 -05:00
Meco Man
c6c1544c84
implement legacy support
2021-11-14 23:51:05 -05:00
mazhiyuan
d006905c88
修改size_t为rt_size_t
2021-10-13 16:23:06 +08:00
Meco Man
663991897b
fixed bug #5138
2021-10-12 21:47:57 -04:00
Meco Jianting Man
717120549d
Merge branch 'RT-Thread:master' into rtusingheap
2021-09-14 10:30:51 -05:00
马志远
221da7f464
Remove C Style Command Shell
2021-08-23 17:30:05 +08:00
fenghuijie
0015af02e4
调整代码,以支持cpu usage
2021-07-05 18:33:22 +08:00
Bernard Xiong
3dfebe337a
[kernel] remove switchto_sethook
2021-07-03 18:48:15 +08:00
fenghuijie
05bb1a50b0
添加idle回收资源的修改
2021-07-03 17:54:58 +08:00
Bernard Xiong
8a23d0ccf2
Merge pull request #4796 from mysterywolf/__CLANG_ARM
...
将defined(__CC_ARM) || defined(__CLANG_ARM) 改为 ifdef __ARMCC_VERSION
2021-06-24 21:05:05 +08:00
Meco Man
41875c17ff
[rtthread.h] 移除rt_sscanf声明
2021-06-17 23:20:44 +08:00
Meco Man
921e606426
将defined(__CC_ARM) || defined(__CLANG_ARM) 改为 ifdef __ARMCC_VERSION
2021-06-13 17:36:42 +08:00
Meco Man
8b82b83482
[kernel] 增加rt_mutex_trytake
2021-05-30 11:47:33 +08:00
Meco Jianting Man
393d7f4479
[revert] remove rt_thread_exit
2021-05-29 16:37:52 +08:00
Meco Man
99f57bcd00
[kernel] rtthread.h 增加#ifdef RT_USING_HEAP 预编译
2021-05-28 22:46:49 +08:00
Bernard Xiong
c3978ed9ce
Merge pull request #4396 from mysterywolf/kservice
...
[kernel] add RT_KSERVICE_USING_STDLIB
2021-04-02 18:24:25 +08:00
Meco Man
846102efa1
[kernel][device] remove rt_device_init_all()
2021-03-19 03:01:07 +08:00
Meco Man
2fd265406e
[include] auto formatted
2021-03-08 17:22:21 +08:00
Meco Man
58f000bdce
修改拼写错误
2021-03-01 23:58:04 +08:00
Meco Man
ced9b44e63
update
2021-02-28 19:05:14 +08:00
Meco Man
00cebaacac
add RT_KERVICE_USING_STDLIB
2021-02-28 05:07:02 +08:00
Meco Man
63cd26b0d1
update
2020-12-30 16:32:20 +08:00
guozhanxin
a22decb71b
【优化】在代码中移除 rt_system_object_init/rt_system_tick_init 的调用。
2020-11-23 11:39:38 +08:00
Bernard Xiong
b1eb3943a3
[Kernel] Add rt_object_get_length/rt_object_get_pointers APIs.
2020-04-10 00:01:58 +08:00
lihui
d0ebdc54d4
fix return type error of rt_strcasecmp: rt_uint32_t to rt_int32_t
...
Signed-off-by: lihui <leehui_hrbeu71102@163.com>
2020-03-24 18:59:31 +08:00
Bernard Xiong
2c1f7b73a7
[Kernel] fix typo in rthread_delay
2019-12-19 09:45:58 +08:00
Bernard Xiong
4a14b8f59a
[Kernel] Add delay_util implementation.
2019-12-18 21:38:26 +08:00
Bernard Xiong
5cd6509296
[Kernel] cleanup code of spinlock in SMP Kernel
2019-09-28 11:56:03 +08:00
tangyuxin
e4671d2916
[kernel][ipc] add send wait support for message queue
2019-09-19 10:10:02 +08:00
tyx
c8e27adf1f
[src][ipc]完善 message queue 相关定义
2019-07-09 21:34:56 +08:00
HubretXie
1e16a1ef23
修改函数返回类型
...
rt_tick_from_millisecond返回类型修改为rt_tick_t
2019-03-20 14:55:59 +08:00
armink
b2c338970f
[kservice] Update the rt_strnlen function.
2019-03-09 15:46:56 +08:00
shaojinchun
fc6bc1ad39
Add smp support to RT-Thread 4.0
2018-11-22 18:16:47 +08:00
Bernard Xiong
46dae3f35f
Merge branch 'master' into dev-4.0.x
2018-11-20 23:13:45 +08:00
guozhanxin
d343c6578a
[kernel]Change 'rt_timer_timeout_hook' function to 'rt_timer_enter_hook' and add 'rt_timer_exit_hook' hook function.
2018-11-13 11:32:15 +08:00
Bernard Xiong
484afe9d2c
[Kernel] Add 64bit CPU support.
2018-10-26 06:35:42 +08:00
Bernard Xiong
20bc91d25f
[license] Change license to Apache.
2018-10-14 19:38:52 +08:00
Bernard Xiong
b98a0ba804
[Kernel] Add ARMCC 6.x support.
2018-09-23 12:08:44 +08:00