hathach 
							
						 
					 
					
						
						
							
						
						c211ee19dd 
					 
					
						
						
							
							migrate license from BSD 3 clause to MIT  
						
						 
						
						
						
						
					 
					
						2019-03-20 16:11:42 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						a19455d1ff 
					 
					
						
						
							
							follow up to PR  #39  
						
						 
						
						
						
						
					 
					
						2019-03-04 11:51:36 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Gregory P. Smith 
							
						 
					 
					
						
						
							
						
						fa8141f31f 
					 
					
						
						
							
							Fixes   #33 : Remove invalid use of strncpy().  
						
						 
						
						... 
						
						
						
						This was causing a stringop-truncation compiler warning in gcc 8 when
the #defined values being copied from were string literals.
 `error: 'strncpy' output truncated before terminating nul copying 8 bytes from a string of the same length [-Werror=stringop-truncation]`
These fields aren't NUL terminated C strings, they are a fixed width buffer
that is supposed to be space (0x20) padded. 
						
						
					 
					
						2019-03-03 19:41:41 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						f2d76a39eb 
					 
					
						
						
							
							mscd: send scsi status before invoke read10/write10/scsi complete callback  
						
						 
						
						
						
						
					 
					
						2019-02-22 01:31:13 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Scott Shawcroft 
							
						 
					 
					
						
						
							
						
						c870efffc0 
					 
					
						
						
							
							Fix write protected MSC. The bits were flipped.  
						
						 
						
						
						
						
					 
					
						2019-02-20 15:12:36 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						59c1b4b427 
					 
					
						
						
							
							zero init internal class/device data  
						
						 
						
						
						
						
					 
					
						2019-01-29 19:39:34 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Scott Shawcroft 
							
						 
					 
					
						
						
							
						
						52abbec7c5 
					 
					
						
						
							
							Remove txbuf in favor of fifo.  
						
						 
						
						... 
						
						
						
						Fifo incurs a second copy into a USB buffer but this ensures the
correct USB buffer alignment. Some LPC chips require 64 byte
alignment that txbuf couldn't do. 
						
						
					 
					
						2019-01-08 14:10:40 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Scott Shawcroft 
							
						 
					 
					
						
						
							
						
						048fc9694c 
					 
					
						
						
							
							Split out txbuf and add unit test.  
						
						 
						
						
						
						
					 
					
						2019-01-04 18:27:00 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Scott Shawcroft 
							
						 
					 
					
						
						
							
						
						a3173b8de4 
					 
					
						
						
							
							Add USB Midi support.  
						
						 
						
						... 
						
						
						
						It also introduces a txbuffer which copies data into it but passes
the buffer straight to the USB rather than another copy. 
						
						
					 
					
						2019-01-04 12:16:27 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						257d60fe1a 
					 
					
						
						
							
							white spaces  
						
						 
						
						
						
						
					 
					
						2018-12-21 12:58:53 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						902697ca07 
					 
					
						
						
							
							add dcd_get_microframe()  
						
						 
						
						
						
						
					 
					
						2018-12-17 12:14:11 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						2a60427bdc 
					 
					
						
						
							
							rename bit_* helper to tu_bit_*, BIT_* to TU_BIT_* for consistency  
						
						 
						
						
						
						
					 
					
						2018-12-14 15:30:54 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						a3713f801d 
					 
					
						
						
							
							clean up compiler attribute  
						
						 
						
						
						
						
					 
					
						2018-12-14 13:08:21 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						a6b9432600 
					 
					
						
						
							
							clean up error enum  
						
						 
						
						
						
						
					 
					
						2018-12-13 14:57:21 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						1c49c479ca 
					 
					
						
						
							
							seperate tusb_task() to tud_task() and tuh_task()  
						
						 
						
						... 
						
						
						
						tusb_task() still exists for backward compatible 
						
						
					 
					
						2018-12-13 14:51:37 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						bb544a0951 
					 
					
						
						
							
							minor update  
						
						 
						
						
						
						
					 
					
						2018-12-12 14:43:45 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						c1c501e0c2 
					 
					
						
						
							
							change usbd xfer_cb return type to bool  
						
						 
						
						
						
						
					 
					
						2018-12-12 13:12:06 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						b6cb4757d2 
					 
					
						
						
							
							change class driver open return type to bool  
						
						 
						
						
						
						
					 
					
						2018-12-12 13:00:59 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						6c0b0917e1 
					 
					
						
						
							
							rename descriptor_* helper to tu_desc_*  
						
						 
						
						
						
						
					 
					
						2018-12-12 12:01:15 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						6d86db3977 
					 
					
						
						
							
							rename edpt_dir/number/addr to tu_edpt_*  
						
						 
						
						
						
						
					 
					
						2018-12-12 11:51:31 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						67d6d753d6 
					 
					
						
						
							
							replace all hcd pipe close by hcd_device_remove  
						
						 
						
						
						
						
					 
					
						2018-12-12 00:00:33 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						600fac1845 
					 
					
						
						
							
							fix build error with ohci  
						
						 
						
						
						
						
					 
					
						2018-12-11 16:18:56 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						dbc560658a 
					 
					
						
						
							
							more hcd_pipe to hcd_edpt rename  
						
						 
						
						
						
						
					 
					
						2018-12-11 13:15:05 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						0d04e6eb96 
					 
					
						
						
							
							rename to hcd_edpt_open()  
						
						 
						
						
						
						
					 
					
						2018-12-11 13:12:21 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						7c2056defb 
					 
					
						
						
							
							remove pipe handle in host msc  
						
						 
						
						
						
						
					 
					
						2018-12-11 01:03:15 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						7a626dbc8b 
					 
					
						
						
							
							completely remove pipe handle for cdc/hub/ehci  
						
						 
						
						
						
						
					 
					
						2018-12-11 00:56:21 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						e863c99a6f 
					 
					
						
						
							
							fix msc host  
						
						 
						
						
						
						
					 
					
						2018-12-10 23:15:53 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						212deaf2f8 
					 
					
						
						
							
							usbh name change  
						
						 
						
						
						
						
					 
					
						2018-12-10 22:19:01 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						9c3c782b64 
					 
					
						
						
							
							host msc built but got hardfault with inquiry command  
						
						 
						
						
						
						
					 
					
						2018-12-10 22:11:02 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						dffe9b335e 
					 
					
						
						
							
							clean up host pipe api  
						
						 
						
						
						
						
					 
					
						2018-12-10 20:26:47 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						4e7596ca9c 
					 
					
						
						
							
							add tuh_mount_cb/tuh_umount_cb  
						
						 
						
						
						
						
					 
					
						2018-12-10 19:25:57 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						9c4c797502 
					 
					
						
						
							
							add ep addr to host cdc  
						
						 
						
						
						
						
					 
					
						2018-12-10 19:01:28 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						0ae8a1aa89 
					 
					
						
						
							
							remove pipe handle.dev_addr  
						
						 
						
						
						
						
					 
					
						2018-12-10 16:58:17 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						a486da33ee 
					 
					
						
						
							
							usbh clean up  
						
						 
						
						
						
						
					 
					
						2018-12-10 05:55:02 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						a31f83dbb0 
					 
					
						
						
							
							removing pipe handle  
						
						 
						
						
						
						
					 
					
						2018-12-10 05:44:08 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						05913a7350 
					 
					
						
						
							
							change usbh class driver open signature  
						
						 
						
						
						
						
					 
					
						2018-12-09 12:34:05 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						607658d047 
					 
					
						
						
							
							rename MODE_HOST_SUPPORTED to TUSB_OPT_HOST_ENABLED  
						
						 
						
						
						
						
					 
					
						2018-12-07 23:38:52 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						e6e3679136 
					 
					
						
						
							
							simple cdc host demo work  
						
						 
						
						
						
						
					 
					
						2018-12-07 17:37:54 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						9b74f0e98f 
					 
					
						
						
							
							add connect to cdc for testing  
						
						 
						
						
						
						
					 
					
						2018-12-07 15:07:00 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						366ab79776 
					 
					
						
						
							
							able to build host hid  
						
						 
						
						
						
						
					 
					
						2018-12-07 14:57:58 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						89820a36a1 
					 
					
						
						
							
							able to build with host msc  
						
						 
						
						
						
						
					 
					
						2018-12-07 12:56:42 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						ac829c0a87 
					 
					
						
						
							
							minor clean up  
						
						 
						
						
						
						
					 
					
						2018-12-06 22:56:58 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						07c3fd5e1e 
					 
					
						
						
							
							clean up hub  
						
						 
						
						
						
						
					 
					
						2018-12-06 22:47:49 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						7d3ff7aff6 
					 
					
						
						
							
							rename CFG_TUSB_HOST_CDC/MSC to CFG_TUH_CDC/MSC  
						
						 
						
						
						
						
					 
					
						2018-12-06 22:24:31 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						5f7d7a34f5 
					 
					
						
						
							
							able to complete enumeration with os none blocking  
						
						 
						
						
						
						
					 
					
						2018-12-06 00:38:00 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						d96347a0f5 
					 
					
						
						
							
							rename OPT_MCU_LPC13UXX to OPT_MCU_LPC13XX  
						
						 
						
						
						
						
					 
					
						2018-11-30 12:48:06 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						8b03b6d3b4 
					 
					
						
						
							
							add Auto descriptor endpoint num config to support lpc17xx  
						
						 
						
						... 
						
						
						
						CFG_TUD_DESC_*_EPNUM 
						
						
					 
					
						2018-11-28 16:10:31 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						80ecf1fd54 
					 
					
						
						
							
							add OPT_MODE_HIGH_SPEED  
						
						 
						
						
						
						
					 
					
						2018-11-26 14:56:07 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hathach 
							
						 
					 
					
						
						
							
						
						064eec5dd8 
					 
					
						
						
							
							clean up warnings  
						
						 
						
						
						
						
					 
					
						2018-11-26 12:29:55 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Scott Shawcroft 
							
						 
					 
					
						
						
							
						
						47fabe42ed 
					 
					
						
						
							
							One tweak to make -Wdiscarded-qualifiers happy.  
						
						 
						
						
						
						
					 
					
						2018-11-23 12:48:55 -08:00