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:
Szymon Janc 2015-06-01 21:35:02 +02:00 committed by Anas Nashif
commit 6d27b0a33c
9 changed files with 261 additions and 1 deletions

View file

@ -33,6 +33,8 @@
menu "Device Drivers"
source "drivers/simple/Kconfig"
source "drivers/bluetooth/Kconfig"
source "drivers/console/Kconfig"