Commit Graph

1006 Commits

Author SHA1 Message Date
nongli1031@gmail.com 6fe2afed8c for rt-thread 1.1.0
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2372 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-26 03:36:13 +00:00
goprife@gmail.com 61bec5b560 update bsp/simulator, add component head path, fix atoi redefinition compile error in application.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2370 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-24 08:55:27 +00:00
bernard.xiong@gmail.com 6fa4aa965c Add exit() function on finsh shell.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2368 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-23 02:42:52 +00:00
goprife@gmail.com 68ead993ad add English version readme for bsp/simulator
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2363 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-21 09:37:29 +00:00
goprife@gmail.com 76218a079d clean code under bsp/simulator
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2362 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-21 05:55:36 +00:00
goprife@gmail.com 9b9266ad72 add readme.txt for bsp/simulator
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2361 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-21 05:16:02 +00:00
goprife@gmail.com 641187f132 update bsp/simulator, fix the include path in vs2005.vcproj, clean code in rtconfig.py
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2360 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-21 04:50:50 +00:00
goprife@gmail.com c3b741d010 add simulator bsp for win32, which can be compiled by visual studio (2005 or newer version)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2357 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-21 04:33:52 +00:00
dzzxzz@gmail.com e41d961be2 delete the unnecessary empty lines
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2352 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-15 01:49:03 +00:00
dzzxzz@gmail.com 9393c29224 fixed coding style in x86 branch
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2351 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-15 00:51:09 +00:00
bernard.xiong 0c13711396 Add taihu bsp (PPC405)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2350 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-14 23:28:37 +00:00
bernard.xiong 991f1c1492 Update building script.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2342 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-10 23:36:26 +00:00
dzzxzz@gmail.com 6f1cab7da1 fix a spelling error in the mini4020/rtconfig.py
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2329 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-09 02:40:12 +00:00
dzzxzz@gmail.com 8ad54b8e60 update keil project file
remove rtm.c

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2327 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-09 02:18:13 +00:00
dzzxzz@gmail.com 5492ed91e7 update lpc178x keil project file
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2326 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-09 02:09:02 +00:00
dzzxzz@gmail.com d91148377b update lpc122x keil project file
remove rtm.c

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2325 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-09 01:57:04 +00:00
dzzxzz@gmail.com 443c7c3597 revert BSP(m16c62p) to r2035
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2307 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-25 04:44:44 +00:00
dzzxzz@gmail.com c784dd2ed8 update V850 BSP, now supporting scons + IAR
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2306 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-25 04:18:24 +00:00
dzzxzz@gmail.com 999de72081 fixed a comment error in rtconfig.h
which default value of RT_THREAD_PRIORITY_MAX is 32 not 2 

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2303 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-24 08:26:44 +00:00
dzzxzz@gmail.com 2d6bb86360 fixed a compiling error while components_init.h changed to components.h
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2300 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-20 07:41:04 +00:00
dzzxzz@gmail.com 882c5d80bf please define RT_USING_RTT_CMSIS in rtconfig.h while using IAR 6.30 +
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2299 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-20 07:38:46 +00:00
dzzxzz@gmail.com e586ae10c3 fixed a compiling error while components_init.h changed to components.h
please define RT_USING_RTT_CMSIS in rtconfig.h while using IAR 6.30 +

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2298 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-20 07:38:04 +00:00
dzzxzz@gmail.com f36a8ca713 using the default path of Keil(C:\Keil) as the keil EXEC_PATH
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2297 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-20 07:22:11 +00:00
dzzxzz@gmail.com 8138af2826 define RT_DFS_ELM_CODE_PAGE in the rtconfig.h
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2296 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-20 07:10:57 +00:00
wuyangyong 7ce935b601 cleanup code.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2286 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-10 05:49:55 +00:00
dzzxzz@gmail.com 28d9de6bad update MDK4 project file in mini2440
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2279 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-07 06:53:11 +00:00
dzzxzz@gmail.com a2c5b92151 update mini2440 MDK4 project file, because the rtm.c was deleted
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2264 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-27 07:21:22 +00:00
dzzxzz@gmail.com 27f90145b3 initialize the variable "emouse"
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2243 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-01 04:13:41 +00:00
wuyangyong 29846c07aa add stm32f40x/readme.txt
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2240 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-31 17:13:59 +00:00
dzzxzz@gmail.com cb9cfb3100 fixed compiling errors while rtgui sync with github
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2235 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-26 08:06:15 +00:00
luohui2320@gmail.com 7729b4a1e4 move SDIO driver header files to the drivers/include directory and update rtdevice.h
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2209 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-08 14:43:08 +00:00
dzzxzz@gmail.com 83ad1ad01d change the file name from rtthread-stm32.map to rtthread-lm4f.map
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2202 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-04 02:19:24 +00:00
dzzxzz@gmail.com 6c806253bd fixed a compiling error using gcc in linux system
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2201 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-04 02:02:12 +00:00
dzzxzz@gmail.com d402cfea19 fixed compiling error in stm32f0x
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2197 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-30 01:52:48 +00:00
dzzxzz@gmail.com e2f5d34500 update the mini2440 MDK project file
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2196 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-30 01:46:12 +00:00
dzzxzz@gmail.com 4dc24e6a86 fixed a compiling error and format the coding style
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2195 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-30 01:41:48 +00:00
dzzxzz@gmail.com cfb550b8d1 fixed gcc compiling error in lpc178x project
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2190 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-27 01:01:47 +00:00
dzzxzz@gmail.com a97ed29249 update the sam7x project
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2189 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-27 00:59:28 +00:00
dzzxzz@gmail.com bb529858fe update the m16c62p project
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2187 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-26 06:41:59 +00:00
dzzxzz@gmail.com f1e6f2f6ca delete the useless files and update the file headers
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2186 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-26 03:45:53 +00:00
dzzxzz@gmail.com aea59143b5 update mini4020 project
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2185 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-26 03:30:07 +00:00
dzzxzz@gmail.com 594ccd799a update MDK project for stm32f0x
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2184 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-26 01:51:10 +00:00
dzzxzz@gmail.com d20343a87d using RTC API from RTC device driver framework
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2183 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-25 09:02:46 +00:00
dzzxzz@gmail.com 2c45dc2041 fixed compiling error in at91sam9260
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2182 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-25 04:02:59 +00:00
dzzxzz@gmail.com 70e39ffa54 update rtgui related project
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2177 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-19 00:48:11 +00:00
dzzxzz@gmail.com 4dd1acf294 update ls1bdev
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2176 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-19 00:43:54 +00:00
dzzxzz@gmail.com 43f9962b09 define RT_USING_RTT_CMSIS in rtconfig.h while using IAR 6.30+
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2174 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-18 08:27:28 +00:00
dzzxzz@gmail.com 6e7f8a36ff fixed compiling error, RT_Device_Class_I2C is not defined in rtdef.h
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2173 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-18 08:25:41 +00:00
dzzxzz@gmail.com efeb6231be define RT_USING_RTT_CMSIS in rtconfig.h while using IAR 6.30+
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2170 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-18 03:00:01 +00:00
dzzxzz@gmail.com fe5b403ee2 fixed the issue that calibration window can't be closed in mini2440 BSP
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2168 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-15 08:47:20 +00:00
dzzxzz@gmail.com 0b30e68b10 fixed calibration issue in mini2440 BSP
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2167 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-15 07:42:45 +00:00
luohui2320@gmail.com ecc03bab6a update AT91SAM9260 i2c driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2160 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-13 17:00:09 +00:00
dzzxzz@gmail.com f8a147bd43 fixed the calibration issue
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2156 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-09 09:10:31 +00:00
dzzxzz@gmail.com 07b910be8f fixed compiling error related to rtgui in mini2440 branch
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2155 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-08 08:13:44 +00:00
dzzxzz@gmail.com 7b6828b2b5 don't include the file while RTT don't define
ex. if RT_USING_MEMHEAP isn't defined, then memheap.c won't be included

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2148 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-02 07:45:48 +00:00
dzzxzz@gmail.com 6f6e31720b update MB9BF506R KEIL and IAR project files
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2147 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-01 08:33:38 +00:00
dzzxzz@gmail.com 60ada9665d add the standard CMSIS(Version 3.01) into components
and implement examples in MB9BF506R and LPC176x branches
define RT_USING_BSP_CMSIS in rtconfig.h will use CMSIS in bsp
define RT_USING_RTT_CMSIS in rtconfig.h will use CMSIS in components 

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2146 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-01 07:31:15 +00:00
dzzxzz@gmail.com 7fddcb0e35 add serial device driver framework
and implement the example in MB9BF506R branch

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2145 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-01 06:52:34 +00:00
wuyangyong b862d16f3f optimize for size.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2144 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-31 18:19:25 +00:00
wuyangyong 1e0724de7b add stm32f0 discovery bsp.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2143 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-31 17:54:55 +00:00
mok.jingxian@gmail.com 5684d15916 add bf533 bsp and cpu files.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2138 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-30 11:29:34 +00:00
luohui2320@gmail.com 6e8a644db6 ADD AT91SAM9260 I2C driver
According to the Atmel official recommended, use GPIO instead of TWI for I2C communication

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2129 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-22 17:42:34 +00:00
onelife.real 3343a1b7de *** EFM32 branch ***
Add the missing file, "*.a"

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2124 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-18 06:17:41 +00:00
onelife.real ea6d73f140 *** EFM32 branch ***
1. Upgrade Cortex driver library (CMSIS -> CMSIS & Device): version 2.3.2 -> 3.0.1 & 3.0.0
 - Remove "bsp/efm32/Libraries/CMSIS/Lib/ARM", "bsp/efm32/Libraries/CMSIS/Lib/G++" and "bsp/efm32/Libraries/CMSIS/SVD" to save space
2. Upgrade EFM32 driver libraries (efm32lib -> emlib): version 2.3.2 -> 3.0.0
 - Remove "bsp/efm32/Libraries/Device/EnergyMicro/EFM32LG" and "bsp/efm32/Libraries/Device/EnergyMicro/EFM32TG" to save space
3. Upgrade EFM32GG_DK3750 development kit driver library: version 1.2.2 -> 2.0.1
4. Upgrade EFM32_Gxxx_DK development kit driver library: version 1.7.3 -> 2.0.1
5. Add energy management unit driver and test code
6. Modify linker script and related code to compatible with new version of libraries
7. Change EFM32 branch version number to 1.0
8. Add photo frame demo application

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2122 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-18 04:40:40 +00:00
yungchi@cs.nctu.edu.tw 5f853be2df update link script
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2121 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-17 09:05:51 +00:00
dzzxzz@gmail.com 0ce3aa056d update CMSIS RTOS API in MB9BF506R
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2117 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-15 06:16:37 +00:00
dzzxzz@gmail.com e383470e01 update serial driver of MB9BF506R
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2116 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-15 03:38:36 +00:00
dzzxzz@gmail.com 09592b5df8 fixed a compiling error, if RT_LWIP_PBUF_POOL_BUFSIZE isn't defined in rtconfig.h:
drivers\luminaryif.c(48): error:  #59: function call is not allowed in a constant expression

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2102 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-24 02:05:45 +00:00
dzzxzz@gmail.com ffd65c60c4 using components initialize in mb9bf506 branch
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2101 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-23 10:29:50 +00:00
dzzxzz@gmail.com cbd32a0c32 upgrade MB9BF506 CMSIS to version 3.01
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2100 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-23 09:59:00 +00:00
dzzxzz@gmail.com b05e37893a according to the LPC176x, make a new BSP file structure for mb9bf506r
and add a template.ewp file for updating the IAR project

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2095 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-20 03:28:15 +00:00
dzzxzz@gmail.com 4f381a1c68 update the IAR project for lpc176x, using the specified icf file
and correct the rtthread-lpc17xx.icf file

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2094 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-20 03:19:23 +00:00
yungchi@cs.nctu.edu.tw 5b80e102e0 update rtconfig.py
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2090 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-17 11:22:08 +00:00
yungchi@cs.nctu.edu.tw 1eb7697c7b Add GNU link script. (copy from STM32F1)
Add debug configure file.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2089 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-16 18:03:05 +00:00
yungchi@cs.nctu.edu.tw c6604c7563 Move driver files and update it SConscript
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2088 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-16 17:58:44 +00:00
yungchi@cs.nctu.edu.tw 74722177f3 Update SConstruct and MDK project file
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2087 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-16 17:55:43 +00:00
yungchi@cs.nctu.edu.tw 1e0ca97447 Update Ethernet driver,
It tested by DP83848 RMII with external 50MHz OSC PHY mode
if you want use another PHY IC please modify Libraries\STM32F2x7_ETH_Driver\inc\stm32f2x7_eth_conf.h

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2086 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-16 17:53:42 +00:00
yungchi@cs.nctu.edu.tw 4640c7fe18 Import Ethernet driver STM32F2x7 V1.0.0
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2085 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-16 17:49:10 +00:00
yungchi@cs.nctu.edu.tw 6e369b0233 git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2084 bbd45198-f89e-11dd-88c7-29a3b14d5316 2012-04-16 17:46:13 +00:00
yungchi@cs.nctu.edu.tw ea8e676f51 move driver Dependency files into Driver folder
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2083 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-16 17:43:00 +00:00
bernard.xiong@gmail.com 090553f768 delete PK40X256VLQ100 branch.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2081 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-16 05:04:30 +00:00
bernard.xiong@gmail.com 016aeaf2ff update LPC178x project file.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2078 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-16 04:58:10 +00:00
bernard.xiong@gmail.com 0982f6e079 Added LCD driver and enable SDRAM.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2077 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-16 04:16:19 +00:00
bernard.xiong@gmail.com 4fef27fbbc update project file.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2074 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-15 13:59:29 +00:00
qiuyiuestc@gmail.com 8b3ce531ea update MDK4 project and template
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2068 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-15 10:14:44 +00:00
dzzxzz@gmail.com c9ea5fb81a update MDK4 project and template
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2067 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-15 09:59:45 +00:00
dzzxzz@gmail.com 3920762913 add a template file for MDK project and update the MDK4 project
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2066 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-15 09:38:36 +00:00
dzzxzz@gmail.com b016c6603a enable the RT_LWIP_IGMP in rtconfig.h
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2065 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-15 08:43:06 +00:00
bernard.xiong@gmail.com e63ad44148 prepare RT-Thread 1.1.0 alpha release.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2064 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-15 08:26:15 +00:00
dzzxzz@gmail.com f5f3d9f569 delete the useless mdk project and enable the RT_LWIP_IGMP in rtconfig.h
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2063 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-15 08:09:35 +00:00
dzzxzz@gmail.com 524cf9570c update the IAR and KEIL project with template
scons --target=mdk4 -s
scons --target=iar -s

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2062 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-15 07:58:54 +00:00
luohui2320@gmail.com 6319327259 fix return value type error
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2061 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-15 07:51:34 +00:00
bernard.xiong@gmail.com 4d0338fd26 Using Components Init to initialize all of components.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2060 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-15 07:03:10 +00:00
bernard.xiong@gmail.com 19645fd350 prepare RT-Thread 1.1.0 alpha release.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2059 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-15 06:57:09 +00:00
luohui2320@gmail.com c026856407 fix at91sam9260 emac driver compiling warning
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2058 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-14 16:20:27 +00:00
dzzxzz@gmail.com d97ea98c7d update the LPC176x keil project
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2057 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-14 12:12:22 +00:00
dzzxzz@gmail.com 0f6856b538 update the keil projects with tools/buildbot.py project
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2055 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-14 12:00:17 +00:00
dzzxzz@gmail.com 57f34f6031 fixed compiling error
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2054 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-14 11:41:15 +00:00
dzzxzz@gmail.com cfc501f919 fixed IAR compiling error
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2053 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-14 11:29:42 +00:00
luohui2320@gmail.com 4b949cbee0 update AT91SAM9260 macb driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2051 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-14 11:18:29 +00:00
dzzxzz@gmail.com 97f10d0a1a fixed a compiling error while using LWIP 1.4.0
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2050 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-14 11:14:55 +00:00
dzzxzz@gmail.com a321f3da64 support GNUC cross compiler(GNUM16CM32Cv1101-ELF) for renesas M16C porting
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2047 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-14 07:04:27 +00:00
qiuyiuestc@gmail.com f045d2d381 update rtconfig.h for eclipse configuration
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2042 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-14 03:19:50 +00:00
dzzxzz@gmail.com a7810e12b9 update the rtconfig.py and SConstruct in the BSP
in order to use buildbot.py

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2028 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-09 03:32:35 +00:00
luohui2320@gmail.com ce4ef74ef4 update AT91SAM9260 macb driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2023 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-08 10:43:02 +00:00
dzzxzz 3b06be1cde update FM3 MB9BF506R serial driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1997 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-17 03:58:15 +00:00
wuyangyong 2a52fefd5f update fm3 506.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1993 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-07 12:08:56 +00:00
dzzxzz@gmail.com 887bcbbad8 update Fujistu FM3 porting
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1990 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-05 01:13:30 +00:00
wuyangyong 4fe0621cc4 update fm3.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1986 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-03 17:12:42 +00:00
fengzi.rtt feb4fa6df9 fix LM3S8962 ethernet driver: Enable reception of multicast packets
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1983 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-01 11:03:25 +00:00
luohui2320@gmail.com dea9c19e5e update SDIO protocol
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1979 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-28 16:40:40 +00:00
wuyangyong b2d0a9c146 update stm32f4 usart driver.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1978 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-28 09:39:55 +00:00
luohui2320@gmail.com 0fb753b193 change RT_USING_MMCSD to RT_USING_SDIO
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1975 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-21 15:27:21 +00:00
onelife.real 0120ba02a5 *** EFM32 branch ***
Fix a bug in USART driver

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1974 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-20 09:23:52 +00:00
onelife.real 3c3353ee18 *** EFM32 branch ***
1. Add keys and joystick driver
2. Add direct drive (frame buffer) method support in LCD driver

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1973 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-20 04:35:01 +00:00
wuyangyong ec1c89d5ec add idle hook, in idle thread, cpu hlt.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1964 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-18 14:49:46 +00:00
wuyangyong 017e673c17 update STM32F4xx_StdPeriph_Driver to V1.1.0.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1959 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-18 03:53:33 +00:00
wuyangyong 4362efb322 update lm4f gcc compiler.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1958 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-18 03:44:42 +00:00
wuyangyong 4bf7e430e2 update stm32f4.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1957 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-18 03:40:08 +00:00
bernard.xiong@gmail.com c11a30dbc1 update GCC startup assemble file and ld link script.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1954 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-17 16:24:20 +00:00
wuyangyong be7bd6b5d7 update x86.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1950 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-16 15:58:52 +00:00
wuyangyong 4f6f15601d rename qemu(ia32) to x86.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1949 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-16 15:49:18 +00:00
onelife.real f756b2584c *** EFM32 branch ***
Remove currently unused header files to reduce package size

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1936 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-03 04:26:07 +00:00
bernard.xiong@gmail.com 4105ba0b23 update rtconfig.h file with RT-Thread Configurator XML Tag.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1935 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-31 12:22:49 +00:00
dzzxzz@gmail.com bf553dccf1 change the SConstruct in ls1bdev in order to use the rt-thread eclipse wizard
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1925 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-29 07:06:47 +00:00
bernard.xiong@gmail.com 97771b3334 add GNU ld script.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1918 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-13 14:59:48 +00:00
bernard.xiong@gmail.com c021765b71 update building script.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1917 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-13 14:58:58 +00:00
dzzxzz@gmail.com 645260a1c9 fixed a compiling error while not defined RT_USING_FINSH
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1906 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-03 09:08:47 +00:00
wuyangyong 76e81a9977 update stm32f4xx and fpu test.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1903 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-31 21:42:12 +00:00
wuyangyong 25ab97df39 update gcc support.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1902 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-31 21:17:55 +00:00
dzzxzz a54b523ec0 fixed scons+keil compiling error in lpc2148 and lpc178x branches
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1897 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-31 08:18:46 +00:00
wuyangyong 072fa60bdc update stm32f10x rtconfig.py.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1892 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-31 04:13:36 +00:00
onelife.real 3f0b614ad3 *** EFM32 branch ***
Fix the bug in USART write, which is introduced by changing SPI write format

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1884 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-27 09:46:38 +00:00
onelife.real 10ec208306 *** EFM32 branch ***
1. Upgrade EFM32 driver libraries (CMSIS and efm32lib): version 2.3.0 -> 2.3.2
2. Upgrade EFM32GG_DK3750 development kit driver library: version 1.2.1 -> 1.2.2
3. Upgrade EFM32_Gxxx_DK development kit driver library: version 1.7.2 -> 1.7.3
4. Add LCD driver (SSD2119) and DEMO
5. Change SPI write format
6. Modify SD card driver due to SPI write format changed
7. Modify building scripts

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1883 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-27 07:44:29 +00:00
fengzi.rtt 8634deeb73 BSP_LM3S8962: move"#endif" to line 103 from line 106 in startup.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1881 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-27 04:53:32 +00:00
fengzi.rtt f8afab609a update lm4f232 startup files for PDL r8246.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1874 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-23 07:22:36 +00:00
dzzxzz bf4de2f204 delete the non-necessary IAR project files
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1873 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-23 04:56:59 +00:00
wuyangyong 16f3be93a9 fixed scons + gcc compiling error for lm3s8962 and lm3s9b96.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1872 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-23 04:35:17 +00:00
wuyangyong 696d7f6fa0 fixed scons + gcc compiling error for lm4f232.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1871 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-23 04:31:47 +00:00
wuyangyong b498aa0da6 use new srcremove.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1870 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-23 03:27:46 +00:00
wuyangyong 646c1443db update Stellaris Peripheral Driver Library to r8264.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1869 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-23 03:20:26 +00:00
wuyangyong 186a9f609b update Stellaris Peripheral Driver Library to r8264.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1867 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-23 02:59:07 +00:00
wuyangyong 701df33436 remove libcpu/arm/lm3s libcpu/arm/lpc176x , update bsp lm3s lpc176x.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1865 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-23 01:36:10 +00:00
fengzi.rtt a97a690e18 fixed scons + keil compiling error for lm4f232
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1864 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-22 08:16:27 +00:00
dzzxzz 91c7cf4c9f refine FM3 IAR project
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1862 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-22 01:11:58 +00:00
dzzxzz d6892fb441 all FM3 cortex-m3 branches using /libcpu/arm/cortex-m3 instead of /libcpu/arm/fm3
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1861 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-22 00:46:34 +00:00
luohui2320@gmail.com 70a7964f2c update rtconfig.h
supporting multi-thread to access the fat file system
setting RT_LWIP_TCP_WND to 8k for improving the throughput

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1860 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-21 15:12:11 +00:00
dzzxzz 3a05e09c5c delete the re-defined macro
#define RT_LWIP_DNS

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1859 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-21 10:07:04 +00:00
dzzxzz 8b64d24bd4 all STM32 cortex-m3 branches using /libcpu/arm/cortex-m3 instead of /libcpu/arm/stm32
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1858 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-21 09:44:52 +00:00
dzzxzz d92e980905 fixed scons + keil compiling error for fm3/mb9bf500r
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1856 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-21 07:45:27 +00:00
wuyangyong dd47ccd6ca update bsp lpc2478.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1853 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-20 09:11:13 +00:00
wuyangyong cd49d73535 update bsp lpc2148.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1851 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-20 08:44:36 +00:00
nongli1031@gmail.com ae73bd59bc modify format
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1844 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-18 05:13:10 +00:00
nongli1031@gmail.com 08f25161d9 porting for microblaze. nl1031
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1843 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-17 04:14:22 +00:00
onelife.real 43ece86f11 *** EFM32 branch ***
Add missing folder

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1842 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-16 03:14:53 +00:00
onelife.real 3c3b3697ad *** EFM32 branch ***
1. Upgrade EFM32 driver libraries (CMSIS and efm32lib) to version 2.3.0 (from version 2.2.2) 
2. Add EFM32GG-DK3750 development kit support (driver version 1.2.1) 
3. Add giant gecko (EFM32GG) support
4. Add LEUART module driver (max 9600bsp)

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1839 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-16 01:05:50 +00:00
bernard.xiong@gmail.com 7dc3ec9b75 update SrcRemove function in building script.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1831 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-10 13:15:22 +00:00
chaos.proton@gmail.com fe3b233de4 set DMA_Configuration.DMA_BufferSize to 1
DMA_Init asserts DMA_BufferSize >=1.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1822 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-01 10:00:20 +00:00
chaos.proton@gmail.com 48d4e00ee8 clear DMA1_FLAG_TC2 in usart3 initialization
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1821 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-01 09:50:58 +00:00
fengzi.rtt@gmail.com 6cf91f04f6 fix 1732, move"#endif" to line 103 from line 106 in rtthread_startup
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1820 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-30 09:21:27 +00:00
onelife.real ed9828226a *** EFM32 branch ***
1. Move file, "start_gcc.S", from "libcpu/arm/cortex-m3/" to "bsp/efm32/" 
2. Upgrade EFM32 driver libraries (CMSIS and efm32lib) to version 2.2.2 
3. Upgrade EFM32 G2xx development kit drivers (EFM32_Gxxx_DK) to version 1.7.2 (from version 1.6.0) 
4. Modify the files ("drv_usart.c" and "drv_iic.c") according to the driver libraries upgrading 

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1818 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-29 09:15:10 +00:00
fengzi.rtt@gmail.com 1b3411abde git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1817 bbd45198-f89e-11dd-88c7-29a3b14d5316 2011-11-29 08:06:46 +00:00
wuyangyong bff77ee86b update rtc driver.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1811 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-28 05:58:21 +00:00
wuyangyong 88f891066d update rtc driver.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1808 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-26 09:52:52 +00:00
wuyangyong fbd0b064c4 update stm32f107 ethernet driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1804 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-25 06:55:20 +00:00
wuyangyong 7eaac75bcb update stm32f107 bsp
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1803 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-25 06:37:32 +00:00
yungchi@cs.nctu.edu.tw 336a94a15e Add SPI FRAM driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1796 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-20 18:47:31 +00:00
yungchi@cs.nctu.edu.tw 1dd92a391d Update eeprom driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1795 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-20 18:44:10 +00:00
chaos.proton@gmail.com 3efb7d5cda remove the unused key.c and rt_hw_key_init
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1794 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-17 11:28:27 +00:00
chaos.proton@gmail.com 22a9d6f309 revert commit 1791
That commit broke bsp/stm3210x. The cause is that we calls rtgui_system_init in rtgui_startup. But the calibration starts before rtgui_startup and rtgui_system_init. This lead to crash.

One way to deal with it is move rtgui_system_init out of rtgui_startup and call it manually. But it will affect other bsps. So just revert the "bad" commit.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1793 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-16 03:12:04 +00:00
chaos.proton@gmail.com 4e8d6639f0 bsp/stm32f10x: calibrate touch screen before starting GUI
If we do not calibrate the touch screen, GUI is unusable. This patch use a semaphore to block GUI thread until calibration finish.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1791 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-08 09:33:18 +00:00
chaos.proton@gmail.com 065c3fb834 fix typo in last commit...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1790 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-08 09:19:41 +00:00
chaos.proton@gmail.com 93104fb4fc bsp/stm32f10x/touch: return early when lost the position
Check whether finger is still on the screen. If not, we couldn't determine where the user has touched. It's better to return early rather than give garbage values.

A more sensitive solution might be caculate the position once the interrupt occured. But it's not anti-shake friendly.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1789 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-08 07:52:20 +00:00
chaos.proton@gmail.com 44b91706e2 bsp/stm32f10x/touch.c: better naming
Rename flag to touched_down.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1788 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-08 07:41:42 +00:00
bernard.xiong e7eaf16bf4 fixed object name copy bug; update AT91SAM7S64 branch.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1787 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-08 04:06:12 +00:00
wuyangyong 04ab961b6f update lpc1788 bsp
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1786 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-05 10:35:28 +00:00
wuyangyong 3763021cd5 add applications (bsp lpc1788)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1785 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-05 10:28:43 +00:00
wuyangyong d246a71b91 update lpc1788 bsp
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1784 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-05 10:25:23 +00:00
chaos.proton@gmail.com f344f00278 bsp/stm32f10x/touch.c: normalize the calibrated touch position
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1783 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-02 12:14:57 +00:00
chaos.proton@gmail.com e803640027 avoid divided by zero error
The old code only checks touch->max_x > touch->min_x but not touch->max_x == touch->min_x. Thus may lead to divided by zero error.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1782 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-02 08:58:34 +00:00
chaos.proton@gmail.com 9de3512c8a fix ads7843 data fetching
The old code forgot to drop the MSB in the very first byte retrieved from ads7843 after a control byte. This will lead to data corruption especially in 16-Clocks per conversion mode.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1781 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-02 08:17:40 +00:00
wuyangyong b1531d316d update update stm32f40x bsp
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1775 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-27 02:40:15 +00:00
wuyangyong a5f688d282 update stm32f40x bsp
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1774 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-27 02:31:34 +00:00
luohui2320@gmail.com b488c4fa0a update rtconfig.py for AT91SAM9260, when using Keil MDK compiler
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1772 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-23 09:54:20 +00:00
luohui2320@gmail.com 49ddb7e0f5 Add SDIO stack support, current only support SDSC and SDHC card
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1771 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-23 09:46:20 +00:00
bernard.xiong@gmail.com 09e826e09a add STM32F40x porting (uncompleted)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1769 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-20 23:38:20 +00:00
wuyangyong 3d9e766c86 update lpc176x eth driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1766 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-14 15:07:45 +00:00
wuyangyong 2d98e4990e add lpc178x eth driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1765 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-14 09:18:11 +00:00
wuyangyong 01a17f4f38 update lpc178x bsp
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1764 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-14 05:43:51 +00:00
wuyangyong 5de50e1422 update lpc178x bsp
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1763 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-13 18:04:20 +00:00
wuyangyong 53ae9bf2e1 update lpc176x bsp
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1762 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-13 17:54:59 +00:00
wuyangyong eb3ae3e3ca update LPC176X CMSIS
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1760 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-13 17:39:35 +00:00
wuyangyong eb0af4e41e add lpc1788
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1759 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-13 17:15:32 +00:00
wuyangyong f9a41a9686 add sdram driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1754 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-11 05:06:46 +00:00
wuyangyong c17931ad60 update enc28j60 driver. thank jeames:http://www.ourdev.cn/bbs/bbs_content.jsp?bbs_sn=4974037
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1753 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-11 02:57:51 +00:00
wuyangyong 91806b0420 update lm3s9b9x eth driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1751 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-11 02:33:54 +00:00
wuyangyong 402102457a update lm3s9b9x eth driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1750 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-11 02:13:45 +00:00
bernard.xiong@gmail.com 1785791733 Change source code to UNIX end of line
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1743 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-08 13:23:20 +00:00
dzzxzz 0d2624313a fixed a potential issue in m16c porting:
the variable rt_thread_switch_interrupt_flag was treated as a word in interrupts.asm
but it wad defined as a byte in cpuport.c
rt_uint8_t rt_thread_switch_interrupt_flag;

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1741 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-07 03:04:15 +00:00
dzzxzz e97c87d6a0 fixed a compile error while using scons+iar for m16c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1740 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-07 03:00:12 +00:00
wuyangyong 1e712ebcdc update stm32f207 SConscript
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1735 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-30 06:32:07 +00:00
wuyangyong 85d57f4bee update stm32f10x project
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1734 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-30 06:13:05 +00:00
wuyangyong 9358c96e56 update stm32f107 project
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1733 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-30 04:27:02 +00:00
qiuyiuestc@gmail.com 1d2203fce0 add rt_module_system_init in rtthread_startup
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1732 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-28 04:11:12 +00:00
wuyangyong fef0997a37 update stm32 uart driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1727 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-24 17:15:22 +00:00
wuyangyong 10e4847880 update stm32f107 eth driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1726 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-24 06:07:33 +00:00
wuyangyong 86b62f9026 update stm32f107 eth driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1725 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-24 03:24:39 +00:00
wuyangyong 3c0f80f2f7 update stm32 project and remove 107 eth driver from 10x
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1724 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-24 02:51:53 +00:00
dzzxzz 2ab9a1602e fixed compiling error in lpc122x branch
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1721 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-23 05:23:46 +00:00
dzzxzz 9f053f46e3 fixed compiling error in stm32f20x branch
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1720 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-23 04:55:00 +00:00
yungchi@cs.nctu.edu.tw 6f6903688b add header notes
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1717 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-21 09:48:45 +00:00
yungchi@cs.nctu.edu.tw a5cec9ca65 Create a driver diectory
Add I2C driver and a 24LC024H i2c eeprom usage example
Now only support I2C1, not yet fully support I2C2

****GPIO Config****
I2C1 SDA -> PB8
I2C1 SCL -> PB9

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1716 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-21 07:50:43 +00:00
yungchi@cs.nctu.edu.tw c883902d0b git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1711 bbd45198-f89e-11dd-88c7-29a3b14d5316 2011-09-18 18:02:54 +00:00
yungchi@cs.nctu.edu.tw 210f0b879a 1. Port SD Card Driver
2. Supported RTC Clock

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1710 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-18 18:00:23 +00:00
wuyangyong 2d3028d9cf update pic32ethernet
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1709 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-16 12:24:57 +00:00
qiuyiuestc@gmail.com d0765423a2 add readme document
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1706 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-11 01:30:44 +00:00
dzzxzz 46a823ed91 improve NEC V850 porting
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1705 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-09 10:08:52 +00:00
dzzxzz f7d1ca323b fixed a spelling error
rt_thread_switch_interrput_flag -> rt_thread_switch_interrupt_flag

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1704 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-09 07:30:39 +00:00
bernard.xiong@gmail.com 6c98ecd729 fixed sys tick issue.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1702 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-07 15:31:18 +00:00
wuyangyong a722f6ff01 update PIC32
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1700 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-06 15:52:43 +00:00
wuyangyong 0f50919f30 update PIC32 example project
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1698 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-05 15:20:56 +00:00
dzzxzz e8a462b5c7 optimize porting for M16C
void rt_hw_context_switch(rt_uint32_t from, rt_uint32_t to);

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1688 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-01 08:25:54 +00:00
dzzxzz 61d969f1b9 merge stack.c and interrupt.c into cpuport.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1687 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-01 08:05:21 +00:00
wuyangyong cf52e57490 update pic32ethernet
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1684 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-01 05:38:34 +00:00
luohui2320@gmail.com da74af2347 AT91SAM9260 branch
1. Support Keil MDK development environment
2. Modify EMAC driver according to the changes of lwIP API in reversion 1668 and 1669

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1681 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-23 14:48:10 +00:00
onelife.real 1f1c6fb47e *** EFM32 branch ***
1. Add the missing file, "mma7455l.h"
2. Modify Ethernet DEMO according to the changes of lwIP API in reversion 1668 

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1680 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-23 04:36:33 +00:00
dzzxzz a97d7d29a2 fix scons+iar compile error in Fujistu FM3 branch
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1679 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-23 02:31:35 +00:00
onelife.real 11488d143a *** EFM32 branch ***
1. Change the usage of the second parameter of Read and Write functions in IIC driver 
   - to "Slave address" from (seldom used) "Offset" 
2. Add a timer for IIC driver to prevent from forever waiting
3. Add digital (IIC) interface support for accelerometer driver (Freescale MMA7455L)

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1678 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-23 00:59:24 +00:00
dzzxzz c834d7cdbd add display controller driver for LS1B demo board
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1672 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-17 05:43:30 +00:00
dzzxzz 922b40f614 add Loongson 1B porting
based on LS1G DEMO BOARD V1.1

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1667 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-08 09:24:44 +00:00
magicoe@163.com a39d7f73ad 2011.08.07 Magicoe Added PK40X256VLQ100
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1666 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-07 04:26:49 +00:00
onelife.real aa24c176e7 *** EFM32 branch ***
Modify IIC and USART drivers to avoid compiling error.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1655 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-29 07:24:09 +00:00
onelife.real 19e3ce5ee3 *** EFM32 branch ***
1. Add interrupt context check function (context_gcc.S)
2. Add lock (semaphore) for IIC, USART and Ethernet drivers to prevent simultaneously access
3. Add multiple channels support for scan mode of ADC driver
4. Modify miscellaneous drivers according to ADC driver changes
5. Add SWO output enable function (board.c)
6. Disable all interrupts in GPIO interrupt handler (hdl_interrupt.c)
7. Add two Ethernet utility functions (drv_ethernet.c)
8. Add accelerometer driver (analog output)
9. Add accelerometer demo (draft, application.c)

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1654 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-29 02:47:37 +00:00
wuyangyong a8410acdaa add stm32f2xx eth driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1649 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-21 17:06:41 +00:00
wuyangyong aeff05a873 remove old eth driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1648 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-21 17:06:29 +00:00
qiuyiuestc@gmail.com 9eed24e9de fix compiling error
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1647 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-21 15:29:13 +00:00
wuyangyong 446dafebad update touch.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1645 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-20 03:17:18 +00:00
andrade.manoel@gmail.com ea6e56e063 git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1641 bbd45198-f89e-11dd-88c7-29a3b14d5316 2011-07-19 19:57:41 +00:00
andrade.manoel@gmail.com 4ed98f2d63 git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1640 bbd45198-f89e-11dd-88c7-29a3b14d5316 2011-07-19 19:55:13 +00:00
andrade.manoel@gmail.com eaeaa71ab7 git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1639 bbd45198-f89e-11dd-88c7-29a3b14d5316 2011-07-19 19:51:17 +00:00
wuyangyong ef90978b16 update calibration
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1635 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-17 06:01:58 +00:00
wuyangyong 71f793e3e9 update mini2440
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1634 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-17 05:57:07 +00:00
bernard.xiong a30661ebc5 remove the unnecessary variable.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1630 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-15 05:45:43 +00:00
luohui2320@gmail.com ce5eddd0a5 initialize lwip and emac driver in the process context
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1625 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-11 14:33:55 +00:00
onelife.real 30d072eee8 *** EFM32 branch ***
1. Solve the problem mentioned in revision 1623 (runtime error) 
   - Cause: In the EFM32 demo application, some TCP/IP functions are called in non-task context (e.g. "tcp_new()"). And after revision 1621, those functions will trigger the scheduler ("rt_schedule()") which seems to be triggered only in task context. 

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1624 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-11 06:16:26 +00:00
onelife.real 2156e22b3c *** EFM32 branch ***
1. Remove "RT_USING_NETUTILS" defined in "rtconfig.h" to avoid compiling error
   - Warning: Due to the memory limitation, running lwIP on Gecko devices (EFM32G) is not properly tested.
   - Warning: To test lwIP, please revert the file, "components\net\lwip\src\arch\sys_arch.c", to revision 1620. There is a runtime error when working with the latest revision of that file. This error is currently under evaluation.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1623 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-08 08:24:33 +00:00
onelife.real ef6bbc34fa *** EFM32 branch ***
1. Add ENC28J60 Ethernet controller driver 
2. Add lwIP support (Please read "Readme.txt")
3. Add simple Http server demo application
4. Modify USART device write function to avoid sleep in ISR
5. Fix a bug in USART driver when using compiler optimization
6. Modify to make use the start-up code in libraries
7. Change the default build option for squeezing the executable file size
8. Modify source code alignment

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1622 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-08 07:13:20 +00:00
qiuyiuestc@gmail.com 3bc0dd4a82 fix svc stack size
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1615 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-04 14:48:24 +00:00
luohui2320@gmail.com 355246ba48 fix svc stack size
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1614 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-04 14:29:53 +00:00
Kyle.Hu.GZ@gmail.com 93b6b755bd Added scons scripts.
Rename and updated libcpu/avr32/uc3/exception.x (with .irp macro) to exception_gcc.S (without .irp macro) for better compatibility.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1613 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-04 10:22:15 +00:00