Meco Man
c6c1544c84
implement legacy support
2021-11-14 23:51:05 -05:00
Meco Man
f8388c572e
add RT_USING_POSIX_STDIO
2021-11-07 23:41:16 -05:00
Meco Man
f7548b934e
[posix][dfs] move dfs_posix dfs_poll dfs_select.c to posix folder
2021-10-21 19:05:53 -04: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
armink
a4619732df
[DeviceDriver] Change the special device commands form 0x1X to 0x2X. It will avoid same of general device commands.
2021-09-29 17:15:40 +08:00
Meco Jianting Man
717120549d
Merge branch 'RT-Thread:master' into rtusingheap
2021-09-14 10:30:51 -05:00
Bernard Xiong
8da9f78d72
[libc] remove rtlibc
2021-09-11 11:07:51 +08:00
Meco Man
aab382c32e
[rtlibc] remove libc_dirent.h
2021-08-30 22:39:14 -04:00
马志远
221da7f464
Remove C Style Command Shell
2021-08-23 17:30:05 +08:00
Man, Jianting (Meco)
3e6578916f
Merge branch 'master' into security
2021-08-17 16:56:10 -05:00
lymzzyh
1e51b40d57
Add device type USBOTG to redef.h
2021-08-13 16:29:37 +08:00
Meco Man
fc094e9211
[rtlibc] remove libc_signal.h and libc_fdset.h
2021-07-21 19:42:38 +08:00
guozhanxin
40e7d5a23d
Merge remote-tracking branch 'remotes/gitee/master'
2021-07-12 10:14:20 +08:00
iysheng
a2a7f3c2d9
[components][rtc] Add RTC framework V2.0 to simplify RTC registration process
2021-07-08 22:41:06 +08:00
fenghuijie
0015af02e4
调整代码,以支持cpu usage
2021-07-05 18:33:22 +08:00
fenghuijie
e933c1f610
调整异常处理代码结构,以支持backtrace功能
2021-07-05 14:43:33 +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
43a80193c4
[rtlibc] remove libc_stdio.h
2021-06-21 21:59:48 +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 Jianting Man
4fd4074617
Merge branch 'RT-Thread:master' into ioctl
2021-06-13 16:19:59 +08:00
guo
b516cbd2ae
Merge pull request #4790 from mysterywolf/errno
...
[master][rtlibc] remove libc_errno.h & libc_limits.h
2021-06-13 09:36:29 +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
Meco Man
0e32728a5d
[libc][rtlibc] remove libc_ioctl.h
2021-05-23 00:17:08 +08:00
Meco Man
a5f7635f31
remove libc_errno.h & libc_limits.h
2021-05-22 02:50:35 +08:00
armink
c61419b69b
Update the version number to 4.0.4
2021-05-10 09:10:54 +08:00
Meco Man
40c09fc1e0
重新分类为common文件夹下属all文件夹和excgcc文件夹
2021-04-21 00:56:36 +08:00
Meco Man
9d401ea8b0
重新整理libc重复共用文件,创建common_for_all 和 common_for_keiliar
2021-04-18 00:51:07 +08:00
Meco Man
8e2a456d7a
implement set_timeval
2021-04-15 14:01:55 +08:00
armink
b027ad8b2e
[DeviceDriver] Add get/set microsecond time control command
2021-04-14 20:06:39 +08:00
Bernard Xiong
a98d81ab9f
Merge pull request #4559 from enkiller/0220-1044
...
[bsp][simulator] 支持自动初始化及用户 main 入口
2021-04-02 18:37:29 +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
tangyuxin
015418fa9b
[bsp][simulator] 支持自动初始化及用户 main 入口
2021-04-01 17:01:14 +08:00
crazt
7272da20c2
[toolchain] fix TASKING toolchain attributes .
2021-03-23 19:11:22 +08:00
crazt
2517907b48
[toolchain] TASKING toolchain attributes update.
2021-03-20 10:42:47 +08:00
Meco Man
37a9231e62
[kernel][devices] add security devices
2021-03-19 13:26:12 +08:00
Meco Man
846102efa1
[kernel][device] remove rt_device_init_all()
2021-03-19 03:01:07 +08:00
Bernard Xiong
b9fca2fced
Merge pull request #4411 from yangfasheng/master
...
【更新】调整图形设备驱动相关定义
2021-03-12 08:32:46 +08:00
iysheng
f3283ff8df
[rtdbg] Fix compile error when using LOG_HEX(...) function but RT_USING_ULOG not defined
2021-03-11 14:22:29 +08:00
Meco Man
2fd265406e
[include] auto formatted
2021-03-08 17:22:21 +08:00
yangfasheng
2892faccc8
【更新】调整图形设备驱动相关定义
...
Signed-off-by: yangfasheng <yangfasheng@live.com>
2021-03-05 10:08:49 +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
cliff-cmc
eea0c3d74a
Add memtrace command for memheap.c
2021-02-26 11:45:19 +08:00
liruncong
f5ede64c83
[include]SECTION=>RT_SECTION(与catch2中SECTION冲突)
2021-02-09 23:25:16 +08:00
tangweikang
b1cdc3a2cb
[toolchain] Added support for the TASKING toolchain.
2021-02-07 12:06:02 +08:00
Meco Man
11fc8d27c1
re-format libc_ioctl.h
2021-01-01 17:00:52 +08:00
Meco Man
63cd26b0d1
update
2020-12-30 16:32:20 +08:00
Meco Man
c2e15e003c
add function rt_hw_1ms_tick_get()
2020-12-29 00:08:24 +08:00
guozhanxin
a22decb71b
【优化】在代码中移除 rt_system_object_init/rt_system_tick_init 的调用。
2020-11-23 11:39:38 +08:00
Bernard Xiong
065488e746
Merge pull request #3956 from xfwangqiang/gcc-fix
...
[Components]&&[BSP][imxrt]add ethernet configuration for imxrt1064-nxp-evk
2020-11-13 07:10:16 +08:00
mysterywolf
98f0cfbf6e
define maximum value of ipc type
2020-10-23 01:04:06 +08:00
WangQiang
502378cf93
1. 抽象了PHY的设备模型,在components中增加了PHY设备的相关代码以及KCONFIG配置和SConscript脚本
...
2. 在IMXRT的Libraries中增加了peripherals目录,用于具体型号的设备驱动相关的代码的实现,不应与MCU的平台相关,实现PHY的设备对象中的相关接口。
3. 修改了BSP中的Sconstruct文件,增加了peripherals目录的构建
4. 修改了KEIL环境的SCT文件,用于实现以太网功能
2020-10-12 19:17:00 +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
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
armink
7f3f8d8352
Update the rtdbg.h for ulog enable.
2019-03-09 13:43:35 +08:00
armink
8fa6c1d9cd
Remove dbg_enter and dbg_exit macro.
2019-03-06 18:02:29 +08:00
armink
0d7ba79219
Remove the DBG_COLOR and DBG_ENABLE definition.
2019-03-06 17:54:30 +08:00
MLW
b7e672e096
修复libc_errno.h的bug
2019-03-02 15:12:46 +08:00
guozhanxin
64813b6b07
add first version
2019-02-12 14:09:34 +08:00
Bernard Xiong
d68c0f225d
Update rtdef.h
...
Update version number to v4.0.1
2019-01-27 21:58:07 +08:00
Bernard Xiong
137ed381c7
Merge pull request #2123 from jesven/fix_list_thread
...
修正list_thread关中断时间过长的问题
2018-12-27 17:16:32 +08:00
shaojinchun
ed9a558da9
list_*时,提供对第一层object的原子保护
2018-12-27 16:31:22 +08:00
Bernard Xiong
96e6deac29
[Kernel] Fix the errno definitions in armcc/iar.
2018-12-27 09:11:07 +08:00
Bernard Xiong
9834fd858c
Merge pull request #2122 from dogandog/patch-4
...
Update rtservice.h
2018-12-26 13:03:43 +08:00
Owen
66cf4b9cf0
Update rtservice.h
...
更正为正确的Doxygen组定义语法
2018-12-26 10:16:04 +08:00
Owen
e716bbfa22
Update rtdef.h
...
更正为正确的Doxygen组定义语法
2018-12-26 10:13:26 +08:00
Bernard Xiong
a74a3031f0
Merge pull request #2081 from jesven/sync_smp_skeleton
...
Sync smp skeleton
2018-12-18 14:02:04 +08:00
shaojinchun
eff767a074
remove rt_hw_mb define
...
sync smp skeleton
2018-12-17 11:02:09 +08:00
shaojinchun
f5426f4a86
1 增加了bsp数据屏障接口函数 rt_hw_mb()
...
2 去除在secondary_cpu_c_start重复了的IPI handler的注册
2018-12-13 09:49:15 +08:00
shaojinchun
b3e1507bcf
1 RT_THREAD_CTRL_BIND_CPU define to 4
...
2 RTM_EXPORT(rt_cpus_lock_status_restore)
3 sync ARCH_CPU_STACK_GROWS_UPWARD in _rt_scheduler_stack_check()
2018-12-12 09:36:39 +08:00
liruncong
fe24d089f8
[include]rt_hw_interrupt_install函数name参数增加const限定
2018-12-05 20:34:19 +08:00
chenchaoqun@rt-thread.com
a0ef72ee93
[unite] header of process
2018-11-24 14:14:39 +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
Bernard Xiong
c8d38b79ff
Update rtdef.h
2018-11-18 08:59:48 +08:00
Bernard Xiong
8a3cfe09b7
Update rtdef.h
2018-11-18 08:59:29 +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
e108dfe4a5
[libc] Fix the _EXFUN issue in newlib
2018-11-10 16:58:07 +08:00
armink
29dd96ec35
[rtdbg] Add ulog compatible with rtdbg.
2018-10-31 10:57:52 +08:00
Bernard Xiong
484afe9d2c
[Kernel] Add 64bit CPU support.
2018-10-26 06:35:42 +08:00
Bernard Xiong
d23a65d54e
Merge branch 'master' into dev-4.0.x
2018-10-25 21:42:47 +08:00
Bernard Xiong
20bc91d25f
[license] Change license to Apache.
2018-10-14 19:38:52 +08:00
Bernard Xiong
4660882320
[Kernel] Change number to v4.0.0
2018-10-13 09:36:23 +08:00
Bernard Xiong
b98a0ba804
[Kernel] Add ARMCC 6.x support.
2018-09-23 12:08:44 +08:00
Bernard Xiong
41f7f2c284
[Kernel] Update to Apache License v2.0
...
Update license for RT-Thread kernel.
2018-09-14 22:37:43 +08:00
armink
a969b7096f
[slist] Add rt_slist_tail and rt_slist_tail_entry for slist.
2018-09-11 20:06:40 +08:00
armink
aa8ff55bbb
[rtdbg] Change all level sequence. The most urgent log level (error) using 0.
2018-09-11 18:26:28 +08:00
armink
3dea90eaf9
[rtdbg] Optimize footprint for rtdbg log.
2018-09-06 09:50:18 +08:00
Bernard Xiong
95c36f32e2
Update rtdef.h
2018-09-04 07:01:39 +08:00
Bernard Xiong
ab1a220eae
[components] Remove lwP from v3.1.0
2018-09-01 12:03:32 +08:00
Bernard Xiong
07ec7e686d
Merge pull request #1754 from liangyongxiang/rt-used
...
add RT_USED to component init and finsh shell
2018-08-31 18:41:44 +08:00
liang yongxiang
0aa03dd731
[kernel] add RT_USED to INIT_EXPORT, so that the initialization function is not deleted when it is linked.
2018-08-31 15:01:04 +08:00
Bernard Xiong
efe4523132
[Kernel] move module tolibc/libdl.
2018-08-30 20:27:45 +08:00
heyuanjie
2373a9c7be
添加lwp类型声明
2018-07-31 10:38:26 +08:00
heyuanjie
c79fbd373f
[lwp]给thread添加lwp成员
2018-07-30 11:12:12 +08:00
chenyong
a862619490
[net][sal] Remove SAL_USING_POSIX dependence for lwIP stack.
2018-07-26 11:57:20 +08:00
armink
81a0782568
[rtdbg] Update default section name to "DBG".
2018-07-19 18:04:02 +08:00
chenyong
8cda48a132
[net][sal] Add SAL (socket abstraction layer) framework
2018-07-18 13:34:13 +08:00
Bernard Xiong
6964d623aa
[Kernel] Add strdup for armcc
2018-07-15 16:03:40 +08:00
Bernard Xiong
b0dbdf4289
Merge pull request #1621 from armink/fix_idle_hook
...
[idle] Add idle hook list.
2018-07-14 15:20:59 +08:00
Bernard Xiong
1758f5773e
Merge pull request #1617 from armink/fix_rtdbg
...
Fix rtdbg
2018-07-14 06:46:50 +08:00
armink
e9c165034e
[kernel][idle] Add idle hook list.
2018-07-13 10:02:27 +08:00
Bernard Xiong
44712ba2cf
Merge pull request #1611 from TanekLiang/add-more-assert
...
add more assert for object check
2018-07-11 21:38:31 +08:00
Lynx Zhou
754b363839
Add list iterators over list elements
...
Address the comments from armink@rt-thread
2018-07-11 17:14:44 +08:00
liang yongxiang
7b984c2f54
[kernel] add rt_object_get_type() function who return type of object without static flag
2018-07-11 14:48:32 +08:00
armink
541925195f
[rtdbg] Update dbg log header format.
2018-07-11 10:17:34 +08:00
armink
9ec76e302d
[rtdbg] Add LOG_RAW and dbg_raw API to rtdbg.h .
2018-07-11 10:15:46 +08:00
Lynx Zhou
3b9dfc6aed
Add list iterators over list elements
...
Some non-gnu toolchains don't support gnu C extended keyword "typeof", like MDK (if no "gnu" option) and IAR, in this case we can provide list element manipulation macro functions to iterate over the list.
2018-07-04 15:50:31 +08:00
Bernard Xiong
f0f883668c
Merge pull request #1579 from RT-Thread/fix_waitqueue
...
Fix waitqueue issue
2018-06-29 13:19:16 +08:00
Bernard Xiong
497a2dd02c
[Kernel] Remove the restriction of waitqueue
...
Remove the restriction of RT_USING_POSIX for waitqueue structure.
2018-06-29 12:18:37 +08:00
armink
aa12d66b30
[rtservice] Add `rt_slist_first` and `rt_slist_next` API to slist.
2018-06-27 13:05:50 +08:00
Bernard Xiong
ef132f3c94
[Kernel] clean code for indentation.
2018-06-26 11:57:20 +08:00
Bernard Xiong
a1a56ce1d1
[Kernel] Add flag in wait queue and fix wakeup issue.
2018-06-26 11:19:38 +08:00
Bernard Xiong
884fb70fe9
[Kernel] Add device ops feature.
2018-06-10 17:59:17 +08:00
Bernard Xiong
44cffcf9ac
Update rtdef.h
2018-05-31 18:05:43 +08:00
armink
72316a6e6d
[rtdbg] Update some comments on rtdbg.h.
2018-05-28 09:29:49 +08:00
armink
67188c8692
[rtdbg] Add simple API to rtdbg.h. Such as LOG_D, LOG_E.
2018-05-25 16:18:28 +08:00
bupleurum
3af13de6a5
Update rtservice.h
2018-05-21 19:41:13 +08:00
Bernard Xiong
6ac213d622
Add GCC version detection.
...
Add cconfig.h file for different version of GCC, which is automatically
detected and generated by scons script.
2018-05-14 21:37:11 +08:00
heyuanjie
93afe69c90
添加mdelay接口
2018-05-12 12:08:47 +08:00
ZHANG Jinglong
e3df19fde5
correct a spelling error
2018-05-04 23:10:35 +08:00
Bernard Xiong
7b9de446cb
Update rtdef.h
2018-04-25 06:02:21 +08:00
armink
c6e928a780
[Libc] Update struct stat on libc_stat.h .
2018-03-20 17:51:12 +08:00
Bernard Xiong
f9a7ba050a
[finsh] convert tab to space and split export API to finsh_api.h
2018-03-01 21:01:20 +08:00
Bernard Xiong
15fa3084c3
[Kernel] include finsh.h file in rtthread.h when RT_USING_FINSH enable
2018-03-01 18:12:49 +08:00
BernardXiong
38b9ed3118
[Kernel] add sigwait implementation
2018-03-01 13:36:22 +08:00
Bernard Xiong
4007bf99ff
[Kernel] Change version number.
2018-02-24 09:20:03 +08:00
BernardXiong
011eb615bc
[Kernel] Correct the comments of DBG_ENABLE macro.
2018-02-11 13:56:30 +08:00
Bernard Xiong
40fc0fa50d
Update rtdebug.h
2018-02-09 16:58:20 +08:00
Bernard Xiong
484b667d7d
[libc] Add O_BINARY definition
2018-02-09 09:30:32 +08:00
Bernard Xiong
4e41b0573b
[libc] fix the fcntl issue in newlib
2018-02-07 19:55:35 +08:00
BernardXiong
4bc082e7cb
[libc] move `struct sigevent` to libc_signal.h file.
2017-12-31 14:48:54 +08:00
BernardXiong
5a95d35626
[DFS] Add fcntl API (same with ioctl in RT-Thread).
2017-12-31 14:46:24 +08:00
bernard
6c7150a5fc
[Kernel] code cleanup for signal.
2017-12-30 14:46:51 +08:00
Bernard Xiong
e3dd653ed4
Update rtdef.h
2017-12-27 20:38:43 +08:00
Bernard Xiong
8ff8436fcd
[Kernel] Add device_create/destroy api
2017-12-24 00:06:29 +08:00
bernard
9644678dcb
[libc] include <sys/select.h> when enable HAVE_SYS_SELECT_H
2017-12-22 14:46:45 +08:00
Bernard Xiong
b4cfa4db09
Merge pull request #1104 from JasonJiaJie/master
...
[list]1.Modify rt_slist_foreach to rt_slist_for_each_entry. 2.Add rt_sllist_isempty. 3.Make code cleanup.
2017-12-15 07:37:45 +08:00
bernard
c4b6fa7978
[libc] Add stat definitions for WIN32.
2017-12-14 10:47:07 +08:00
JasonJiaJie
e9b846d119
[list]1.Modify rt_slist_foreach to rt_slist_for_each_entry. 2.Add rt_sllist_isempty. 3.Make code cleanup
...
1.Modify rt_slist_foreach to rt_slist_for_each_entry. 2.Add rt_sllist_isempty. 3.Make code cleanup
2017-12-14 09:28:10 +08:00
bernard
ae7237dc53
[BSP] Fix the WIN32 compiling issue.
...
rename _errno to __rt_errno for conflict in WIN32.
2017-11-30 23:56:52 +08:00
bernard
0d22872a13
[Kernel] Update version number to v3.0.1
2017-11-30 16:53:49 +08:00
weety
ed90b9d415
[RTSERVICE] Add rt_list_for_each_entry_safe macros definition.
2017-11-05 22:36:46 +08:00
bernard
6d9fcd04d2
[Kernel] Change the order of initialization.
...
1. Remove INIT_FS_EXPORT and change INIT_DEVICE_EXPORT as the first item
in the initalization thread.
2. Move the eth_system_device_init into INIT_PREV_EXPORT item.
2017-11-03 11:44:37 +08:00
tanek liang
909275b8a6
add cache definition
2017-11-01 21:23:14 +08:00
bernard
b3d872740b
[libc] Fix the typedef in minilibc.
2017-10-31 10:24:11 +08:00
bernard
7d673f921c
[libc] Adjust libc.
...
1. Move struct stat to libc_stat.h;
2. Defined a new FD_SET macros in libc_fdset.h.
2017-10-31 09:52:49 +08:00
bernard
0d45288f06
[libc] Add mode_t in rtlibc.h for Keil MDK/IAR.
2017-10-25 07:25:24 +08:00
yygg_you
2d0c10a0ca
修改simulator,匹配RTT 3.0
2017-10-20 13:26:47 +08:00
armink
d3ac388846
[rtservice] Add `rt_list_len` and `rt_slist_len` to rtservice.h .
2017-10-19 09:28:17 +08:00
bernard
7b2decbb7c
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
2017-10-18 17:27:54 +08:00
bernard
e4beb9c0f7
[Kernel] Add more setting checking for RT_USING_POSIX.
2017-10-18 17:27:48 +08:00
Bernard Xiong
97727dcc5e
Merge pull request #879 from hichard/renhaibo-branch
...
[Kernel] Add HWREG macro.
2017-10-18 09:27:50 +08:00
hichard
4b83744a6c
renhaibo-branch
2017-10-18 09:08:21 +08:00
bernard
8a38307e2c
[libc] Add RT_USING_POSIX macro.
...
1. Add macro check in rtdebug.h;
2. Use RT_USING_POSIX for poll/select, stdin etc.
3. Split dfs_posix.h to dfs_posix.h, dfs_poll.h and dfs_select.h;
2017-10-17 22:27:06 +08:00
bernard
947d8aa4d2
[libc] Use correct header file for newlib.
2017-10-17 22:24:40 +08:00
bernard
cd215b2545
[Kernel] header files
...
1. Remove components.h file;
2. Add libc_* files for standard libc definitions;
3. Add rtdbg.h file for simple debug log;
4. Add single list implementation;
5. Change the 'rt_uint8_t' type of cmd to 'int'.
2017-10-15 22:30:05 +08:00
Bernard Xiong
a6a5dbd64e
Change version to v3.0.0
...
The master branch will be frozen util v3.0.0 updated.
2017-10-10 09:10:16 +08:00
geniusgogo
85cc2dab69
Update rtdef.h
2017-09-18 16:31:14 +08:00
geniusgogo
ed08b32dd3
convert tab to space
2017-09-18 16:30:28 +08:00
geniusgogo
2aae989f40
Merge branch 'master' into RT_MACRO
2017-09-18 16:27:20 +08:00
xieyangrun
6b06cb83e3
rename WEAK to RT_WEAK
2017-09-18 11:32:13 +08:00
emlslxl
e521decf2e
根据documentation/coding_style_cn.txt约定 对内核src和include目录下的文件代码进行格式化
2017-09-15 11:02:24 +08:00
tanek liang
9f2f2f0875
Add RT_USED definition for IAR
2017-08-25 22:22:35 +08:00
bernard
0acf441836
Fix compiling warning for Win32.
2017-06-06 23:34:01 +08:00
Bernard Xiong
02607c85ac
[GUI Engine] change directory for image and font.
2017-06-05 17:36:45 +08:00
geniusgogo
387bbcc44f
Update rtthread.h
2017-05-23 00:01:05 +08:00
Bernard Xiong
462885e6f1
[Kernel] rename list_for_each/list_first_entry.
2017-04-09 19:13:21 +08:00
Bernard Xiong
b1f1536688
[kernel] Add thread_inited_hook.
2017-04-09 19:12:53 +08:00
bernard
6b18346199
[Kernel] Add RTGRAPHIC_PIXEL_FORMAT_ALPHA definition.
2017-01-31 13:18:39 +08:00
bernard
2ce7382534
[Kernel] Add rt_kputs routine.
2017-01-31 13:18:20 +08:00
dogandog
d507755bd8
Update rtthread.h
...
Correct comments about doxygen format
2016-08-19 09:56:03 +08:00
ArdaFu
189e9b9632
[Kernel] add new hooks for support trace componment.
2016-08-09 11:29:11 +08:00
weety
62e770f9de
Fixed 64KB stack size limit.
2016-05-31 20:39:33 +08:00
Bernard Xiong
bb1cb89b52
[Kernel] Add list_for_each_entry and list_frist_entry routine.
...
committed by FH.
2016-05-20 12:24:08 +08:00
FlyLu
0b3dd47347
修正ramfs.h中防止重复包含的宏定义名称
...
修正components.h中使能RT_USING_DFS_RAMFS宏时,加入ramfs.h头文件
2016-02-20 14:53:39 +08:00
Bernard Xiong
7dfac0f78e
rename .name section to .rodata.name section
2015-09-15 12:11:07 +00:00
heyuanjie87
8f9bda579a
定义Timer设备类
2015-09-06 15:18:15 +08:00
heyuanjie87
c84887d021
加入定时器设备
2015-09-02 22:00:24 +08:00
Bernard Xiong
dc194cd7b6
[Kernel] Add .name section for exported symbols.
2015-09-02 12:09:46 +08:00
Bernard Xiong
fc54a74abb
[BSP] stm32f7-disco cleanup
2015-08-09 09:17:28 +08:00
Bernard Xiong
266496cef3
[Kernel] Use rt_assert_handler() function to handle assertion.
2015-08-03 16:07:30 +08:00
Bernard Xiong
abd19b8dd7
[Kernel] More better support for module.
2015-08-03 16:02:24 +08:00
ardafu
667c03db97
[FINSH] Add macro MSH_CMD_EXPORT_ALIAS
2015-07-31 11:07:54 +08:00
armink
892eac2cce
[kservice]add hook for RT_ASSERT
2015-06-11 10:59:25 +08:00
prife
1b1908b35d
[kservice] fix rt_strcmp/strncmp/strlen prototype
2015-05-20 20:40:57 +08:00
Bernard Xiong
1377022b18
[DFS] Use SConscript of each file system to build.
2015-04-03 14:26:18 +00:00
Bernard Xiong
6c83ff6eca
Merge remote-tracking branch 'coding/master'
2015-03-31 07:03:22 +00:00
Bernard Xiong
81c4f43109
Merge remote-tracking branch 'upstream/master'
2015-03-31 07:02:05 +00:00
Aubr.Cool
7caabd2b7a
mv device ctl cmd macros from serial.h to rtdef.h
2015-03-26 08:40:36 +08:00
Bernard.Xiong
62a0172d11
[Kernel] Fix the system initialization link issue
2015-03-22 09:06:48 +08:00
Bernard Xiong
fbd620a7f4
[Kernel] Move the components initailzation to the kernel
2015-02-25 10:50:21 +08:00
Bernard Xiong
204298c1b2
Update rtdef.h
2015-02-02 13:22:38 +08:00
pangweishen
675fa48281
modified the comments of block device geometry structure, to tell everyone the unit of block_size is byte.
2014-11-04 10:16:54 +08:00