Commit Graph

765 Commits

Author SHA1 Message Date
dzzxzz@gmail.com ec1f35670d reformat the coding style
using -RT_ERROR instead of RT_ERROR for the return value


git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2311 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-29 00:14:29 +00:00
wuyangyong 2aab960999 fixed rt_spi_release_bus assert error.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2310 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-28 15:26:19 +00:00
sc943313837@gmail.com 9809c138b7 add open operation
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2309 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-27 16:31:07 +00:00
sc943313837@gmail.com d189f8c189 delete the config of PM
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2291 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-15 12:54:18 +00:00
sc943313837@gmail.com f4c975bf8c delete pm.h
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2290 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-15 12:52:48 +00:00
sc943313837@gmail.com 6a58ebee1f 添加PM头文件
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2289 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-15 12:34:15 +00:00
sc943313837@gmail.com a1519350a4 添加接口move_page,添加mtd_nand成员oob_free,更改成员block_size为pages_per_block
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2288 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-15 12:23:04 +00:00
dzzxzz@gmail.com c6c2a504f6 re-format the coding style in serial.h
1, Tabs to Spaces
2, File Format(CR/LF) using UNIX style
3, maximum line length = 80

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2282 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-07 09:00:33 +00:00
dzzxzz@gmail.com e699e09a11 re-format the coding style in serial.c
1, Tabs to Spaces
2, File Format(CR/LF) using UNIX style
3, maximum line length = 80

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2281 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-07 08:54:56 +00:00
dzzxzz@gmail.com fd425e792d re-format the coding style in spi.h
1, Tabs to Spaces
2, File Format(CR/LF) using UNIX style
3, maximum line length = 80

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2275 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-06 08:09:13 +00:00
dzzxzz@gmail.com 20de2ffa18 change file format(CR/LF) from PC to Unix/Mac OS X
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2274 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-06 07:23:11 +00:00
dzzxzz@gmail.com a4456b86d5 re-format the coding style in spi_core.c
1, Tabs to Spaces
2, File Format(CR/LF) using UNIX style
3, maximum line length = 80

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2273 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-06 07:21:35 +00:00
dzzxzz@gmail.com c1a64657f6 re-format the coding style in spi_dev.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2272 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-06 06:02:14 +00:00
luohui2320@gmail.com d5a0362bb4 update sdio framwork
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2261 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-26 11:39:14 +00:00
dzzxzz@gmail.com 6c43028227 fix a used uninitialized bug in components/drivers/serial.c reported by Grission
and re-format the coding style

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2247 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-06 07:34:14 +00:00
qiuyiuestc@gmail.com 03de4f8a48 add rt_usb_adk_set_string declaration
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2238 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-28 03:21:49 +00:00
qiuyiuestc@gmail.com 17ed1ba6b9 add rt_usb_adk_set_string API
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2237 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-28 02:59:13 +00:00
qiuyiuestc@gmail.com 1016e3ae5b add ADK protocol implement & format code style
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2219 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-16 02:20:20 +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
qiuyiuestc@gmail.com 5e5362202e add usb_host.h file
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2207 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-07 09:04:27 +00:00
qiuyiuestc@gmail.com 64c485f5fc reconstruct USB host project directory
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2206 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-07 08:49:28 +00:00
bernard.xiong@gmail.com ee546fb0d4 change rt_memcpy to memcpy in ringbuffer implementation.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2199 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-02 15:51:58 +00:00
dzzxzz@gmail.com b5ce8cb195 correct the path for I2C device driver framework
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2181 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-25 03:50:04 +00:00
bernard.xiong@gmail.com 9d53578c54 Fixed comments of file description.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2172 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-18 07:54:24 +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
dzzxzz@gmail.com 0fde4d778a don't make a empty directory "DeviceDrivers" in IAR project while RT_USING_MTD_NOR or RT_USING_MTD_NAND was not defined in rtconfig.h
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2169 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-18 02:54:01 +00:00
wuyangyong 7582459691 add RTC public function.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2164 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-14 13:17:50 +00:00
wuyangyong 9e3c72a635 fixed a eclipse compiling warning.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2163 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-14 12:18:52 +00:00
luohui2320@gmail.com 85169d7fe8 update I2C driver, which now just use small memory
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2159 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-13 16:55:46 +00:00
qiuyiuestc@gmail.com 070e54a17b add usbhost stack
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2154 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-05 00:07:50 +00:00
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 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
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
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 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
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
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
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 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
luohui2320@gmail.com 06d45f0c42 use rt_list in rtservice.h
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2091 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-17 15:18:50 +00:00
luohui2320@gmail.com a8f967f26a fix compiling warning
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2052 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-14 11:19:16 +00:00
luohui2320@gmail.com 9c804a28a4 update SDIO driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2027 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-08 15:20:36 +00:00
goprife@gmail.com 9e6d012535 add mtd_nand interface code
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2016 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-02 16:34:15 +00:00
bernard.xiong@gmail.com 7022b8285f remove alignment memory allocation from SDIO framework.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1995 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-14 07:59:50 +00:00
luohui2320@gmail.com 9ca7f9dc6b fix a bug in SDIO driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1989 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-04 15:59:54 +00:00
luohui2320@gmail.com 53a51ebff8 update SDIO driver, fix some bugs
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1988 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-04 13:17:11 +00:00
luohui2320@gmail.com 36c42a7488 Modify the SDIO driver registration interface
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1985 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-02 16:20:39 +00:00
luohui2320@gmail.com 8b68c3aaa4 rename some variable and add comment
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1982 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-29 16:25:48 +00:00
luohui2320@gmail.com cc4874a8b6 update sdio driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1981 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-29 15:41:58 +00:00
luohui2320@gmail.com 79a699b7bf update sdio driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1980 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-29 13:55:52 +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
bernard.xiong@gmail.com 68384c37c4 change RT_USING_MMCSD to RT_USING_SDIO;
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1969 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-19 09:10:07 +00:00
bernard.xiong@gmail.com 3c6c8063ce code cleanup.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1966 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-18 15:04:19 +00:00
dzzxzz@gmail.com 70463829c5 if the D-cache is enabled, make sure the buffer used by DMA is aligned to 32 bytes
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1945 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-13 11:12:57 +00:00
bernard.xiong@gmail.com 4f458c68d2 add MTD device.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1939 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-07 03:55:01 +00:00
bernard.xiong@gmail.com eedd490bd6 add const attribute to the ops.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1937 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-03 14:03:51 +00:00
bernard.xiong@gmail.com 2f9cd34325 merge 1.0.x to 1.1.x for SD driver.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1926 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-29 08:11:21 +00:00
luohui2320@gmail.com c53d3be4e1 update sdio/SConscript file
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1914 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-09 16:32:57 +00:00
bernard.xiong@gmail.com 2b8c20af4b add SPI framework.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1911 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-08 14:16:51 +00:00
bernard.xiong@gmail.com 5588bbe4d2 add some device driver header files.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1910 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-08 14:14:54 +00:00
bernard.xiong@gmail.com 94d79d70c6 rename mmcsd to sdio.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1908 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-08 03:11:45 +00:00
bernard.xiong@gmail.com b0a1f0860a move to drivers directory.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1907 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-08 03:09:34 +00:00
bernard.xiong@gmail.com 8b091fc74a add drivers directory.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1797 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-22 22:28:51 +00:00