Ha Thach 
							
						 
					 
					
						
						
							
						
						130250a2be 
					 
					
						
						
							
							Merge branch 'master' into nuc121  
						
						
						
						
					 
					
						2020-01-07 16:26:58 +07:00 
						 
				 
			
				
					
						
							
							
								Ha Thach 
							
						 
					 
					
						
						
							
						
						d6a8d42bd6 
					 
					
						
						
							
							Merge pull request  #254  from majbthrd/multi-setconfig  
						
						... 
						
						
						
						gracefully handle multiple SET_CONFIGURATION requests 
						
						
					 
					
						2020-01-05 17:48:55 +07:00 
						 
				 
			
				
					
						
							
							
								Peter Lawrence 
							
						 
					 
					
						
						
							
						
						5c5f876461 
					 
					
						
						
							
							dcd_nuc121: allow user ZLP transfers to get a callback  
						
						
						
						
					 
					
						2020-01-04 13:36:26 -06:00 
						 
				 
			
				
					
						
							
							
								Peter Lawrence 
							
						 
					 
					
						
						
							
						
						f4371e79b1 
					 
					
						
						
							
							add Nuvoton NUC121/NUC125/NUC126  
						
						
						
						
					 
					
						2020-01-04 10:31:55 -06:00 
						 
				 
			
				
					
						
							
							
								majbthrd 
							
						 
					 
					
						
						
							
						
						6b3eb5f173 
					 
					
						
						
							
							fix missing parentheses in TU_MIN and TU_MAX macros ( #256 )  
						
						
						
						
					 
					
						2019-12-30 23:12:18 +07:00 
						 
				 
			
				
					
						
							
							
								Jeremy Herbert 
							
						 
					 
					
						
						
							
						
						db24b2f372 
					 
					
						
						
							
							Let device respond to endpoint requests on EP0 ( #251 )  
						
						... 
						
						
						
						Since endpoint 0 is used for control requests, it doesn't have a class driver attached to it. As such, the corresponding `_usbd_dev.ep2drv` entry points to driver `0xFF`, which is invalid and this makes the `TU_ASSERT(drvid < USBD_CLASS_DRIVER_COUNT);` line fail, and eventually causes an endpoint stall. So as-is the stack cannot respond to any endpoint requests on endpoint 0.
However, standard requests on endpoint 0 do not need a class driver to produce a valid response. This commit changes the order of execution so that the assert is only checked if the endpoint is not 0. 
						
						
					 
					
						2019-12-30 10:58:06 +07:00 
						 
				 
			
				
					
						
							
							
								Peter Lawrence 
							
						 
					 
					
						
						
							
						
						e7bf66b29e 
					 
					
						
						
							
							gracefully handle multiple SET_CONFIGURATION requests  
						
						
						
						
					 
					
						2019-12-28 16:49:52 -06:00 
						 
				 
			
				
					
						
							
							
								Peter Lawrence 
							
						 
					 
					
						
						
							
						
						ff0e7d2bed 
					 
					
						
						
							
							implement multiple interfaces support  
						
						
						
						
					 
					
						2019-12-28 14:27:32 -06:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						89f3ad59da 
					 
					
						
						
							
							fix   #247  
						
						
						
						
					 
					
						2019-12-27 09:42:57 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						0da45c2e78 
					 
					
						
						
							
							clean up  
						
						
						
						
					 
					
						2019-12-26 22:31:29 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						b5684c5c10 
					 
					
						
						
							
							merge dcd_samd51 & dcd_samd21 into dcd_samd  
						
						
						
						
					 
					
						2019-12-26 21:46:59 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						49b316143a 
					 
					
						
						
							
							improve samd, fix missing setup packet occasionally  
						
						
						
						
					 
					
						2019-12-26 17:11:24 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						5690e7b304 
					 
					
						
						
							
							fix samd51 setup packet handling  
						
						... 
						
						
						
						issue occur due to race condition
https://github.com/adafruit/Adafruit_TinyUSB_Arduino/issues/37  
						
						
					 
					
						2019-12-25 23:47:47 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						605129eb66 
					 
					
						
						
							
							invoke scsi complete callback before queue for csw status  
						
						... 
						
						
						
						there is racing issue with samd + qspi flash testing with arduino
otherwise. 
						
						
					 
					
						2019-12-24 21:24:43 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						2caa1ac078 
					 
					
						
						
							
							Merge branch 'master' into develop  
						
						
						
						
					 
					
						2019-12-24 21:13:05 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						bbada1d3e6 
					 
					
						
						
							
							adding lookup table for debugging  
						
						... 
						
						
						
						add msc scsi command list 
						
						
					 
					
						2019-12-23 18:54:06 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						94e70f9b01 
					 
					
						
						
							
							Merge branch 'master' into port-samg55  
						
						
						
						
					 
					
						2019-12-21 23:53:48 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						421221baa5 
					 
					
						
						
							
							making more progress, but failed with WRITE10  
						
						... 
						
						
						
						incorrect queue 448 bytes instead of 512 
						
						
					 
					
						2019-12-21 23:51:57 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						050fa2fd39 
					 
					
						
						
							
							able to response to scsi inquiry, but failed to response to test unit ready  
						
						
						
						
					 
					
						2019-12-21 19:33:41 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						a1e55e57a4 
					 
					
						
						
							
							clean warnings  
						
						
						
						
					 
					
						2019-12-20 17:09:42 +07:00 
						 
				 
			
				
					
						
							
							
								samveen 
							
						 
					 
					
						
						
							
						
						ba8a232970 
					 
					
						
						
							
							add "`" and "~" to keycode -> ASCII table  
						
						
						
						
					 
					
						2019-12-17 12:47:05 +05:30 
						 
				 
			
				
					
						
							
							
								samveen 
							
						 
					 
					
						
						
							
						
						fdce63b268 
					 
					
						
						
							
							[tusb]fix typo in comment  
						
						
						
						
					 
					
						2019-12-16 23:01:26 +05:30 
						 
				 
			
				
					
						
							
							
								Ha Thach 
							
						 
					 
					
						
						
							
						
						7a05b177a4 
					 
					
						
						
							
							Merge pull request  #236  from jeremyherbert/master  
						
						... 
						
						
						
						Update dcd_stm32_fsdev.c with note about F042Fx remapping 
						
						
					 
					
						2019-12-12 10:17:40 +07:00 
						 
				 
			
				
					
						
							
							
								Jeremy Herbert 
							
						 
					 
					
						
						
							
						
						9d96b6d66e 
					 
					
						
						
							
							Update dcd_stm32_fsdev.c  
						
						... 
						
						
						
						Add a note about pin remapping for the STM32F042Fx 
						
						
					 
					
						2019-12-12 09:40:06 +10:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						96a9eca6a0 
					 
					
						
						
							
							move VBUS sense out of dcd_synosys to bsp  
						
						
						
						
					 
					
						2019-12-11 14:03:36 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						752aea7d72 
					 
					
						
						
							
							enhance samg  
						
						
						
						
					 
					
						2019-12-09 23:58:13 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						fa96078882 
					 
					
						
						
							
							clear data toggle in clear stall, also set config bit  
						
						
						
						
					 
					
						2019-12-09 23:21:06 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						75a2157715 
					 
					
						
						
							
							fix samd using TUSB_REQ_SET_ADDRESS in dcd_edpt0_status_complete  
						
						
						
						
					 
					
						2019-12-09 23:20:21 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						0316e0ecd4 
					 
					
						
						
							
							update descriptor, enhance ep in transfer  
						
						
						
						
					 
					
						2019-12-09 22:48:35 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						759fa76280 
					 
					
						
						
							
							implementing dcd_edpt_open  
						
						
						
						
					 
					
						2019-12-09 21:36:15 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						988edce745 
					 
					
						
						
							
							fix build  
						
						
						
						
					 
					
						2019-12-09 18:49:38 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						208a77678c 
					 
					
						
						
							
							clean up, switch and update submodule samd to circuitpython branch  
						
						
						
						
					 
					
						2019-12-09 18:37:54 +07:00 
						 
				 
			
				
					
						
							
							
								Jerzy Kasenberg 
							
						 
					 
					
						
						
							
						
						4a1f7d0243 
					 
					
						
						
							
							Fix mynewt osal queue definition  
						
						... 
						
						
						
						Queue table has pointers instead of data os_event structs.
This resulted in crashes when elements were put to queue and
overwritten variables that were just after mpool desiged
for queue. 
						
						
					 
					
						2019-12-01 12:38:36 +01:00 
						 
				 
			
				
					
						
							
							
								Sean Cross 
							
						 
					 
					
						
						
							
						
						26dcc19b18 
					 
					
						
						
							
							valentyusb: eptri: don't double-advance read buffer  
						
						... 
						
						
						
						Due to an error, we were double-advancing the FIFO buffer.  The end
result was that the second half of most reads were getting ignored.
This wasn't found during earlier testing because only 64-byte buffers
were tested.
This corrects this error by avoiding double-advancing the buffer.
Signed-off-by: Sean Cross <sean@xobs.io > 
						
						
					 
					
						2019-11-29 18:14:23 +08:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						e9725dcdbe 
					 
					
						
						
							
							use dcd_edpt0_status_complete() to prepare for setup packet for samd21/samd51  
						
						
						
						
					 
					
						2019-11-28 13:48:55 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						d7558e8a0f 
					 
					
						
						
							
							use dcd_edpt0_status_complete() to set address without blocking for samd21/samd51/stm32_fsdev  
						
						
						
						
					 
					
						2019-11-28 13:39:29 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						ac701c398b 
					 
					
						
						
							
							clean up  
						
						
						
						
					 
					
						2019-11-28 12:18:56 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						552cc3ef33 
					 
					
						
						
							
							implement dcd_edpt_stall  
						
						
						
						
					 
					
						2019-11-28 11:56:35 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						5dc04887e2 
					 
					
						
						
							
							get passed set address  
						
						
						
						
					 
					
						2019-11-28 11:48:08 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						6bc245cb36 
					 
					
						
						
							
							add dcd_edpt0_status_complete() which is useful for several mcu port  
						
						
						
						
					 
					
						2019-11-28 11:46:36 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						40b454cf28 
					 
					
						
						
							
							get passed first get device descriptor  
						
						
						
						
					 
					
						2019-11-27 23:20:48 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						6225d5bcfd 
					 
					
						
						
							
							able to handle setup packet  
						
						
						
						
					 
					
						2019-11-27 16:01:25 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						bc21714c7e 
					 
					
						
						
							
							detect bus reset  
						
						
						
						
					 
					
						2019-11-27 14:49:19 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						302746d02c 
					 
					
						
						
							
							Merge branch 'develop' into port-samg55  
						
						
						
						
					 
					
						2019-11-27 12:35:59 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						fe1eadf177 
					 
					
						
						
							
							fix   #229  
						
						
						
						
					 
					
						2019-11-27 12:34:30 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						8a1b6327ba 
					 
					
						
						
							
							extract code to invoke_class_control()  
						
						... 
						
						
						
						- also rename usbd_class_drivers to _usbd_driver 
						
						
					 
					
						2019-11-27 12:12:52 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						745f0b4521 
					 
					
						
						
							
							clean up  
						
						
						
						
					 
					
						2019-11-27 11:02:24 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						c691dc4cb2 
					 
					
						
						
							
							update  
						
						
						
						
					 
					
						2019-11-25 10:42:32 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						58e8265964 
					 
					
						
						
							
							usb hw init OK  
						
						
						
						
					 
					
						2019-11-24 23:46:28 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						24b2cea139 
					 
					
						
						
							
							Merge branch 'master' into port-samg55  
						
						
						
						
					 
					
						2019-11-24 21:22:42 +07:00