Commit Graph

928 Commits

Author SHA1 Message Date
qiuyiuestc 09c3fdc0e5 update module
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@950 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-25 16:38:00 +00:00
qiuyiuestc 7fd452b8a6 module update
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@946 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-25 15:30:25 +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 a8eff5c965 fix object create error
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@916 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-20 00:02:11 +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 463e70efef clean up
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@907 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-13 01:14:04 +00:00
qiuyiuestc d54f2bbfc6 module update
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@905 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-13 01:03:09 +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 b3207276bd small change
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@820 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-08-01 23:25:41 +00:00
bernard.xiong 0a64bac9d9 apply kuronca patch for heap initialization check.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@811 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-07-22 02:54:19 +00:00
qiuyiuestc f834265044 reconstruct module
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@810 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-07-21 00:27:11 +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 4902e69f1e change the ALIGN definition for IAR compiler.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@781 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-06-29 09:08:24 +00:00
bernard.xiong 59b014b640 move module.h into RT_USING_MODULE
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@767 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-06-11 10:19:13 +00:00
bernard.xiong 17e528db4f fix memory check in rt_realloc function
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@763 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-06-09 06:43:14 +00:00
qiuyiuestc 470feff16f fix armcc compile error
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@749 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-29 16:22:11 +00:00
qiuyiuestc 25e7ea1745 module developing, application can be run successfully
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@747 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-29 15:27:27 +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 88bfa45e7a fix thread delete issue when module is not used.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@725 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-22 01:13:41 +00:00
bernard.xiong@gmail.com ecea5d2b89 fix thread delete issue when module is not used.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@724 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-21 23:55:38 +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 157bc5f263 remove rt_object_find function.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@693 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-04 02:03:11 +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 c8efa6b331 continue...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@668 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-23 14:51:28 +00:00
qiuyiuestc 4a42aa2de6 fix compile error
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@667 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-23 14:49:11 +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 38c432620f module developing
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@663 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-21 16:59:06 +00:00
bernard.xiong a0c9b0e90e move memcpy outside interrupt disable in mq.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@661 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-20 23:19:40 +00:00
qiuyiuestc 3baab7b053 module developing
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@660 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-20 17:00:51 +00:00
bernard.xiong 99bfaf72d9 modify building script for components.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@642 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-18 22:16:50 +00:00
qiuyiuestc 0d7a1c0be7 module developing
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@625 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-16 00:53:48 +00:00
bernard.xiong 9921361162 remove weak symbol in ICCM16C compiler.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@623 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-15 02:51:20 +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 cbfb87fac1 add module feature
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@614 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-12 17:37:37 +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 f0d78afbf2 support maximal priority level is 8.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@568 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-31 23:21:02 +00:00
bernard.xiong f459d4811e change the errno of rt_thread_delay/sleep to RT_EOK.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@520 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-20 23:52:47 +00:00
bernard.xiong 5e2bb92cda remove rt_strlcpy function.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@499 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-17 04:19:17 +00:00
kyle.hu.gz 9ac8c55353 Fixed a memory corruption issue in rt_realloc().
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@495 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-16 19:51:36 +00:00
gary.li.wenchao.4 24c754e257 git-svn-id: https://rt-thread.googlecode.com/svn/trunk@491 bbd45198-f89e-11dd-88c7-29a3b14d5316 2010-03-16 13:37:14 +00:00
gary.li.wenchao.4 d45d23a96a fixed kservice.c compiling error for gcc
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@482 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-14 11:54:17 +00:00
bernard.xiong 5e82a9a022 remove rt_passed_second in clock; init device driver when driver has been opened if it is not in activate status; change interrupt nest count to rt_uint8_t; add rt_console_set_device function in kservice.c (rt_kprintf function can use device right now)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@464 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-08 23:09:40 +00:00
bernard.xiong 51e545f575 move object container initialization to static initialization.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@458 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-03 09:11:00 +00:00
gary.li.wenchao.4 6c82f5086f add strlcpy
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@412 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-02-16 15:11:18 +00:00
bernard.xiong b557f30630 remove rt_ipc_object_decrease function
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@322 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-01-19 23:55:54 +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
bernard.xiong e79dec8f0a RT_MEM_STATS is used for most condition.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@268 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-31 13:33:59 +00:00
mbbill 54de5a60ba FIX: Removed RT_MEM_DEBUG definition, it should be defined in rtconfig.h . Forgot to remove ?
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@264 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-30 16:17:04 +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 51e2d91378 add license and copyright info
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@226 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-25 12:18:53 +00:00
bernard.xiong 8f90e129d3 clean up software timer code.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@222 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-24 00:03:57 +00:00
lijin.unix 10a46e477b changed soft timer thread resume mode.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@220 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-23 15:15:05 +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 fe92b1daed fix the rt_ipc_object_suspend issue when IPC flag is RT_IPC_FLAG_PRIO
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@201 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-16 08:28:01 +00:00
bernard.xiong bd533b3743 cleanup output message.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@198 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-13 15:38:25 +00:00
bernard.xiong 6db90b15af fix the cortex-m3 context switch bug when interrupt preempts pendsv exception; add RT_LWIP_ETH_PAD_SIZE option; fix device activate flag set issue in init function.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@193 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-06 23:50:17 +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 c096268a88 fix mempool init bug.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@178 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-11-29 13:55:59 +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 17c81cfa21 change the mb/mq receive timeout to 0 if the re-calculated delta tick is a negative number. -- found by freescale@stmsky.com
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@128 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-10-24 23:07:12 +00:00
bernard.xiong 9ba0621463 update on scons script
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@118 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-10-21 23:50:25 +00:00
bernard.xiong 39ff757705 fix timer re-start issue if stop a timer in itself timeout_func.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@107 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-10-19 12:11:17 +00:00
bernard.xiong 3c246ff153 add STM32 gcc version. apply scons build system.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@98 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-10-14 09:47:48 +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 bd11f44ab4 fix the memory statistic issue in rt_realloc function.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@53 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-09-28 07:06:29 +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
wuyangyong 90238948ba fix _rt_scheduler_stack_check
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@47 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-09-16 14:32:33 +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 3bfe93e365 fix mutex release bug
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@45 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-09-10 12:29:15 +00:00
bernard.xiong e860e11ef7 remove fast event and fix ipc release bug
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@43 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-09-09 23:30:00 +00:00
bernard.xiong dc638b887c fix the fast event receive bug
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@29 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-08-31 12:31:19 +00:00
bernard.xiong 74f893fc2e fix memory re-allocation issue
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@15 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-08-03 14:00:27 +00:00
bernard.xiong 5488777d55 fix event clear bug.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@7 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-07-18 10:02:12 +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