summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-08-20Merge pull request #145 from grissiom/hot-fixBernard Xiong
finsh/cmd: add description for new pipe and portal device
2013-08-20finsh/cmd: add description for new pipe and portal deviceGrissiom
2013-08-19Merge pull request #144 from grissiom/portal-deviceBernard Xiong
Portal device
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-19Merge pull request #143 from grissiom/ringbuffer-pipeBernard Xiong
Ringbuffer and Pipe
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-18Merge pull request #142 from grissiom/pipe-deviceBernard Xiong
device/pipe: add rt_pipe_{init,detach}
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-18Merge pull request #141 from grissiom/fix-schedule-debugBernard Xiong
fix debug output of scheduler
2013-08-19fix debug output of schedulerGrissiom
When print the thread names, we should use "%.*s" instead of bare "%s".
2013-08-12Merge branch 'master' of https://github.com/RT-Thread/rt-threadBernard Xiong
2013-08-12remove compiling warningBernard Xiong
2013-08-09add buildlib for Keil MDKbernard
2013-07-30Merge branch 'master' of https://github.com/RT-Thread/rt-threadbernard
2013-07-29Merge pull request #132 from MrVan/sep6200Bernard Xiong
SEP6200 Support
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-24delete K60.proreynoldxu
2013-07-24fix a bug in rt_hw_uart_init() where u CAN NOT init some feature.reynoldxu
2013-07-24add NRZ feature on K60reynoldxu
2013-07-24modify codes for fractional dividerreynoldxu
2013-07-24Merge branch 'master' of https://github.com/RT-Thread/rt-threadbernard
2013-07-24add initialization debug codebernard
2013-07-22Merge pull request #134 from prife/sim-fixBernard Xiong
simulator: update to support simulator for linux
2013-07-22simulator: update to support simulator for linuxprife
2013-07-22add mount tablebernard
2013-07-21Merge pull request #133 from weety/at91sam9260Bernard Xiong
At91sam9260
2013-07-21Embedded GPLv2 license.weety
2013-07-21fix compiling errorweety
2013-07-21commit againweety
2013-07-21update at91sam9260 project directory structure.weety
2013-07-21update AT91SAM9260 usart driver, using serial driver component.weety
2013-07-17Cleanup and add licencsePeng Fan
2013-07-17SEP6200 SupportPeng Fan
2013-07-14Merge pull request #131 from grissiom/memheapBernard Xiong
memheap: don't alloc/memcpy when there is next node is enough for realloc
2013-07-15memheap: dont alloc/memcpy when there is next node is enough for reallocGrissiom
When realloc a bigger space and the next node is free and big enough, we should directly relocate the next node instead of doing alloc/memcpy. The new method not only faster in this cases, it would avoid memory fragment as well.
2013-07-14move commands out of DFSBernard Xiong
2013-07-12Merge pull request #130 from aozima/pullsBernard Xiong
update stm32f10x.