USB: implement generic usb-serial device driver
authorarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 17 Sep 2010 16:06:55 +0000 (16:06 +0000)
committerarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 17 Sep 2010 16:06:55 +0000 (16:06 +0000)
commit823ceca1345882abd7ac42bb399e45d0ac5a30f1
tree11a5012b7ce9a471a605069a181fad022806ce97
parent7713a5e329a770f53d53e39e9b3b8dae55c71614
USB: implement generic usb-serial device driver

A generic board that includes this module can be plugged to a USB host
system (e.g., Linux, Windows, ...) to be seen as a generic usb-serial
adapter device (e.g., /dev/ttyUSB0 in Linux).

This module export the following functions to communicate between the
micro and the host over the usb-serial channel:

  ssize_t usb_serial_read(void *buf, ssize_t size);
  ssize_t usb_serial_write(const void *buf, ssize_t size);

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4241 38d2e660-2303-0410-9eaa-f027e97ec537
bertos/cfg/cfg_usb_serial.h [new file with mode: 0644]
bertos/drv/usb_serial.c [new file with mode: 0644]
bertos/drv/usb_serial.h [new file with mode: 0644]