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
bernard
ceaf9cd3fa
Add WEAK definition; Add AUTO Refresh option for block device.
2014-06-26 14:47:31 +08:00
bernard
8bd3e6f6dc
[Kernel] Change command line to const parameter and add system() function.
2014-04-02 14:05:15 +08:00
Bernard Xiong
40b7eba446
[Kernel] Change the version number to 2.0.0.
2014-03-29 14:59:02 +08:00
bernard
dbcb4a1ccf
[Kernel] declare more APIs in module
2014-03-11 15:44:35 +08:00
bernard
27be3d9af4
Include rtconfig.h file in rtdebug.h file.
2014-01-26 20:32:44 +08:00
bernard
e601c2a6ed
Add sector size check when mounting a FAT file system.
2014-01-26 20:30:37 +08:00
bernard
8fdbb7c92b
[Kernel] Fix the compiling issue for not including rtconfig.h file in rtdebug.h/rtdef.h
2014-01-17 22:32:32 +08:00
Bernard Xiong
97508eb48e
Merge pull request #228 from prife/kernel
...
kernel: rearrange the header file include order
2014-01-11 03:58:10 -08:00
prife
86cdc22043
kernel: rearrange the header file include order
...
There are some CONFIG OPTIONS in rtdebug.h, which may influence the
rtdef.h, so rtdebug.h should be head of the rtdef.h
2014-01-11 16:50:53 +08:00
bernard
31446eab4c
[Kernel] application module can support arguments
2014-01-11 16:33:31 +08:00
bernard
e393b8fcfa
fix the FINSH_USING_SYMTAB not defined and compiling error issue
2014-01-04 06:03:24 +08:00
bernard
a5ba2a24f7
add file and path name auto completion for module shell
2014-01-01 21:45:09 +08:00
Grissiom
408ac34bc2
kernel: add rt_critical_level that return the lock count of scheduler
...
Out side world may be interested in whether the scheduler is locked or
not. Provide an API to tell that.
2013-12-21 11:27:26 +08:00
Bernard Xiong
3eac58ce8e
Merge pull request #173 from grissiom/new-timer
...
kernel: use skip list to implement timer list
2013-10-17 15:44:20 -07:00
prife
5641360b49
simulator: add createdef.py to generate def file for VS
...
Now we can get rid off Mingw to create def file. To create def file, one
should run:
scons --def
in the bsp/simulator.
2013-10-14 22:53:59 +08:00
Grissiom
d59aa279c3
kernel: use skip list to implement timer list
...
Skip list is a "random" data structure that in high possibilities it
would get O(log(N)) time complexity in inserting while the old list get
O(N). Forthermore, when set RT_TIMER_SKIP_LIST_LEVEL to 1, it will just
the same as the old double linked list, both in time and space
complexity.
Benchmarks shows that when RT_TIMER_SKIP_LIST_LEVEL is 3, the average
time of random insertion of new timer is about 2 times faster than the
old timer when there are 100 timers and 3 times faster when there are
200 timers.
However, it restores the deprecated funcion rt_system_timer_init. BSPs
must invoke it upon system startup.
2013-10-12 22:48:29 +08:00
Grissiom
c9b8b7465f
kernel: fix compiling error when RT_DEBUG is not defined
...
Define RT_DEBUG_IN_THREAD_CONTEXT when RT_DEBUG is not defined.
2013-10-12 10:58:56 +08:00
Grissiom
6f71308ef5
kernel: add RT_DEBUG_IN_THREAD_CONTEXT
...
In thread context means: 1) the scheduler has been started; 2) not in
interrupt context. It is more stronger than RT_DEBUG_NOT_IN_INTERRUPT.
With this commit, you will catch the error on situations like taking
mutex before scheduling instead of crashing on NULL pointer reference.
2013-10-11 22:51:38 +08:00
bernard
1ffb99e6f5
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
2013-10-10 00:22:59 +09:00
bernard
f1107f6714
add BGR565 definition
2013-10-10 00:22:11 +09:00
Grissiom
7b0a3afdf9
kservice: export vsnprintf as rt_vsnprintf
...
vsnprintf is a common string function that could be used in many places.
Using both vsnprintf in libc and vsnprintf in the RTT could make a
bigger image. Moreover, if newlib is not enabled when compiling with
GCC, referencing vsnprintf will lead to link error:
.../arm-none-eabi/lib/armv7-ar/thumb/softfp/libc.a(lib_a-sbrkr.o):
In function `_sbrk_r':
sbrkr.c:(.text._sbrk_r+0xc): undefined reference to `_sbrk'
collect2: error: ld returned 1 exit status
Using rt_vsnprintf could avoid such problem.
2013-09-23 11:34:13 +08:00
Grissiom
6e676e7754
dev/portal: implement portal device
...
Portal is a device that connect devices. Currently, you can only connect
pipes in portal. Pipes are unidirectional. But with portal, you can
construct a bidirectional device with two pipes.
2013-08-20 12:54:43 +08:00
Grissiom
7e68096a88
dev/pipe: make pipe a type of device
...
Pipe have many differences with char device. The main difference is
altough pipe have both read and write, it is unidirectional in nature.
2013-08-20 10:16:55 +08:00
bernard
a124e7bd22
add initialization debug code
2013-07-24 07:33:48 +08:00
bernard
b96b35613f
add mount table
2013-07-22 07:46:10 +08:00
Bernard Xiong
493930ea07
Merge pull request #118 from BernardXiong/master
...
Remove initialization feature for MS VC++ compiler.
2013-07-09 13:56:51 -07:00
Grissiom
7bcce9e87f
device: add ref_count support
...
This is a simple work around to the current device stack design. A
ref_count could let different modules to open/close the same device
independently without interfere others in some degree.
But there is still some data shared between the modules, like flag,
open_flag and user_data. Moreover, it won't yield an error if A open a
device, and B read from it before open it in B. Maybe alloc a new handle
in rt_device_open will be the ultimate solution. But that is much bigger
change and we may leave it to future development.
2013-07-09 15:44:55 +08:00
Bernard Xiong
8c0d4d2ad8
fix the spelling wrong
2013-07-05 19:36:57 -04:00
Bernard Xiong
ca56dce2a3
remove initialization feature for MS VC++ compiler
2013-07-05 19:32:16 -04:00
Grissiom
9f62f03f11
rm48x50: restore missing include for __TI_COMPILER_VERSION__
2013-07-01 22:03:58 +08:00
Bernard Xiong
e63be67e2d
Remove the stdarg.h file include.
...
Please @Grissiom check why add this header file in rtthread.h.
2013-06-30 20:17:41 +08:00
yiyue.fang
62c5115282
reformat the coding style in rthw.h
2013-06-29 13:33:06 +08:00
yiyue.fang
cf0db957f2
reformat the coding style in rtdef.h
...
convert the Tabs to Spaces
2013-06-29 11:41:20 +08:00
Bernard Xiong
79392bb082
Embedded GPLv2 license.
2013-06-24 17:06:09 +08:00
Bernard Xiong
0bb5eb18b9
Add rt_kprintf re-defined, which is suggested by ufbycd.
2013-06-24 00:08:10 +08:00
Bernard Xiong
98c8a23e94
Add component initialization.
2013-06-23 07:48:42 +08:00
Bernard Xiong
c5927f51b3
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
2013-06-23 07:40:32 +08:00
Bernard Xiong
f837ea41b1
Add component initialization define in rtdef.h
2013-06-23 07:40:23 +08:00
Grissiom
85822f22b7
rtdef.h: get back the codes that removed accidentally by d80a471
2013-06-03 22:23:17 +08:00
Bernard Xiong
d80a471680
Fix the memheap_realloc issue
2013-06-03 06:44:35 +08:00
Grissiom
9237433030
add TI CCS support micros in rtdef.h
2013-05-29 23:36:10 +08:00
Grissiom
f51bce3fed
add rm48x50 bsp and libcpu
...
We currently only support building with CCS and SCons is not using.
bsp/rm48x50/HALCoGen/HALCoGen.{hcg,dil} is the HALCoGen project file.
You may need to regenerate the source file as you like, providing that:
1, IRQ is in Dispatch Mode and the table entry is IRQ_Handler. The
channel 5 in enabled and connected to IRQ.
2, RTI driver is enabled and compare3 source is selected to counter1
and the compare3 will generate tick in the period of 10ms. This
value is coresponding with RT_TICK_PER_SECOND in rtconfig.h.
In CCS, you need to create a new CCS project and create link folders
pointing at bsp/rm48x50, libcpu/arm/rm48x50 and src/, include/. Remember
to add the include path to the Build Properties.
2013-05-24 22:55:13 +08:00
Bernard Xiong
4afdf44da2
add RT_KERNEL_MALLOC/FREE
2013-04-25 14:22:07 +08:00
Bernard Xiong
608bf2cb3d
add rt_memheap_realloc function
2013-04-17 22:09:48 +08:00
Bernard Xiong
bb72be94b2
code cleanup for interrupt description
2013-03-26 08:52:33 +08:00
weety
7917cf09e7
remain the old handler to keep forward compatibility
2013-03-19 11:25:46 +08:00
weety
b21028474b
Modify the interrupt interface implementations, changes in the part of the parameter definition.
2013-03-19 11:25:12 +08:00
prife
a64ec10e68
app module support for simlator, first version
2013-02-27 00:37:57 +08:00
Bernard Xiong
47d8dc67c0
change version number
2013-01-09 11:00:32 +08:00
dzzxzz@gmail.com
d5531c6054
fixed the coding style in rtdef.h
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2566 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-30 14:14:40 +00:00
bernard.xiong@gmail.com
850d544bdc
add more control command for graphic.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2560 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-30 06:37:30 +00:00
bernard.xiong@gmail.com
975610477e
Add RT_USING_MEMHEAP_AS_HEAP feature: system can use "heap" memheap as system default memory heap.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2554 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29 12:29:03 +00:00
bernard.xiong@gmail.com
54351d17de
fix compiling warning.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2552 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29 09:51:48 +00:00
bernard.xiong@gmail.com
68fadd9edc
Add exception hook function.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2551 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29 09:36:16 +00:00
dzzxzz@gmail.com
b2da13707b
fixed the coding style
...
convert the tabs to spaces
convert the file format to unix style
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2483 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-14 08:59:22 +00:00
goprife@gmail.com
977afc4f67
add RT_DEVICE_CTRL_BLK_ERASE and struct rt_device_blk_sectors in rtdef.h
...
please see this commit with revision 2478
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2482 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-14 06:34:25 +00:00
bernard.xiong@gmail.com
b60476b8e7
remove rt_current_module and rt_module_set function.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2459 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-28 14:25:06 +00:00
bernard.xiong@gmail.com
df249c467d
change RT_NULL from ((void*)0) to 0.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2422 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-16 14:54:31 +00:00
sc943313837@gmail.com
c49700184f
add RTC control command
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2377 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-29 02:02:41 +00:00
dzzxzz@gmail.com
409dd3801f
convert TABs to Spaces in rtdef.h
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2367 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-23 02:34:53 +00:00
bernard.xiong@gmail.com
f4d768ec56
Add mutex lock in memheap object.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2366 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-22 23:27:04 +00:00
qiuyiuestc@gmail.com
7c7fa51f97
add __RT_SERVICE_H__ definition
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2347 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-13 03:26:25 +00:00
dzzxzz@gmail.com
14e5b39b4c
change the comment style in rtdef.h
...
it will be used by doxygen
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2333 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-10 03:14:52 +00:00
bernard.xiong@gmail.com
2114b73b4b
Add _MSC_VER compiler checking; Add DEVICE_CTRL_BLK_SYNC flag.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2315 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-05 08:44:10 +00:00
dzzxzz@gmail.com
095b0ae5c0
re-format the coding style in rtdef.h
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2280 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-07 08:06:02 +00:00
dzzxzz@gmail.com
1ccf6f800c
delete the unnecessary space
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2278 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-07 06:48:02 +00:00
dzzxzz@gmail.com
cd053e7737
re-format the coding style, convert the tab to 4 spaces and make sure the line length is not longer than 80 in rtdebug.h
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2271 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-05 06:52:35 +00:00
dzzxzz@gmail.com
f897cff83f
fixed a compiling error if RT_DEBUG is defined but RT_DEBUG_CONTEXT_CHECK is defined as 0
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2270 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-05 06:28:28 +00:00
dzzxzz@gmail.com
96182b10c0
make sure the line length is not longer than 80 in rthw.h
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2269 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-05 05:54:47 +00:00
dzzxzz@gmail.com
51c95d7907
convert tabs to 4 spaces in rtm.h
...
and move the definition of struct rt_module_symtab into RT_USING_MODULE block
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2268 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-05 05:51:38 +00:00
dzzxzz@gmail.com
cba2e9bcba
convert tabs to 4 spaces in rtservice.h
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2267 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-05 05:42:12 +00:00
dzzxzz@gmail.com
3aa354d28b
re-format the coding style, convert the tab to 4 spaces and make sure the line length is not longer than 80
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2266 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-05 05:36:08 +00:00
bernard.xiong@gmail.com
25268ad23d
Add more symbols export for application module.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2205 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-06 11:20:53 +00:00
dzzxzz@gmail.com
25a5353e66
fixed spelling error
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2175 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-18 12:21:03 +00:00
bernard.xiong@gmail.com
d228266e65
Remove I2C device and add PM pseudo device.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2171 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-18 03:11:40 +00:00
bernard.xiong@gmail.com
8475d23d3e
Add rt_timer_next_timeout_tick() declaration in rtthread.h.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2157 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-11 23:38:28 +00:00
dzzxzz@gmail.com
f19d8aa591
change the return type of function rt_object_is_systemobject()
...
using rt_bool_t instead of rt_err_t
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2150 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-02 09:20:19 +00:00
bernard.xiong@gmail.com
3ad6f43ff3
Added VisualDSP++ Compiler support.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2137 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-30 06:50:06 +00:00
luohui2320@gmail.com
f29989094c
ADD I2C BUS device type
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2130 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-22 18:10:03 +00:00
dzzxzz@gmail.com
1641c9db4f
add memory heap object in module
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2113 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-07 06:23:30 +00:00
bernard.xiong@gmail.com
87195cf84e
Added memory heap object implementation; Added RT_LIST_OBJECT_INIT macro.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2046 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-14 03:52:56 +00:00
bernard.xiong@gmail.com
0f519b6721
move src\kservice.h to include\rtservice.h.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2005 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-22 06:11:44 +00:00
bernard.xiong@gmail.com
3b805a8137
remove the duplicated rt_sprintf declaration.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2002 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-21 04:03:20 +00:00
qiuyiuestc@gmail.com
407f922a5b
fix module unload issue
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2001 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-18 04:26:22 +00:00
dzzxzz
12b5e56f46
unify the coding style of kernel
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1998 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-17 06:43:49 +00:00
bernard.xiong@gmail.com
5d2d94eb3d
add RTTHREAD_VERSION definition.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1965 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-18 15:03:21 +00:00
goprife@gmail.com
4f72d1cba1
remove some warning in jffs2, and fix armcc compile error when using scons
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1929 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-31 01:29:22 +00:00
bernard.xiong@gmail.com
18888679cd
add alignment memory allocation.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1928 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-30 12:22:57 +00:00
bernard.xiong@gmail.com
6b31d549c7
cleanup some comments.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1898 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-31 08:58:40 +00:00
bernard.xiong@gmail.com
bcf0bd361b
fix a spell issue.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1896 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-31 07:04:05 +00:00
dzzxzz
86c5646fc0
change the version from 0.4.0 to 1.0.0
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1893 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-31 06:22:46 +00:00
bernard.xiong@gmail.com
f6f81eb0ce
Add more device type.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1835 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-11 15:14:25 +00:00
dzzxzz
7926109356
cleanup kernel code
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1722 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-23 05:57:31 +00:00
bernard.xiong@gmail.com
472cc9334a
add errno implementation in RT-Thread.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1682 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-28 15:57:10 +00:00
qiuyiuestc@gmail.com
a8f51bf63a
fix compile error
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1670 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-15 14:05:41 +00:00
qiuyiuestc@gmail.com
cea21370a4
rewrite module memory allocator
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1618 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-04 23:48:07 +00:00
bernard.xiong@gmail.com
cfd580edf4
add rt_tick_set function
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1551 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-29 14:45:35 +00:00
bernard.xiong@gmail.com
ee68988518
change the RT_DEBUG_NOT_REENT to RT_DEBUG_NOT_IN_INTERRUPT.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1503 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-14 23:59:42 +00:00
mbbill@gmail.com
1aa724b5d8
fixd a compiler error in rtdebug.h
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1497 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-13 02:40:24 +00:00
mbbill@gmail.com
864bd11802
Add reentrance check. Put kernel debug switch together.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1494 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-12 10:01:48 +00:00
mbbill@gmail.com
70c031362a
add a test case for blocking mailbox send
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1472 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-08 16:40:46 +00:00
mbbill@gmail.com
252bc41a2c
add a blocking mailbox post function
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1471 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-08 16:40:07 +00:00
bernard.xiong@gmail.com
64517f05c5
update graphic driver interface.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1465 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-08 15:40:24 +00:00
bernard.xiong@gmail.com
a714392b70
update graphic driver interface.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1464 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-08 15:23:03 +00:00
bernard.xiong@gmail.com
54f422ebb4
add more device definition.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1457 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-06 03:51:18 +00:00
bernard.xiong@gmail.com
6e88bffff9
add graphic device.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1456 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-06 03:47:56 +00:00
qiuyiuestc@gmail.com
9faa3d9989
eliminate compile warning
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1407 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-16 01:18:43 +00:00
bernard.xiong
43a6a907da
use builtin va_arg in GCC 4.x
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1400 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-09 02:50:01 +00:00
dzzxzz
ca52080ade
change "inline" to "static inline" for IAR compiler
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1319 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-03-08 08:51:42 +00:00
bernard.xiong@gmail.com
4e3839d702
add RT_USING_DEVICE definition.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1259 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-24 13:40:42 +00:00
qiuyiuestc
0ee9b3d922
use rt_malloc_page api in module.c
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1189 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-10 00:20:30 +00:00
bernard.xiong@gmail.com
7a80d831c9
update doxygen comments.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1132 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-29 00:04:55 +00:00
qiuyiuestc
56c6c301bc
clean up code
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1106 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-24 01:27:45 +00:00
qiuyiuestc
5a8d5a56cb
update module
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1097 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-23 01:20:20 +00:00
qiuyiuestc
c7f8c325af
module update for extension
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1086 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-22 01:24:37 +00:00
bernard.xiong@gmail.com
d174592eff
recover rt_object_find function.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1084 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-21 23:57:13 +00:00
qiuyiuestc
d240423d74
construct module symbol table
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1053 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-17 16:17:07 +00:00
bernard.xiong
7018ab0661
add cleanup callback function on thread exit; add IPC object reset command.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1043 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-12 10:16:33 +00:00
qiuyiuestc
644c879a4c
add rt_module_realloc implement
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1037 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-01 01:03:50 +00:00
qiuyiuestc
fb7d4122fc
implement module memory allocator
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1030 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-10-28 01:21:47 +00:00
jiaojinxing1987@gmail.com
c1798b7585
struct rt_thread 的 stack_size 改回 rt_uint16_t 类
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@998 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-10-04 07:55:24 +00:00
jiaojinxing1987@gmail.com
e7211af8a7
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@994 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-10-02 14:02:43 +00:00
qiuyiuestc
1c590cf5d9
module update
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@947 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-25 15:30:42 +00:00
qiuyiuestc
878d1b3636
update module
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@933 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-23 11:10:17 +00:00
qiuyiuestc
446799244a
module clean up
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@915 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-19 23:43:48 +00:00
qiuyiuestc
b1357bd0db
add module definition
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@908 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-13 01:16:10 +00:00
bernard.xiong
2e0352e653
add rt_thread_idle_excute API.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@830 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-08-05 08:16:30 +00:00
qiuyiuestc
ae53558a6b
fix rt_device_blk_geometry compile error
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@796 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-07-17 09:37:46 +00:00
bernard.xiong
214e44c3f9
fix down alignment issue; fix the maximal number of rt_scheduler_lock_nest issue; fix rt_tick_from_millisecond issue.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@790 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-07-13 07:36:37 +00:00
bernard.xiong
5900cc0c73
change the ALIGN definition for IAR compiler.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@780 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-06-29 09:08:07 +00:00
qiuyiuestc
8b8dba661f
module developing
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@742 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-29 14:19:56 +00:00
bernard.xiong@gmail.com
0eaf2098b8
fix the timer check bug.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@730 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-22 23:26:08 +00:00
bernard.xiong@gmail.com
b34d10449f
change some field's type in RT-Thread RTOS definitions.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@729 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-22 15:02:04 +00:00
bernard.xiong
5836237ae3
add more RT_USING_MODULE definition.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@717 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-16 03:02:44 +00:00
bernard.xiong
fca4e1a719
remove rt_object_find function.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@690 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-03 23:17:25 +00:00
qiuyiuestc
b87f6d562b
module developing
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@666 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-23 14:23:23 +00:00
qiuyiuestc
1f42e27ece
[mini2440]use long filename feature
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@655 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-20 01:09:07 +00:00
bernard.xiong
5195a7fb79
change version number
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@622 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-15 01:41:10 +00:00
bernard.xiong
23ea4f1b74
add __ICCM16C__ compiler support.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@621 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-14 00:40:20 +00:00
qiuyiuestc
5211e7ff8f
add module feature
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@604 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-11 16:44:54 +00:00
bernard.xiong
9294a611f5
add LPC11xx Cortex-M0 porting.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@583 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-06 10:00:28 +00:00
mbbill
b8653e766f
FIX: If we place a return statement after RT_ASSERT we will get a warning: "statement is unreachable" in debug mode. This fix removed this warning.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@487 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-14 15:11:35 +00:00
bernard.xiong
1c9c3bf175
add rt_console_set_device declaration.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@463 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-08 23:06:57 +00:00
gary.li.wenchao.4
26e8c8c1ab
remove maximun value of base type
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@427 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-02-20 09:22:43 +00:00
bernard.xiong
1e67026b13
add sound device definition.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@334 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-01-25 00:01:27 +00:00
mbbill
f8f7a5f510
FIX: Removed suspend_thread_count.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@317 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-01-19 03:17:37 +00:00
mbbill
54453a0748
FIX: Revert thread.c and rtthread.h to previous version.
...
FIX: Abort handler will suspend current thread instead of terminate it.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@260 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-29 08:13:45 +00:00
mbbill
79ca654e13
ADD: Add abort handler, it will terminate current thread by default.
...
ADD: Merged svc, abort and irq mode stack.
ADD: Changed MDK project to new format.
FIX: Removed the "static" qualifier of rt_thread_exit().
FIX: Change AT91SAM7X.h to the standard header(AT91SAM7X256.h) of RealView MDK. (not all of them are changed, e.g. sd.c)
FIX: Moved some board-dependent files to bsp.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@257 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-29 07:17:58 +00:00
bernard.xiong
1133895d2c
remove the software timer check in tick handle.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@219 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-23 13:52:42 +00:00
lijin.unix
8c8aa4418b
add soft timer.other's platform maybe compiled err,pls add some macro definition in rtconfig.h. ( RT_TIMER_THREAD_STACK_SIZE RT_TIMER_THREAD_PRIO RT_TIMER_EX_TICKS_PER_SEC)
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@215 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-22 15:06:27 +00:00
bernard.xiong
af965befa9
change mempool hook parameter and fix the name mistake of rt_scheduler_sethook function.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@192 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-04 09:37:14 +00:00
bernard.xiong
2ea6844081
add rt_memory_info function in kernel; cleanup code in dfs_posix.c; add Chinese Font(file cached) support in RTGUI;
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@166 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-11-15 14:47:26 +00:00
bernard.xiong
c8d02426c7
remove not exist hook and add more object hook declaration.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@156 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-11-06 07:45:37 +00:00
bernard.xiong
6718379b81
add rt_calloc function declaration.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@87 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-10-11 05:43:15 +00:00
bernard.xiong
ff705032d8
change semaphore and mutex value to unsigned value
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@84 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-10-09 23:58:46 +00:00
bernard.xiong
8e76594241
convert dos endline to unix endline; cleanup schedule code for STM32
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@49 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-09-20 23:43:51 +00:00
bernard.xiong
4bd258ce7b
remove fast event
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@46 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-09-13 23:34:52 +00:00
bernard.xiong
bda4730a94
import RT-Thread RTOS 0.3.x to Google SVN
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-07-02 22:48:23 +00:00