Fork of https://developer.mbed.org/users/bscott/code/STM32_USBDevice/
Fork of STM32_USBDevice by
History
Merge feature_WebUSB into default
2018-07-25, by Troels Nilsson [Wed, 25 Jul 2018 14:04:48 +0200] rev 79
Merge feature_WebUSB into default
Remove blocking getc
2018-07-25, by Troels Nilsson [Wed, 25 Jul 2018 09:35:08 +0200] rev 78
Remove blocking getc
Replaced with a non-blocking read() function
Removed usage of the Stream class
Fixed leaking string descriptors on destruction
Changed USBWebUSBSerial to use non-blocking writes
2018-07-24, by Troels Nilsson [Tue, 24 Jul 2018 13:08:29 +0200] rev 77
Changed USBWebUSBSerial to use non-blocking writes
USBWebUSBSerial now uses an internal buffer to do non-blocking, async writes
Expanded CircBuffer to be able to queue/dequeue a block of data (to avoid looping a lot)
Added USBWebUSBSerial class
2018-07-19, by Troels Nilsson [Thu, 19 Jul 2018 12:57:27 +0200] rev 76
Added USBWebUSBSerial class
The class implements a composite device with CDC and a WebUSB compatible interface
Data is read and written from either the CDC or the WebUSB interface depending on the mode.
Default mode is CDC - it can be changed to WebUSB by sending a control message from the host.
Implemented USBCallback_busReset in USBCDC to reset terminal_connected
2017-10-27, by Geir Inge Tellnes [Fri, 27 Oct 2017 17:22:45 +0200] rev 75
Implemented USBCallback_busReset in USBCDC to reset terminal_connected
terminal_connected in USBSerial::EPBULK_OUT_callback() now only set if something received
Also check if callback configured before calling rx handler
Added possibility to configure a USB_DEVICE_WRITE_BLOCKING_TIMEOUT_MS in blocking write method
2017-10-24, by Geir Inge Tellnes [Tue, 24 Oct 2017 16:49:54 +0200] rev 74
Added possibility to configure a USB_DEVICE_WRITE_BLOCKING_TIMEOUT_MS in blocking write method
- bus reset at timeout
Added possibility to configure a USB_DEVICE_WRITE_BLOCKING_TIMEOUT_MS in blocking write method
2017-10-24, by Geir Inge Tellnes [Tue, 24 Oct 2017 12:32:59 +0200] rev 73
Added possibility to configure a USB_DEVICE_WRITE_BLOCKING_TIMEOUT_MS in blocking write method
Compatibility with mbed-os-5.3
2017-04-07, by gte1 [Fri, 07 Apr 2017 13:51:04 +0000] rev 72
Compatibility with mbed-os-5.3
In USBSerial::EPBULK_OUT_callback(), set terminal_connected true since we have received packets
2016-12-22, by gte1 [Thu, 22 Dec 2016 09:17:52 +0000] rev 71
In USBSerial::EPBULK_OUT_callback(), set terminal_connected true since we have received packets
For STM32F3: Use remapped USB interrupt vectors to avoid conflict with CAN bus;
2016-12-21, by gte1 [Wed, 21 Dec 2016 11:27:46 +0000] rev 70
For STM32F3: Use remapped USB interrupt vectors to avoid conflict with CAN bus;