Add simple UART driver
This driver is a very simple UART driver that can be used to implement a protocol in application. It has no protocol logic and just allow application to receive and send data over UART in platform independent manner. API is designed to minimize number of required memory copies. Application is able to provide new buffer every time it decides to consume received data. It is also able to just alter offset and reuse current buffer eg if data was corrupted or otherwise invalid. Change-Id: I8d3827fe2e242196e986d0419bc5487357481558 Signed-off-by: Szymon Janc <szymon.janc@tieto.com>
This commit is contained in:
parent
072961cda4
commit
6d27b0a33c
9 changed files with 261 additions and 1 deletions
|
@ -5,3 +5,4 @@ obj-y += timer/
|
|||
obj-y += interrupt_controller/
|
||||
obj-$(CONFIG_PCI) += pci/
|
||||
obj-$(CONFIG_BLUETOOTH) += bluetooth/
|
||||
obj-$(CONFIG_UART_SIMPLE) += simple/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue