Age | Commit message (Collapse) | Author |
|
Read CDC data from USB FIFO on demand instead of in ISR.
Remove superfluous ring buffer.
Signed-off-by: Paul Brook <paul@nowt.org>
|
|
If the Start of Frame interrupt triggers just after the call
to USB_SendSpace in USB_Send then we can get data loss.
When the first bank is full and the second partially full,
the SOF handler will release the second bank via USB_Flush.
Data is then lost due to overflow as USB_Send continues writing data
to the now-closed bank.
Fix this by re-checking the FIFO status inside LockEP, immediately before
doing the data write.
Signed-off-by: Paul Brook <paul@nowt.org>
|
|
|
|
|
|
|
|
|
|
|
|
object to "USBDevice" to prevent conflict with USB Host library (thanks Massimo)
|
|
done to avoid driver problems for users who installed the pre-release bootloader and driver
|
|
|
|
now. changed sketch PIDs to final values. also uncommented Micro section in boards.txt
|
|
|
|
This fixes the issue Federico reported where bytes written by host but not read by sketch would cause serial connection to lock up. Ring buffer implementation is based on HardwareSerial.cpp.
Adds public accept() method to CDC.
|
|
|
|
either an "Arduino Leonardo" or "Arduino Micro" manufactured by "Arduino LLC"
|
|
|
|
Integrated rest of Peter's USB implementation
|