aboutsummaryrefslogtreecommitdiffstats
path: root/wirish/usb_serial.h
Commit message (Collapse)AuthorAgeFilesLines
* Keep it 80-column clean.Marti Bolivar2011-06-071-14/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | Go through overlong source code lines and convert as many of them as appropriate to be 80-column clean. This mostly affects license headers. Overlong lines are determined by running following from the libmaple base directory: $ ack-grep --nocolor --nogroup --cpp --cc --ignore-dir=usb -- '.{80}' Note that this excludes libmaple's usb subdirectory, which is still full of ST code that doesn't follow the libmaple source code guidelines. Contents of ~/.ackrc (these won't matter, but are included for completeness): --ignore-dir=docs --ignore-dir=build --type-set ld=.ld --type-set rst=.rst --type-set txt=.txt --type-set mk=.mk
* SerialUSB fixups.Marti Bolivar2011-05-041-3/+5
|
* wirish reformatted and code-styledMarti Bolivar2010-09-261-18/+18
|
* added isConnected() to serialusbbnewbold2010-07-221-0/+1
|
* working serialUSB with timeoutbnewbold2010-07-191-0/+7
| | | | | | | | | | | as a temporary workaround for the fact that SerialUSB is often blocking, this crude implementation makes the low-level C usbSendBytes function non-blocking (with a return code of bytes sent) and implements a 2ms timeout in the wirish write() function. also adds begin(), end(), getDTR(), getRTS(), pending(). device is still initialized the old fashioned way during init() so that, eg, autoreset will work. includes a simple multi-test program.
* Preliminary wirish USBSerial implementation.Perry Hung2010-06-041-0/+52
-updated examples -removed HardwareUSB -cleaned up a handful of includes