Commit Graph

15 Commits (dd829053f9a0d6ee45ac9183832d6497b54735c2)

Author SHA1 Message Date
Odin Holmes 6cc142d8b1 used Size+1 insted of size because no c++11 (no constexpr) 2015-06-05 20:04:07 +02:00
Odin Holmes c918e92124 Fixed typeo in CircBuffer.h 2015-06-05 19:59:37 +02:00
Odin Holmes c48e5ea445 Update CircBuffer.h 2015-04-16 17:39:18 +02:00
porkybrain cad87d11d4 moved initialization into constructor for compatibility with c++03 2015-04-16 15:57:30 +02:00
porkybrain 250ce08712 Changed CircBuffer to take its size as a template parameters. This results in smaller code size and less ram usage because the optimizer knows the size at compile time and it does not need to be stored in ram. It should also be faster because there is no indirection to the heap.
I have not tested this code!
2015-04-15 17:07:40 +02:00
Martin Kojtal 158cbeb292 Merge pull request #979 from jeremybrodt/usbcallbacks
USB - Add macros to alias the endpoint callback functions to support configurability
2015-04-08 08:38:31 +02:00
Jeremy Brodt bbe2e0caed Using "Data Terminal Ready" signal to determine when the host is connected. 2015-03-17 14:18:56 -05:00
Jeremy Brodt 1bbb0ee109 Added macros to alias the endpoint callback functions to support configurability. 2015-03-17 13:41:40 -05:00
Paul Brook 5518e335bb Fix usb serial RX bug
USBCDC::readEP already already called readStart, so we should not call
it here.

Signed-off-by: Paul Brook <paul@nowt.org>
2014-09-25 14:49:26 +01:00
0xc0170 07dff2db5e spaces removal - USBDevice 2014-05-29 15:32:05 +02:00
Olivier Martin 29f71517d4 libraries/USBSerial: Allow to create an instance without the USB cable being plugged in
Prior to this change the connection was waiting for a USB cable to be plugged in.
2014-02-20 00:37:21 +00:00
Yihui Xiong d3ca818905 add readable(), writeable() and settings changed callback to USBSerial 2013-11-01 12:38:27 +08:00
Erik Olieman c255ca2959 USBDevice memory leaks fixes
Fixes memory leaks in USBMSD, USBSerial (CircBuffer) and the KL25Z USB
HAL.
Original author: Erik Olieman, a few changes by Bogdan Marinescu.
2013-09-12 16:35:52 +03:00
samuel.mokrani@arm.com 4bbd13b957 [LPC1347]: first implementation of USB device (not tested) 2013-07-17 15:23:54 +03:00
Emilio Monti 5c20760685 Initial commit of the mbed libraries and tools 2013-02-18 15:32:11 +00:00