summaryrefslogtreecommitdiff
path: root/components
AgeCommit message (Collapse)Author
2013-08-22dev/portal: add checks on oflagGrissiom
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-20finsh/cmd: add description for new pipe and portal deviceGrissiom
2013-08-20dev/portal: implement portal deviceGrissiom
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-20dev/pipe: make pipe a type of deviceGrissiom
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-19dev/pipe: cleanupGrissiom
2013-08-19dev/pipe: call rx_indicate the time we resume readerGrissiom
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-19device/pipe: add nonblocking read/write and force write modeGrissiom
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-19ringbuffer: add put_force and putchar_force APIGrissiom
Add the APIs that will discard the old data when rb is full.
2013-08-19ringbuffer: fix the ambiguous nameGrissiom
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-19Merge branch 'master' of https://github.com/RT-Thread/rt-threadbernard
2013-08-19Merge branch 'master' of https://github.com/RT-Thread/rt-threadbernard
2013-08-19add shell device automatically setting for rx_indbernard
2013-08-19device/pipe: add rt_pipe_{init,detach}Grissiom
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-12Merge branch 'master' of https://github.com/RT-Thread/rt-threadBernard Xiong
2013-08-12remove compiling warningBernard Xiong
2013-07-29fix O_APPEND write issue in RAMFSbernard
2013-07-29add device_open/close in mkfsbernard
2013-07-29Merge branch 'master' of https://github.com/RT-Thread/rt-threadbernard
2013-07-29Add ramfs into building scriptbernard
2013-07-25Merge pull request #135 from reynoldxu/K60FxxxxBernard Xiong
K60 fxxxx
2013-07-25remove a var for INT_TX.reynoldxu
2013-07-24fix a bug in rt_hw_uart_init() where u CAN NOT init some feature.reynoldxu
2013-07-24add initialization debug codebernard
2013-07-22add mount tablebernard
2013-07-14move commands out of DFSBernard Xiong
2013-07-09Merge pull request #118 from BernardXiong/masterBernard Xiong
Remove initialization feature for MS VC++ compiler.
2013-07-06Merge pull request #120 from prife/dfs-fixBernard Xiong
dfs: fix the variable definition bug in copy, found by ffgamelife from rt-thread.org
2013-07-06dfs: fix the variable definition bug in copy, found by ffgamelife from ↵prife
rt-thread.org
2013-07-05remove initialization feature for MS VC++ compilerBernard Xiong
2013-07-05Add device checking when set_device.Bernard Xiong
2013-06-30fix lwip 1.4.1 compiling error when enable component initBernard Xiong
2013-06-30add sys_now() function portingBernard Xiong
2013-06-30Move logtrace to utilitesBernard Xiong
2013-06-30Use lwIP 1.4.1 as the default TCP/IP protocol stackBernard Xiong
2013-06-30rename group of logtraceBernard Xiong
2013-06-29reformat the coding style in dfs_ramfs.cyiyue.fang
2013-06-29reformat the coding style in usbdevice/core/core.cyiyue.fang
2013-06-28additional updateyiyue.fang
2013-06-28Embedded GPLv2 license in driversyiyue.fang
2013-06-26Embedded GPLv2 license in componentsyiyue.fang
2013-06-26Embedded GPLv2 license in pthreadsyiyue.fang
2013-06-26Embedded GPLv2 license in dfsyiyue.fang
2013-06-26add logtrace componentGrissiom
Logtrace is a component that could output the log into either a device or a file. It has the ability to filter the log messages according to a pre-module level. Define RT_USING_LOGTRACE in rtconfig.h if you want to have a try.
2013-06-23Update SConscriptBernard Xiong
2013-06-23Update SConscriptBernard Xiong
2013-06-23fix compiling warningBernard Xiong
2013-06-23fix compiling errorBernard Xiong
2013-06-23Add component initialization.Bernard Xiong
2013-06-15udisk can be ejectheyuanjie87
2013-06-11usbdevice/core: cope with some buggy drivers on USB_MSG_DATA_NOTIFYGrissiom
Some driver will emit USB_MSG_DATA_NOTIFY before the USB get configured. Filter out those events.