Fix XPLAINBridge project discarding characters from the USB interface due to a double read from the endpoint.
Make XPLAINBridge and USBtoSerial projects more reliable by forcing a flush if the UART-to-USB buffer becomes nearly full. Reduce locking in the LightweightRingBuffer.h header files by only locking on the update of the buffer count, and require insertions and removals from each buffer to occur in only one execution thread. Fix CDC_*_ReceiveByte() returning 0 when the interface is not configured, instead of the new -1 error value. Fix CDC_Host_ReceiveByte() not re-freezing the pipe if no packet has been received. Remove redundant Pipe token set commands in the CDC and RNDIS host class drivers.
This commit is contained in:
		
							parent
							
								
									fb0e6597b6
								
							
						
					
					
						commit
						ff09cf9c73
					
				
					 13 changed files with 278 additions and 225 deletions
				
			
		| 
						 | 
				
			
			@ -61,6 +61,7 @@
 | 
			
		|||
 *  - SD Card reader: http://elasticsheep.com/2010/04/teensy2-usb-mass-storage-with-an-sd-card/
 | 
			
		||||
 *  - SEGA Megadrive/Genesis Development Cartridge: http://www.makestuff.eu/wordpress/?page_id=398
 | 
			
		||||
 *  - Stripe Snoop, a Magnetic Card reader: http://www.ossguy.com/ss_usb/
 | 
			
		||||
 *  - Touchscreen Input Device: http://capnstech.blogspot.com/2010/07/touchscreen-update.html
 | 
			
		||||
 *  - USB Interface for Playstation Portable Devices: http://forums.ps2dev.org/viewtopic.php?t=11001
 | 
			
		||||
 *  - Userial, a USB to Serial converter with SPI, I2C and other protocols: http://www.tty1.net/userial/
 | 
			
		||||
 *  - XUM1541, a Commodore 64 floppy drive to USB adapter: http://www.root.org/~nate/c64/xum1541/
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue