Commit Graph

350 Commits

Author SHA1 Message Date
mysterywolf 98f0cfbf6e define maximum value of ipc type 2020-10-23 01:04:06 +08:00
mysterywolf c7aa6f0619 [fix bug] #3902 2020-10-02 12:00:52 +08:00
mysterywolf ff097f0467 增加 __GNUC__宏定义 和sconscript的平台识别以避免重复定义 2020-09-08 13:16:49 +08:00
mysterywolf 0eadf69f81 增加rtconfig.h头文件 2020-09-06 12:31:42 +08:00
mysterywolf 0d7d1fbbf7 修改include/libc头文件版权信息格式 2020-09-05 22:05:16 +08:00
mysterywolf 443978eb78 增加RT_USING_POSIX_GETLINE用于单独控制是否启用getline函数,并修改Kconfig增加对应选项 2020-09-05 19:47:34 +08:00
mysterywolf cf00e7f0a1 增加 RT_USING_POSIX 2020-09-05 18:10:30 +08:00
mysterywolf d5d8b345f4 修改libc_signal.h 该文件中不能用rt_数据类型,否则会引起编译器递归编译 2020-09-05 16:59:53 +08:00
mysterywolf 6fa049ee3d add libc_stdio.h 2020-09-05 16:21:00 +08:00
mysterywolf 74ab1551fd add posix 2008 limit.h 2020-09-05 16:14:21 +08:00
Meco 5e92521e0d struct rt_device_ops 结构体增加宏定义 2020-08-10 04:35:08 +08:00
chenchaoqun 224c3224c7 [format] enumeration define two styles: define first or all. 2020-07-27 14:11:35 +08:00
Bernard Xiong fe2e9e924e [libc] fix 64bit issue for pthreads 2020-06-06 13:21:32 +08:00
Bernard Xiong 310517b818 [Kernel] Code cleanup 2020-04-10 00:02:57 +08:00
Bernard Xiong b1eb3943a3 [Kernel] Add rt_object_get_length/rt_object_get_pointers APIs. 2020-04-10 00:01:58 +08:00
Bernard Xiong c1a3de7b8a
Merge pull request #3478 from SummerLife/optimize_uart
[stm32/driver] optimize uart driver
2020-03-26 22:04:45 +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
SummerGift e5c1183350 [optimize] stm32 uart driver 2020-03-23 15:44:54 +08:00
armink c2f15ae1cc [rtdbg] Add for cpp support. 2020-02-26 10:01:49 +08:00
longtengmcu 720d8479a5 给软件定时器增加定时器工作状态查询的功能 2020-02-07 16:43:39 +08:00
Bernard Xiong 64945ba882
[Kernel] Update version number. 2019-12-20 08:24:45 +08:00
Bernard Xiong 01fa184f9a
Merge pull request #3275 from BernardXiong/delayUtil
Delay until
2019-12-19 11:04:40 +08:00
Bernard Xiong 2c1f7b73a7 [Kernel] fix typo in rthread_delay 2019-12-19 09:45:58 +08:00
Bernard Xiong b5e4aa58e0 [Kernel] Fix the signal compiling issue when using minilibc 2019-12-18 23:06:36 +08:00
Bernard Xiong 4a14b8f59a [Kernel] Add delay_util implementation. 2019-12-18 21:38:26 +08:00
Bernard Xiong 992d3af3ae [kernel] code and comments cleanup 2019-12-16 13:59:46 +08:00
Bernard Xiong da7751c044
Merge pull request #3129 from jesven/fix_same_prio
修正相同优先级任务切换太频繁的问题
2019-11-12 22:47:18 +08:00
shaojinchun e03ac83ad3 将yield状态置于tcb的stat位域中 2019-11-05 08:41:38 +08:00
Dryad baeda71eaa 修复了g++编译器无法展开自动初始化宏的错误 2019-10-28 10:38:05 +08:00
shaojinchun 234af6aaa2 修正相同优先级任务切换太频繁的问题 2019-10-12 10:51:47 +08:00
Bernard Xiong 5cd6509296 [Kernel] cleanup code of spinlock in SMP Kernel 2019-09-28 11:56:03 +08:00
shaojinchun cb07e5fb24 开放spinlock相关函数 2019-09-27 14:38:33 +08:00
tangyuxin e4671d2916 [kernel][ipc] add send wait support for message queue 2019-09-19 10:10:02 +08:00
Bernard Xiong ae7a33c27c
Merge pull request #3077 from jesven/fix_mempool
修正rt_mp_free有可能唤醒一个错误任务指针的问题
2019-09-17 14:11:14 +08:00
shaojinchun ae1fdc70f0 修正rt_mp_free有可能唤醒一个错误任务指针的问题 2019-09-16 16:55:40 +08:00
zhangjun b69ce64286 改回O_DIRCTORY与O_NONBLOCK,解决O_DIRCOTY与newlib中O_BINARY的相同定义 2019-08-20 09:16:42 +08:00
zhangjun 00d7cd66f2 fixup two macro definition in include/libc/libc_fcntl.h 2019-08-10 16:32:31 +08:00
tyx c8e27adf1f [src][ipc]完善 message queue 相关定义 2019-07-09 21:34:56 +08:00
tyustli 89b90592ee add touch framework 2019-06-12 09:38:32 +08:00
Bernard Xiong b4e141fee1
Update rtdef.h 2019-05-17 08:34:10 +08:00
Bernard Xiong bb506e8493 [pthreads] Add spinlock declare and fix code issue. 2019-05-12 21:44:28 +08:00
shaojinchun c5249157d7 增加signal的状态位说明及一处代码修改,以防止编译警告 2019-05-11 09:35:26 +08:00
shaojinchun 6cdfb2ac92 fix signal code 2019-05-11 09:34:26 +08:00
Bernard Xiong 21cd524bdb [Kernel] Fix the SPINLOCK definitions issue. 2019-05-09 08:48:38 +08:00
shaojinchun 7bcee9bcb1 semaphore结构中value仍改为uint16_t,加入对其设置范围的检测,加入对齐变量 2019-04-24 09:14:00 +08:00
shaojinchun fa697a763f 修改sem中的value成员变量和赋值参数类型相同 2019-04-19 14:57:50 +08:00
yangfasheng fde1346d5b add RTGRAPHIC_PIXEL_FORMAT_COLOR to graphic deice
Signed-off-by: yangfasheng <yangfasheng@live.com>
2019-04-14 13:33:29 +08:00
armink 35bb75b96b [rtdbg] Simplify the debug tag and level macro to DBG_TAG and DBG_LVL. 2019-04-12 10:17:22 +08:00
MurphyZhao 5885fc414f [include/libc] 在使用 ARMCC 和 IAR 时,移除对 errno.h 的引入。如果引入了 errno.h,errno 就不会被重定向到 _rt_errno。
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-04-11 14:27:16 +08:00
BernardXiong 1487a4f732 [Kernel] Support ARCH data types definitions 2019-03-26 01:03:39 +00:00