Commit Graph

3049 Commits

Author SHA1 Message Date
dzzxzz@gmail.com a2c1785648 fixed a eclipse compiling warning:
in fm3_uart.c Line 599
case label value exceeds maximum value for type

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2152 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-04 03:20:12 +00:00
dzzxzz@gmail.com 43f2bfc013 add a new command list_memheap() into finsh
and unify the coding style in memheap.c

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2151 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-03 06:16:30 +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
dzzxzz@gmail.com 907bb8c7fd unify coding style in timer.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2149 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-02 08:40:29 +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
wuyangyong a9aa8d503e add libcpu/cortex-m0.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2142 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-31 17:41:58 +00:00
goprife@gmail.com 020c380b83 1. add mtd nor files. 2 fixed include head files in rtdevice.h and mtd_nand.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2141 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-30 13:44:13 +00:00
goprife@gmail.com 9b2ea9bc0f 1. change mtd to mtd_nor, 2. update jffs2
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2140 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-30 13:39:39 +00:00
goprife@gmail.com a512661b9f delete the old version of mtd
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2139 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-30 13:36:41 +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
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
bernard.xiong@gmail.com e86bd68278 fixed the mismatch of device definitions in rtdef.h and finsh shell; add line comment in finsh shell.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2136 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-30 02:42:26 +00:00
wuyangyong 2c82d4945b use rt_deice API.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2135 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-29 03:21:04 +00:00
iamyhw@gmail.com 506a68edee uniform resource name, _rtgui_type => _rtgui_object
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2134 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-29 00:46:09 +00:00
iamyhw@gmail.com b20311198a fix compile error,restore old name,conflicting.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2133 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-29 00:37:10 +00:00
iamyhw@gmail.com 5653251c20 unified naming rules,_rtgui_type => _rtgui_object
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2132 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-29 00:12:26 +00:00
chaos.proton@gmail.com 87e992a574 fix various bugs found by amsl
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2131 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-27 16:34:19 +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
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
luohui2320@gmail.com 55460652d3 ADD I2C driver framework and I2C gpio driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2128 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-22 17:32:32 +00:00
bernard.xiong@gmail.com c891da75df fixed recv issue in tcp client example.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2126 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-18 08:44:22 +00:00
bernard.xiong@gmail.com 844bca0bd6 fixed recv issue in tcp server example.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2125 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-18 08:42:58 +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
bernard.xiong@gmail.com 03668c93b9 Changed SPI message to message list. Added take/release SPI device/bus interface.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2123 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-18 05:37:09 +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 648b45ee26 git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2120 bbd45198-f89e-11dd-88c7-29a3b14d5316 2012-05-16 12:26:39 +00:00
bernard.xiong@gmail.com d82a8cce21 fixed module unload issue; code cleanup for timer.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2119 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-16 06:18:58 +00:00
dzzxzz@gmail.com 55f5069a5e fixed the return value in rt_spi_bus_attach_device()
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2118 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-15 10:44:39 +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 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 b14044212b remove soft timer tick increase
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2108 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-05 01:45:17 +00:00
qiuyiuestc@gmail.com e01d425bf3 add "thread->error = RT_EOK;" in rt_completion_wait
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2107 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-01 17:52:48 +00:00
bernard.xiong@gmail.com 30a2731d43 improve the command line auto-complete feature.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2106 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-29 12:19:29 +00:00
wuyangyong 04a79d24cf fix extern list_thread return type by arda.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2104 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-29 02:11:40 +00:00
bernard.xiong@gmail.com 3ac2f2b094 fixed finsh_var_delete issue which is found by Grissiom.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2103 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-26 22:15:27 +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
bernard.xiong@gmail.com 209da6823c Use precision message output in command list.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2099 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-23 06:04:12 +00:00
bernard.xiong@gmail.com da44d15132 Added device driver's IPC.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2098 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-23 06:02:28 +00:00
chaos.proton@gmail.com 5e1494dd32 remove rtgui-win
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2097 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-20 07:16:54 +00:00
chaos.proton@gmail.com df8bebdc55 fix compiling warnings and errors ifndef RTGUI_USING_SMALL_SIZE
Thank lgnq for pointing out it.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2096 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-20 06:47:38 +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