25 Commits

Author SHA1 Message Date
Travis Geiselbrecht
699842fad2 [dev][usb] fix a few unchecked mallocs and add some comments
A few routines had unchecked mallocs. One was unused, so remove it but
add fallback code for the rest of them.
2021-10-20 22:12:05 -07:00
Travis Geiselbrecht
cba9e47987 [license] replace the longer full MIT license with a shorter one
Used scripts/replacelic. Everything seems to build fine.
2019-07-05 17:22:23 -07:00
Travis Geiselbrecht
d8fa82cb91 [formatting] run everything through codestyle
Almost nothing changes here except moving braces to the same line as the
function declaration. Everything else is largely whitespace changes and
a few dangling files with tab indents.

See scripts/codestyle
2019-06-19 21:02:24 -07:00
Travis Geiselbrecht
1b7a28efb8 [include][lk] fixup lk/ include path move 2019-06-19 19:46:11 -07:00
Erik Gilling
660c4ab08c [cdcconsole] Add TX buffering. 2018-01-30 20:34:34 -08:00
Erik Gilling
019d262d87 [cdcserial] Add async API. 2018-01-22 23:33:35 -08:00
Erik Gilling
cc60328989 [cdcserial] Refactor driver to support multiple channels. 2018-01-22 23:33:35 -08:00
klemens
d0b90c2d68 [spelling] spelling-fixes. (not external/) 2016-08-25 17:30:34 -07:00
Gurjant Kalsi
ce0a3db705 [cdcserial][usb] Add a CDC-Serial USB Class Driver. 2016-04-18 17:03:04 -07:00
Gurjant Kalsi
1fa7f2c977 [usb] Allow client code to specify USB endpoint type. 2016-03-28 21:21:21 -07:00
Travis Geiselbrecht
2eb32a4369 [style] mass reformat all the non external code to 4 space indents
Ran everything through scripts/codestyle.space, which uses astyle
to generally follow K&R style.

Biggest non whitespace change is pulling brackets down on function
declarations, which I'm pretty ambivalent about, but astyle insists
on taking a stance
2016-02-14 12:24:01 -08:00
Travis Geiselbrecht
1da5eba728 [dev][usb] add bulktest class driver
A simple test driver that just acts as a bulk transfer source and sink.
2016-02-08 19:53:03 -08:00
Travis Geiselbrecht
4ab14424bd [cppcheck] clean up a few suggestions from cppcheck 2015-11-24 15:08:38 -08:00
Travis Geiselbrecht
902ca64791 [dev][usb] allow anyone to register for callback events from the usb stack 2015-11-19 15:07:58 -08:00
Travis Geiselbrecht
b83c233f4d [dev][usb] reformat usb device stack to spaces 2015-11-19 14:51:51 -08:00
Travis Geiselbrecht
149b658b40 [dev][usb] more usb stack cleanup 2013-10-20 16:04:13 -07:00
Travis Geiselbrecht
fa6fbe7e50 [dev][usb] some improvements to the usb stack 2013-09-12 11:12:27 -07:00
Travis Geiselbrecht
65c9778d90 [dev][usb] bit of cleanup of the usb stack 2013-09-09 15:03:57 -07:00
Dima Zavin
e8a9b4b7a4 [libc] move tracing out of debug into separate trace.h
Change-Id: I7476fc17b587a0ea2a42cbe3d49b72063e4c5dc8
Signed-off-by: Dima Zavin <dima@android.com>
2013-08-05 10:04:29 -07:00
Travis Geiselbrecht
4f218a1a67 [dev] run astyle on dev/ 2012-10-31 21:53:43 -07:00
Travis Geiselbrecht
97cfd0bfa4 [make] update all of the rules.mk to use the new module system 2012-08-31 15:52:24 -07:00
Travis Geiselbrecht
affed1c106 [lib] add more references to assert.h 2012-04-23 15:52:31 -07:00
Travis Geiselbrecht
345adb5b1a [usb] merge in some changes from another code base to make the usb
string manipulation a little simpler
2009-01-01 05:27:06 -08:00
Travis Geiselbrecht
89fcb14409 [usb] first stab at a usb device stack 2009-01-01 03:47:07 -08:00
Travis Geiselbrecht
2c691e84a4 work in progress of usb controller and usb stack for omap3 2009-01-01 03:47:07 -08:00