<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/components/drivers/src, branch stable-v1.2.x</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/components/drivers/src?h=stable-v1.2.x</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/components/drivers/src?h=stable-v1.2.x'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2013-10-22T17:43:18Z</updated>
<entry>
<title>device/pipe: add a control cmd to get the space left in pipe</title>
<updated>2013-10-22T17:43:18Z</updated>
<author>
<name>Grissiom</name>
<email>chaos.proton@gmail.com</email>
</author>
<published>2013-10-22T17:43:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=0feefc03b6008301a19a430427390cc9c44decf8'/>
<id>urn:sha1:0feefc03b6008301a19a430427390cc9c44decf8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dev/portal: fix bug in portal callback forwarding</title>
<updated>2013-08-22T08:43:06Z</updated>
<author>
<name>Grissiom</name>
<email>chaos.proton@gmail.com</email>
</author>
<published>2013-08-22T08:43:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=246bdde8de4167065b4a52530a9c7be85c189dd8'/>
<id>urn:sha1:246bdde8de4167065b4a52530a9c7be85c189dd8</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>dev/portal: add checks on oflag</title>
<updated>2013-08-22T07:12:00Z</updated>
<author>
<name>Grissiom</name>
<email>chaos.proton@gmail.com</email>
</author>
<published>2013-08-22T07:12:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=824261d3bc8467f6220061f43d22321f1ce50bc3'/>
<id>urn:sha1:824261d3bc8467f6220061f43d22321f1ce50bc3</id>
<content type='text'>
It does not make sense to open portal without a flag. One should open a
portal with RT_DEVICE_OFLAG_RDWR in most cases.
</content>
</entry>
<entry>
<title>dev/portal: implement portal device</title>
<updated>2013-08-20T04:54:43Z</updated>
<author>
<name>Grissiom</name>
<email>chaos.proton@gmail.com</email>
</author>
<published>2013-08-20T02:48:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=6e676e7754e9042c333ff7f3826766c6462f92be'/>
<id>urn:sha1:6e676e7754e9042c333ff7f3826766c6462f92be</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>dev/pipe: make pipe a type of device</title>
<updated>2013-08-20T02:16:55Z</updated>
<author>
<name>Grissiom</name>
<email>chaos.proton@gmail.com</email>
</author>
<published>2013-08-20T02:16:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=7e68096a88aaa9279507df54da191893be99f7df'/>
<id>urn:sha1:7e68096a88aaa9279507df54da191893be99f7df</id>
<content type='text'>
Pipe have many differences with char device. The main difference is
altough pipe have both read and write, it is unidirectional in nature.
</content>
</entry>
<entry>
<title>dev/pipe: cleanup</title>
<updated>2013-08-19T08:25:17Z</updated>
<author>
<name>Grissiom</name>
<email>chaos.proton@gmail.com</email>
</author>
<published>2013-08-19T08:25:17Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=0340300f89a924b30fd8042b76686a236720d3d7'/>
<id>urn:sha1:0340300f89a924b30fd8042b76686a236720d3d7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dev/pipe: call rx_indicate the time we resume reader</title>
<updated>2013-08-19T07:57:59Z</updated>
<author>
<name>Grissiom</name>
<email>chaos.proton@gmail.com</email>
</author>
<published>2013-08-19T07:57:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=e8cca2315a790d61c743a71e1a682e6ace7866fd'/>
<id>urn:sha1:e8cca2315a790d61c743a71e1a682e6ace7866fd</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>device/pipe: add nonblocking read/write and force write mode</title>
<updated>2013-08-19T07:35:56Z</updated>
<author>
<name>Grissiom</name>
<email>chaos.proton@gmail.com</email>
</author>
<published>2013-08-19T07:35:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=d683d32bd5502c15be600145966400a41710a7f4'/>
<id>urn:sha1:d683d32bd5502c15be600145966400a41710a7f4</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>ringbuffer: add put_force and putchar_force API</title>
<updated>2013-08-19T07:32:42Z</updated>
<author>
<name>Grissiom</name>
<email>chaos.proton@gmail.com</email>
</author>
<published>2013-08-19T03:52:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=4919d29d693491e8eae9697deed7b808c7bcbb93'/>
<id>urn:sha1:4919d29d693491e8eae9697deed7b808c7bcbb93</id>
<content type='text'>
Add the APIs that will discard the old data when rb is full.
</content>
</entry>
<entry>
<title>ringbuffer: fix the ambiguous name</title>
<updated>2013-08-19T06:12:35Z</updated>
<author>
<name>Grissiom</name>
<email>chaos.proton@gmail.com</email>
</author>
<published>2013-08-19T02:50:20Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=981d929b562610328309ee4e01d66727f5e6896e'/>
<id>urn:sha1:981d929b562610328309ee4e01d66727f5e6896e</id>
<content type='text'>
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.
</content>
</entry>
</feed>
