Bernard Xiong
c442db81fc
[DeviceDrivers] Fix the re-work issue in workqueue.
2017-02-27 00:58:11 +08:00
Bluebear233
1e6137268d
Update i2c_core.c
...
修复I2C读写函数,I2C传输失败时返回成功的问题
2017-02-20 11:32:13 +08:00
urey@ez-iot.com
564e7aefce
添加 w25 mtd设备驱动
2017-02-13 19:37:53 +08:00
bernard
b4757b950f
[DeviceDrivers] Add critical_work for wqueue.
2017-01-31 13:17:04 +08:00
bernard
385792bb68
[DeviceDrivers] Add SDIO_CCCR_REV_3_00 definition.
2017-01-31 13:16:34 +08:00
bernard
d692001fd5
[tools] Add KConfig files.
2017-01-31 11:54:12 +08:00
Aubr.Cool
6fa8bfd92a
prevent change serial rx bufsz when serial is opened
2017-01-19 14:27:05 +08:00
armink
aa662dccef
[DeviceDrivers]Remove dataqueue waiting_lwm flag
2016-11-02 08:40:30 +08:00
armink
c414bdaac8
[DeviceDrivers]Modify the dataqueue comments.
2016-11-02 08:17:24 +08:00
armink
6fe47a9537
[DeviceDrivers]Improve dataqueue resume suspended thread code. Thanks for @grissiom suggestion.
2016-10-31 15:08:55 +08:00
armink
0970cf03a4
[DeviceDrivers]Reset dataqueue waiting_lwm flag when suspended_push_list is empty
2016-10-31 14:47:48 +08:00
armink
bda6543305
[DeviceDrivers]Fix dataqueue irq not resume bug.
2016-10-29 14:35:07 +08:00
armink
7860ea4f83
[DeviceDrivers]Fix dataqueue calculate put and get buffer index bug.
2016-10-19 10:54:22 +08:00
armink
f2c31eebb5
[DeviceDrivers]Fix dataqueue's bug when push data is timeout the lwm flag isn't reset.
2016-10-19 10:49:42 +08:00
armink
270285217d
[DeviceDrivers]Make sure rt_sfud_flash_probe device must be SPI device.
2016-10-14 22:51:18 +08:00
armink
a4bc38ad6b
[DeviceDrivers]Update SFUD library to lastest version.
2016-10-14 22:48:36 +08:00
armink
b2e14f7641
[DeviceDrivers]Modify SFUD's config for suitable more compilers.
2016-10-10 20:26:21 +08:00
armink
32bf9e29b7
[DeviceDrivers]Change SFUD 'sf' command tips.
2016-10-10 20:10:41 +08:00
armink
1d71f58350
[DeviceDrivers]Add SPI flash probe and delete function to SFUD driver.
2016-10-10 10:24:30 +08:00
armink
16dad06fc7
[DeviceDrivers]Add SFUD(Serial Flash Universal Driver) SPI Flash driver for using RTT device. It makes RT-Thread support more type SPI Flash.
2016-10-09 09:06:01 +08:00
Bernard Xiong
99481cd0ac
[DeviceDrivers] uart configure issue.
...
uart configure shall not been performed if uart is not open.
2016-06-13 13:31:13 +08:00
Bernard Xiong
07c0e13060
Merge pull request #632 from armink/master
...
Improve serial DMA rx mode. #628
2016-05-20 14:26:23 +08:00
Bernard Xiong
c5949c2736
[DeviceDrivers] Update SPI flash drivers.
2016-05-20 14:07:32 +08:00
Bernard Xiong
ac3af54a7e
[DeviceDrivers] Use PBUF_POOL in enc28j60 drivers.
...
patched by FH.
2016-05-20 12:22:55 +08:00
Bernard Xiong
f005d963e2
[DeviceDrivers] Add more baud rate in serial.
2016-05-20 12:22:16 +08:00
Bernard Xiong
02a5cebc6d
[DeviceDrivers] Add MMC/SD change support.
...
Add MMC/SD change support, which patched by FH.
2016-05-20 12:20:35 +08:00
armink
c3da9dda7b
[DeviceDrivers] Add fifo mode to serial DMA rx when serial->config.bufsz != 0.
2016-05-14 11:43:06 +08:00
armink
4c9b77ded6
[DeviceDrivers]Fix dma_transmit callback parameter type error. #628
2016-05-11 13:34:18 +08:00
Bernard Xiong
a3daa62151
[DeviceDrivers] Add RT_MTD_EECC_CORRECT code in MTD nand.
2016-04-18 13:56:38 +08:00
gbcwbz
0d63eb5f6d
fix hardfault when RT_CAN_USING_BUS_HOOK is enabled in bsp/stm32f10x
...
function `rt_pin_write` is invoked by function `can_bus_hook`, and it should to be initialized by gpio.c.
but gpio.c was not added in SConscript
2016-04-14 23:47:32 +08:00
Bluebear233
2b1983992f
Update serial.c
...
fix reset serial receive interrupt flag when close serial
2016-04-09 20:58:10 +08:00
Bernard Xiong
048ffb481a
[DeviceDrivers] Add umount operations in SDCard block device.
2016-04-05 11:11:10 +08:00
Bernard Xiong
8043186020
[DeviceDrivers] Add audio.h header file.
2016-04-05 11:10:08 +08:00
Bernard Xiong
ada2c7a3f5
[DeviceDrivers] Add audio header file.
2016-04-05 11:02:04 +08:00
Bernard Xiong
3748008651
[DeviceDrivers] Add card remove operations in MMC/SD.
2016-04-05 11:01:49 +08:00
Bernard Xiong
24d089d80a
[DeviceDrivers] Remove the tail space
2016-03-01 10:57:25 +08:00
Bernard Xiong
eefd87284c
[DeviceDrivers] fix the compiling warning in MMC/SD
2016-03-01 10:55:16 +08:00
Bernard Xiong
9d46ae69a7
[DeviceDrivers] fix the poll_rx issue in serial when there is no data.
2015-11-10 10:24:35 +08:00
Bernard Xiong
44ad3d1cb9
[DeviceDrivers] Remove open_flag assertion.
2015-09-24 20:46:59 +08:00
Bernard Xiong
342e8d688d
Merge pull request #546 from heyuanjie87/ForPullRequest
...
[DeviceDrivers] Add hardware timer framework
2015-09-09 22:30:45 +08:00
heyuanjie87
984a7ba051
修改说明文档
2015-09-09 10:26:42 +08:00
weety
f327e7c98f
Delete unused file.
2015-09-07 15:03:44 +08:00
heyuanjie87
efc1b058ac
添加说明文档
2015-09-07 13:27:05 +08:00
heyuanjie87
d19f424909
简化操作接口
2015-09-06 15:05:47 +08:00
weety
ebea51e8a8
Add more spi mode.
2015-09-04 22:47:48 +08:00
weety
b71cb4c09d
Add dm365 porting.
2015-09-04 12:30:20 +08:00
heyuanjie87
c84887d021
加入定时器设备
2015-09-02 22:00:24 +08:00
quintin
23b5fe5239
fix DMA tx mod tx_dma->activated flag init bug.
2015-08-31 14:57:01 +08:00
Bernard Xiong
0690980fb6
Merge pull request #539 from SchumyHao/master
...
add w25q80 support to spi flash
2015-08-24 10:51:03 +08:00
Bernard Xiong
e029f14b46
[DeviceDrivers] fix sd->drv issue in sdio
2015-08-09 11:23:16 +08:00
aozima
3ad3066c4b
fixed rt_can_close issues.
2015-07-21 17:04:22 +08:00
aozima
defa6f37ff
[DeviceDriver] update CAN baudrate enum.
2015-07-08 11:26:20 +08:00
Aubr.Cool
7051f01f48
[DeviceDriver]can add bus_hook
2015-07-07 12:06:24 +08:00
Aubr.Cool
5f860e8f94
[DeviceDriver]add missing hdr define
2015-07-07 12:01:56 +08:00
Aubr.Cool
0f20bf12fd
[DeviceDriver]correct can critical problems
2015-07-07 11:50:39 +08:00
BernardXiong
2ca3ceab70
[DeviceDrivers] code cleanup for CAN
2015-07-06 18:24:56 +08:00
BernardXiong
91d866d81a
[DeviceDrivers] Use mutex to lock can_open/close
2015-07-06 18:11:46 +08:00
BernardXiong
1488568801
[DeviceDrivers] code cleanup for CAN driver and fix some critical issue
2015-07-06 10:38:07 +08:00
Aubr.Cool
9cbf30a767
correct can hdr defines
2015-07-04 00:25:05 +08:00
Aubr.Cool
67b6b30e88
add rtthread.h include for can.h
2015-06-30 14:48:07 +08:00
Aubr.Cool
b3f0737a99
correct can compiler error and warnings
2015-06-30 14:12:30 +08:00
weety
28f2fbd4cc
1.Fixed sdmmc cmd retries issue;
2015-06-22 21:28:42 +08:00
weety
41597e8793
Add mmc and emmc drivers.
2015-06-20 23:23:32 +08:00
Aubr.Cool
c3e4fd079c
correct can hdr read error
2015-06-16 08:49:25 +08:00
Aubr.Cool
9ea3219ab7
Add can driver doc
2015-05-15 11:34:43 +08:00
Aubr.Cool
c7d703158a
Add SConscript for can
2015-05-15 08:00:14 +08:00
Aubr.Cool
8e29e3d98b
add author information
2015-05-15 07:58:21 +08:00
Aubr.Cool
eb56b832ef
Add Can Drv
2015-05-14 16:52:48 +08:00
BernardXiong
2f5c5b676d
[DeviceDrivers] Add GD25Q flash id in w25qxx.c
2015-05-13 21:28:02 +08:00
Bernard Xiong
77b5098ae2
[DeviceDriver] Add more exported symbols for completion.
2015-05-11 12:33:15 +08:00
Bernard Xiong
452432a15b
[Sensor] Fix the call back issue in sensor.
2015-05-04 20:44:47 +08:00
Bernard Xiong
6459839f28
Add extern declaration for C++.
2015-04-24 11:48:25 +08:00
SchumyHao
88936f0836
format
2015-04-16 21:08:07 +08:00
SchumyHao
7d341d4e6e
add w25q80 support to spi flash
2015-04-16 21:06:54 +08:00
ItsEddy
16bf2e7255
[DeviceDriver] Fix inverted logic on SConscript
...
Remove dataqueue/pipe if not enable RT_USING_HEAP, supply the missing `not`.
2015-04-04 02:17:26 +08:00
Bernard Xiong
40db28cfec
[DeviceDriver] Remove dataqueue/pipe if not enable RT_USING_HEAP
2015-03-31 06:17:49 +00:00
Aubr.Cool
5d6ac1ed37
correct rx_fifo init size error
2015-03-26 13:26:13 +08:00
Aubr.Cool
7caabd2b7a
mv device ctl cmd macros from serial.h to rtdef.h
2015-03-26 08:40:36 +08:00
KodakWang
29fd52dfb8
Update completion.c
...
fix: completion wait after, maybe can't clean the flag.
2015-03-24 15:54:08 +08:00
Bernard Xiong
827ff71933
Merge pull request #435 from AubrCool/fix-pinregisternameproblems
...
[BSP] Correct pin register name problems
2015-03-23 20:55:34 +08:00
Aubr.Cool
6dc5851c55
Correct pin register name problems
2015-03-23 09:38:09 +08:00
Bernard Xiong
767c16d596
[USBH] fix the spelling wrong
2015-03-19 08:52:28 +00:00
Bernard Xiong
3462537bdd
[DeviceDrivers] Update SConcript file for sensor code
2015-02-01 08:50:54 +00:00
bernard
94e5d1e5e6
[DeviceDrivers] Add MPU6050 and BMI055 sensor.
2015-02-01 16:17:06 +08:00
Bernard Xiong
19ee2c7e09
Merge pull request #416 from bright-pan/master
...
[Driver/ringbuffer]: Fix put_force bug
2015-01-26 11:14:03 +08:00
Bright Pan
2d67fe6565
[Driver/ringbuffer]: Fix put_force bug
...
OXape reports: http://www.rt-thread.org/phpBB3/topic3939.html
driver/ringbuffer: when data length is bigger than space length
for rb, the read_index in rb is not update.
When length > space, update the read_index, the bug can be fix, and
works fine.
2015-01-23 13:27:52 +08:00
Bernard Xiong
73d5acecba
[DeviceDrivers] Add pin.h in the rtdevice.h
2015-01-20 07:24:49 +00:00
Bernard Xiong
1bb425e839
[DeviceDrivers] code cleanup for hardware pin
2015-01-19 08:56:43 +00:00
Bernard Xiong
d01b2ca84b
[DeviceDrivers] Add pin io driver framework
2015-01-19 06:18:16 +00:00
bernard
f6ed27b863
[DeviceDrivers] Fix sensor_poll issue.
2015-01-04 20:01:52 +08:00
bernard
06454fd484
[DeviceDrivers] change tab to space in sensor.
2015-01-04 13:14:53 +08:00
bernard
a6251a439e
Use open_flag for serial device.
2015-01-04 12:25:20 +08:00
bernard
46bca6f84a
Add C programming language APIs.
2015-01-04 12:24:46 +08:00
bernard
58163f49e0
[DeviceDriver] change the name style of method of C++ code; Add raw mode for sensor.
2014-12-31 22:33:54 +08:00
bernard
c26b999360
Fix the sensor list issue.
2014-12-01 12:22:17 +08:00
aozima
92fac29f70
update RW009 driver: add softAP support.
2014-11-15 16:11:24 +08:00
bernard
6281ab2bbe
[DeviceDriver] Remove i2c_core_lock.
2014-11-01 16:38:53 +08:00
Bernard Xiong
0fa10629f7
[Sensor] code cleanup
2014-11-01 15:52:25 +08:00
Bernard Xiong
18cd95688d
[Drivers] Add sensor framework
2014-11-01 09:09:52 +08:00
aozima
3c99a5bf8d
update RW009 wifi driver.
2014-09-24 12:08:01 +08:00
aozima
03496f0700
update RW009 driver.
2014-09-08 16:59:52 +08:00
heyuanjie87
8a44c7dbfb
[Serial] BUG Fix: data be send twice in mode that other than polling
2014-09-01 23:43:50 +08:00
aozima
69d089cac0
Update SConscript: add spi to include path.
2014-08-29 21:53:28 +08:00
Bernard Xiong
0ad17f462d
[DeviceDrivers] Add modification under Linux
2014-08-04 16:40:40 +08:00
bernard
5397e18c56
[DeviceDrivers] Fix compiling warning.
2014-08-03 14:29:46 +08:00
aozima
0fc1ac6189
add more SPI device driver.
2014-07-31 16:58:43 +08:00
bernard
c45f5a2490
[Drivers] re-write serial framework.
2014-07-18 06:45:54 +08:00
shaolin
64a2902fa9
1. Fix some spell error;
...
2. Fix data transfer size calculate error issue;
2014-07-13 17:19:34 +08:00
bernard
005014e7d0
[Drivers] Add workqueue implementation.
2014-07-13 07:27:57 +08:00
bernard
d0debf9892
[Drivers] Make code cleanup in serial framework.
2014-07-10 13:32:16 +08:00
weety
d5b0c94552
[USB]fix rt_usbd_set_config() BUG which set the USB device to configuration state before enumerating the device.
2014-04-06 21:02:23 +08:00
bernard
306e1ac43f
[DeviceDrivers] Add watchdog driver frame work
2014-03-04 14:32:56 +08:00
shaolin
020e95d91b
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
2014-03-04 09:14:48 +08:00
shaolin
0fb9c54efd
1.replace API prefix usb* with usbh* in USB host stack to distinct with USB device stack;
...
2.adjust some viable and micro name
3.some other small fix
2014-03-04 08:59:53 +08:00
Grissiom
f615c1e92d
Revert "Merge pull request #241 from bright-pan/master"
...
This reverts commit 5aeedc4f3a
, reversing
changes made to 3d80e414ff
.
This merge breaks every uart driver in all BSPs. @bright-pan , is there
any way to get this done without breaking existing code?
2014-03-03 12:07:13 +08:00
Bright Pan
9ab853aca3
Fix rt_serial_control() bug for customized command and indent the code
2014-02-28 18:22:50 +08:00
Bright Pan
10c4b6263f
Use DeviceDriver ringbuffer.
...
Add hardware flow support.
Use new struct serial_ringbuffer.
2014-02-26 11:06:14 +08:00
shaolin
8fd0a7f9c6
Update USB Device Stack to support more device controllers;
...
Pass USB CV test verification;
Code cleanup;
2014-02-16 17:42:35 +08:00
Bernard Xiong
ec7fada97e
[Drivers] Fix the block start issue in MTD Nand operators
2013-12-30 18:14:09 +08:00
bernard
42ae1c634d
[Drivers] Add more debug utilities in MTD nand
2013-12-29 22:27:33 +08:00
Grissiom
6bb2c0f2ea
Revert "serial: set the errno if and only if in thread context"
...
This reverts commit 07bd09fc0f
.
The validation of the context is done with in `rt_set_errno`. So it's
safe to call it here.
2013-10-25 21:23:15 +08:00
Grissiom
07bd09fc0f
serial: set the errno if and only if in thread context
...
The errno is associated with threads. It will crash the thread if we set
it in interrupt context.
2013-10-25 20:31:02 +08:00
Grissiom
21fb9a0bac
serial: do onthing if the size of read/write is zero
...
Return early if the size is 0 as there is nothing to do.
2013-10-25 20:15:08 +08:00
Grissiom
0feefc03b6
device/pipe: add a control cmd to get the space left in pipe
2013-10-23 01:43:18 +08:00
joyhope
281e55e973
notification function: rt_err_t (*tx_complete)(rt_device_t dev, void
...
*buffer) with buffer pointer
2013-09-24 20:57:00 +08:00
Grissiom
246bdde8de
dev/portal: fix bug in portal callback forwarding
...
When forwarding rx/tx callback from the underlaying device(pipe), the
"dev" argument should be the portal. So the portal callback could think
itself as called.
2013-08-22 16:43:06 +08:00
Grissiom
824261d3bc
dev/portal: add checks on oflag
...
It does not make sense to open portal without a flag. One should open a
portal with RT_DEVICE_OFLAG_RDWR in most cases.
2013-08-22 15:12:00 +08:00
Grissiom
6e676e7754
dev/portal: implement portal device
...
Portal is a device that connect devices. Currently, you can only connect
pipes in portal. Pipes are unidirectional. But with portal, you can
construct a bidirectional device with two pipes.
2013-08-20 12:54:43 +08:00
Grissiom
7e68096a88
dev/pipe: make pipe a type of device
...
Pipe have many differences with char device. The main difference is
altough pipe have both read and write, it is unidirectional in nature.
2013-08-20 10:16:55 +08:00
Grissiom
0340300f89
dev/pipe: cleanup
2013-08-19 16:25:17 +08:00
Grissiom
e8cca2315a
dev/pipe: call rx_indicate the time we resume reader
...
Some reader(FinSh again) would like to block on a semaphore which is
released in rx_indicate. So we should invoke rx_indicate in
_rt_pipe_resume_reader.
2013-08-19 15:57:59 +08:00
Grissiom
d683d32bd5
device/pipe: add nonblocking read/write and force write mode
...
The previous implementation will always blocks the reader/writer.
However, at least FinSh would expect the device to be nonblocking ---
read should return 0 when there is no data in it.
2013-08-19 15:35:56 +08:00
Grissiom
4919d29d69
ringbuffer: add put_force and putchar_force API
...
Add the APIs that will discard the old data when rb is full.
2013-08-19 15:32:42 +08:00
Grissiom
981d929b56
ringbuffer: fix the ambiguous name
...
RT_RINGBUFFER_SIZE could mean "the size of the whole buffer", "the size
of the empty space" or "the size of the data". Moreover, it's never a
micro anymore. Change it to rt_ringbuffer_data_len before it's too late.
Also, RT_RINGBUFFER_EMPTY is changed to rt_ringbuffer_space_len.
2013-08-19 14:12:35 +08:00
Grissiom
38ce3879d8
device/pipe: add rt_pipe_{init,detach}
...
This provide the possibility that allocate the buffer of the ringbuffer
on a specific region, instead of always mallocing it. It also bring us
the benefit of using pipe device on the systems without heap.
2013-08-19 12:28:59 +08:00
Bernard Xiong
a431a25699
Merge pull request #135 from reynoldxu/K60Fxxxx
...
K60 fxxxx
2013-07-25 03:55:52 -07:00
reynoldxu
10c75c3dc6
remove a var for INT_TX.
2013-07-25 10:18:33 +08:00
reynoldxu
8f0fffc132
fix a bug in rt_hw_uart_init() where u CAN NOT init some feature.
2013-07-24 18:34:07 +08:00
bernard
a124e7bd22
add initialization debug code
2013-07-24 07:33:48 +08:00
yiyue.fang
03cf76e7ef
reformat the coding style in usbdevice/core/core.c
2013-06-29 10:32:27 +08:00
yiyue.fang
3359419d4f
additional update
2013-06-28 00:39:11 +08:00
yiyue.fang
621fbdb90c
Embedded GPLv2 license in drivers
2013-06-28 00:36:54 +08:00
Bernard Xiong
98c8a23e94
Add component initialization.
2013-06-23 07:48:42 +08:00
heyuanjie87
02869d7e67
udisk can be eject
2013-06-15 23:02:50 +08:00
Grissiom
b02993c989
usbdevice/core: cope with some buggy drivers on USB_MSG_DATA_NOTIFY
...
Some driver will emit USB_MSG_DATA_NOTIFY before the USB get configured.
Filter out those events.
2013-06-11 11:50:05 +08:00
Grissiom
ed19483cb4
usb: add USB_MSG_PLUG_OUT event
...
When the core received an USB_MSG_PLUG_OUT event, it will stop all the
classes. This make a chance that the classes could get rid off doing
useless stuff while the USB cable is plugged out.
2013-06-06 15:21:40 +08:00
heyuanjie87
376a08d89a
return correct length of LangID string to host
2013-05-30 18:26:52 +08:00
weety
624d947e56
use __rt_ffs instead of ffs
2013-05-25 18:57:01 +08:00
qiuyiuestc
a33e992724
Merge pull request #95 from grissiom/vcom
...
usbdevice/core: add reset function to support hotplug
2013-05-25 01:05:00 -07:00
qiuyiuestc
97a507e667
usbdevice/core: add reset function to support hotplug
...
When the USB got RESET packet from the host and the address is setup,
all the classes will got reset. The reset is done by class stop and than
class run. So the classes should reset their internal state in
class_{run,stop}.
Besides, the USB device driver could post a USB_MSG_RESET message on
every RESET packet.
2013-05-25 15:55:27 +08:00
qiuyiuestc
2e25159a83
Merge pull request #94 from grissiom/vcom
...
cdc_vcom: reset the vcom state in proper cases
2013-05-25 00:52:05 -07:00
Grissiom
046182be94
cdc_vcom: reset the vcom state in proper cases
...
Reset the vcom state in class_{run,stop} and when the PC is not
receiving data from me.
2013-05-25 15:25:32 +08:00
heyuanjie87
8aa4eb7924
make Host can halt endpoints
2013-05-23 12:33:22 +08:00
qiuyiuestc
e822f87b1a
Merge pull request #90 from heyuanjie87/ForPullRequest
...
For pull request
2013-05-17 06:39:05 -07:00
aozima
c77c69c46e
fix spelling error.
2013-05-17 20:59:38 +08:00
aozima
9a671a5002
move initial alarm event & mutex in system init.
2013-05-17 20:58:40 +08:00
aozima
36fc5520cb
format code by Astyle.
2013-05-17 20:57:05 +08:00
heyuanjie87
8b4aadb4db
add usb state
2013-05-17 20:53:05 +08:00
Grissiom
b3e38f53b4
usbdevice/core: use static message queue
...
Although currently the only message send to the queue is struct
udev_msg, in order to keep backward compacity and for extention in the
future, we set the size of message to 32.
2013-05-12 15:43:30 +08:00
Grissiom
f0d50a7b36
usbdevice/core: use static thread instead of dynamic thread
...
It also add two configurations for the USB device even loop thread:
RT_USBD_THREAD_STACK_SZ to set the stack size, default to 2048
RT_USBD_THREAD_PRIO to set the priority, default to 8
You can overwrite the default values in rtconfig.h
2013-05-12 15:43:29 +08:00
Bernard Xiong
f1e34eef11
Merge pull request #86 from grissiom/serial-rb-size
...
serial: use RT_SERIAL_RB_BUFSZ to define the size of ring buffer.
2013-05-11 23:18:18 -07:00
Bernard Xiong
8e9e7f3e7c
serial: use RT_SERIAL_RB_BUFSZ to define the size of ring buffer.
2013-05-12 14:03:11 +08:00
Grissiom
aa179e4438
cdc_vcom: not to start sending data when the data is already sending
...
We start the sending transaction in SOF handler. But if the data is
already sending, start an other transaction will cause data lose.
Implement a state machine is cdc_vcom and avoid that.
2013-05-12 13:27:13 +08:00
Grissiom
157af94af9
usbdevice/core: small optimization on the event loop
...
Sort the switch cases by the frequency of the events.
2013-05-12 13:07:03 +08:00
Grissiom
d23ee75d2e
cdc_vcom: send data as many as possible
...
The data filled into dcd_ep_write does not to be limited by
MaxPacketSize.
2013-05-10 17:50:07 +08:00
Grissiom
5de59429fe
usbdevice/core: misc cleanup
2013-05-10 17:35:33 +08:00
Grissiom
ffb1e62020
cdc_vcom: send a zero-length-packet at the end is transaction
2013-05-10 15:17:59 +08:00
Grissiom
778c4239b1
cdc_vcom: fix the bug that use ringbuffer pool as usb packet buffer
...
This commit set the buffer for packet to CDC_MaxPacketSize which is a
reasonable value for it. However, maybe we should make
CDC_{RX,TX}_BUFSIZE configurable as well.
2013-05-09 23:18:58 +08:00
Grissiom
952bc0d4ef
ringbuffer: format the code to a more symmetric structure
2013-05-08 15:54:30 +08:00
Grissiom
639bd30321
reimplement ringbuffer
...
The new implementation use the mirroring method to distinguish full
buffer and the empty buffer. It also support buffers of arbitrary size.
2013-05-08 15:45:31 +08:00
Grissiom
d196a75a41
usbdevice/core/core.c: fix garbage value bug
...
This could crash the program with -O1 and -O2 in MDK.
2013-05-04 18:34:13 +08:00
heyuanjie87
34d531578e
class driver can custom string description
2013-01-24 20:59:43 +08:00
heyuanjie87
7ce0547575
fixed the string descriptor send to host more than actual
2013-01-17 14:03:45 +08:00
heyuanjie87
a3bde3c4a3
handle standard request to interface that defined in class
2013-01-17 12:23:06 +08:00
Bernard Xiong
9721603b72
Add RT_MTD_ESRC definitions.
...
Add RT_MTD_ESRC definitions. If the source page has issue when copying a page, the low level can return this error code.
2013-01-17 10:06:01 +08:00
heyuanjie87
1cb356c9df
Correct macro definition
2013-01-11 00:03:46 +08:00
heyuanjie87
7b2929303e
revert some define to usb_common.h
2013-01-11 00:02:40 +08:00
heyuanjie87
d84fde4e54
revert the define
2013-01-09 18:56:31 +08:00
heyuanjie87
928cabff50
allows the user custom PID and VID
2013-01-09 18:07:59 +08:00
heyuanjie87
58317f5bd2
use new interface to send status in control transfer
2013-01-09 17:55:46 +08:00
heyuanjie87
96f5a6dcec
move the define related to Mass to here;
...
remove product ID
2013-01-09 12:20:15 +08:00
heyuanjie87
d20974b9d2
allows the user custom PID and VID
2013-01-09 12:18:13 +08:00
heyuanjie87
6119136596
remove product ID
2013-01-09 12:15:09 +08:00
heyuanjie87
6b0b2d51e3
move the define related to Mass to mstorage.h
2013-01-09 12:12:25 +08:00
heyuanjie87
22786f8817
allows the user to custom PID and VID;
...
add a dcd operation to send status in control transfer
2013-01-09 12:04:01 +08:00
Ming, Bai
b4de7cce57
Re-normalizing the repo
2013-01-08 22:40:58 +08:00
sc943313837@gmail.com
deef5db546
添加RNDIS
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2580 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-31 15:40:31 +00:00
sc943313837@gmail.com
b1fa07f392
添加RNDIS
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2579 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-31 15:39:52 +00:00
sc943313837@gmail.com
2a6ffa0ccd
添加RNDIS定义
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2578 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-31 15:38:35 +00:00
sc943313837@gmail.com
6374d20fad
change inferface handler parameter
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2565 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-30 09:49:31 +00:00
sc943313837@gmail.com
aa49ca9db3
change inferface handler parameter; add a protocol define
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2564 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-30 09:43:19 +00:00
sc943313837@gmail.com
454455e858
change inferface handler parameter
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2563 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-30 09:41:55 +00:00
bernard.xiong@gmail.com
1c56553b04
Add BAUD_RATE_4800 definition.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2538 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-28 08:50:17 +00:00
dzzxzz@gmail.com
ef5c47e684
fixed the coding style in components/drivers/src
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2529 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-26 00:29:42 +00:00
dzzxzz@gmail.com
0e40d55d9f
fixed the coding style of RT_DEBUG_LOG
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2500 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-20 07:25:19 +00:00
sc943313837@gmail.com
b82d5744b6
remove iad form uclass structure
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2491 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-17 09:37:39 +00:00
sc943313837@gmail.com
ebe3e461f6
add a new fuction to config the desc in altsetting
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2490 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-17 09:35:15 +00:00
sc943313837@gmail.com
c7e5cc311f
Descriptor is no longer using the global variable
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2489 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-17 09:31:57 +00:00
sc943313837@gmail.com
bc02dbc501
fixed a warning
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2486 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-16 05:17:21 +00:00
sc943313837@gmail.com
5927bf0ac1
set endpoint buffer to RT_NULL
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2480 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-14 03:08:05 +00:00
sc943313837@gmail.com
d8796d9639
change endpoint and class handler
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2477 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-12 16:37:38 +00:00
sc943313837@gmail.com
53efe928d6
change endpoint and class handler
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2476 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-12 16:37:10 +00:00
sc943313837@gmail.com
834355c76b
change endpoint and class handler
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2475 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-12 16:36:23 +00:00
sc943313837@gmail.com
31796f101c
csw structure address alignment
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2468 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-08 03:37:33 +00:00
dzzxzz@gmail.com
34a2c02ac2
fixed the coding style in alarm.h
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2466 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-03 04:56:53 +00:00
sc943313837@gmail.com
bcaf1d5093
Single block write data
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2463 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-01 08:00:57 +00:00
sc943313837@gmail.com
0f72824eda
chang a macro name
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2457 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-28 06:55:30 +00:00
sc943313837@gmail.com
995ebf7299
chang a macro name
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2456 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-28 06:55:06 +00:00
sc943313837@gmail.com
8b338f385b
Add a function affirm
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2451 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-26 12:31:22 +00:00
sc943313837@gmail.com
d86196e528
output log when no disk
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2450 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-26 03:39:00 +00:00
sc943313837@gmail.com
9789907ca1
make UDisk work well
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2448 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-25 16:00:28 +00:00
qiuyiuestc@gmail.com
60c27fc4b5
add USB composite and mass storage class features in USB device stack
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2447 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-25 00:02:10 +00:00
qiuyiuestc@gmail.com
1b2d954105
fix compile warning.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2446 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-24 23:24:40 +00:00
bernard.xiong@gmail.com
44eaae8c80
export more symbols of PThread.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2433 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-23 02:40:32 +00:00
dzzxzz@gmail.com
68b7e7c481
fixed the coding style in the components/drivers
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2431 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-22 08:43:40 +00:00
sc943313837@gmail.com
b04c308524
Add two function declarations
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2403 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-12 12:07:16 +00:00
sc943313837@gmail.com
715c1e609c
Eliminate a warning
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2402 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-12 11:47:53 +00:00
sc943313837@gmail.com
e3b8d6f398
set bDeviceClass to CDC_CLASS
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2397 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-07 15:38:10 +00:00
dzzxzz@gmail.com
d0cba80c07
add invoke callback after serial DMA transmit complete in serial.c
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2387 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-03 13:56:14 +00:00
dzzxzz@gmail.com
1aab195a7d
fixed coding style in component/drivers/src
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2384 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-02 04:05:38 +00:00
dzzxzz@gmail.com
db58e3350b
add serial DMA transmit function(beta)
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2382 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-01 07:17:54 +00:00
sc943313837@gmail.com
fa9a7b0b0c
Modified return value
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2379 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-29 13:35:35 +00:00
sc943313837@gmail.com
aefe518780
corrected typos
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2378 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-29 03:21:37 +00:00
sc943313837@gmail.com
04bf06124f
to correct typos
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2376 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-29 01:56:20 +00:00
sc943313837@gmail.com
a690ad168f
add alarm
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2375 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-28 15:31:50 +00:00
sc943313837@gmail.com
c287374982
add alarm
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2374 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-28 15:31:22 +00:00
sc943313837@gmail.com
c8857b64c0
add alarm
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2373 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-28 15:30:54 +00:00
bernard.xiong@gmail.com
8ab1059873
Fixed compiling warning.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2349 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-14 13:41:04 +00:00
bernard.xiong@gmail.com
da49833788
Remove compiling warning.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2348 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-13 04:05:09 +00:00
qiuyiuestc@gmail.com
6bf06f7595
remove unused code in _set_interface
...
& modify some comment in rt_usb_device_init
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2346 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-11 23:43:10 +00:00
bernard.xiong
f1862e80f7
Fixed _class_sof_handler function return value.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2345 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-11 23:35:42 +00:00
qiuyiuestc@gmail.com
c752d9b095
submit the first version usb device stack.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2344 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-11 17:06:30 +00:00
qiuyiuestc@gmail.com
051fd8eca9
update wrong file name in rtdevice.h
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2343 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-11 17:03:31 +00:00
dzzxzz@gmail.com
66c2e88566
change the coding style of rtdevice.h
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2337 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-10 13:21:06 +00:00
wuyangyong
8b570bbae6
add rtc.h
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2336 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-10 06:14:53 +00:00
bernard.xiong@gmail.com
c453dcd547
Add plane_num field in MTD_Nand structure.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2334 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-10 04:00:52 +00:00
qiuyiuestc@gmail.com
5c7fe30500
add a part of the usb stack
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2332 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-09 16:48:03 +00:00
sc943313837@gmail.com
f8b1db51e7
delet a char '\'
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2318 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-05 14:39:56 +00:00
sc943313837@gmail.com
bb6b798800
add default config for serial_configure structure
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2317 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-05 14:19:28 +00:00
bernard.xiong@gmail.com
c75867fc5f
Remove rt_ringbuffer_get_datasize function.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2314 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-30 08:13:53 +00:00
bernard.xiong@gmail.com
4f05dd5426
Add pipe, data queue implementation; Fix the issue which leaks one item in the available data of ring buffer.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2313 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-30 07:33:13 +00:00
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