hathach 
							
						 
					 
					
						
						
							
						
						c3f4c75cfc 
					 
					
						
						
							
							Merge branch 'master' into develop  
						
						
						
						
					 
					
						2020-01-17 10:58:04 +07:00 
						 
				 
			
				
					
						
							
							
								Ha Thach 
							
						 
					 
					
						
						
							
						
						1f95f439e1 
					 
					
						
						
							
							Merge pull request  #274  from tannewt/dcache  
						
						... 
						
						
						
						Clean and invalidate the DCache when we have one. 
						
						
					 
					
						2020-01-17 09:47:38 +07:00 
						 
				 
			
				
					
						
							
							
								Scott Shawcroft 
							
						 
					 
					
						
						
							
						
						cd6454a330 
					 
					
						
						
							
							Add if guards for dcache flushes.  
						
						
						
						
					 
					
						2020-01-16 17:17:49 -08:00 
						 
				 
			
				
					
						
							
							
								Kay Sievers 
							
						 
					 
					
						
						
							
						
						73228a67ef 
					 
					
						
						
							
							MIDI: Add packet interface  
						
						... 
						
						
						
						This changes the internal buffering to the raw 4-byte messages. The
conversion of the messages to a byte-stream moved to the read/write
methods.
It adds a raw packet interface to send and retrieve the raw 4-byte
USB MIDI message:
  static inline bool     tud_midi_receive    (uint8_t packet[4]);
  static inline bool     tud_midi_send       (uint8_t const packet[4]);
MIDI USB packets carry virtual cable/wire/plug data in the packet header,
which cannot be exported in the byte-stream interface. The raw packet
interface allows to send and and receive the complete USB message. 
						
						
					 
					
						2020-01-16 10:11:37 +01:00 
						 
				 
			
				
					
						
							
							
								Scott Shawcroft 
							
						 
					 
					
						
						
							
						
						ae68668df9 
					 
					
						
						
							
							flush and invalidate the dcache  
						
						
						
						
					 
					
						2020-01-15 21:59:15 -08:00 
						 
				 
			
				
					
						
							
							
								Ha Thach 
							
						 
					 
					
						
						
							
						
						12b191510a 
					 
					
						
						
							
							Merge branch 'master' into nucbusreset  
						
						
						
						
					 
					
						2020-01-16 11:22:33 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						05fd02194e 
					 
					
						
						
							
							correct return value of midid_xfer_cb  
						
						
						
						
					 
					
						2020-01-16 11:12:26 +07:00 
						 
				 
			
				
					
						
							
							
								Ha Thach 
							
						 
					 
					
						
						
							
						
						537ceb0f65 
					 
					
						
						
							
							Merge branch 'master' into line_endings  
						
						
						
						
					 
					
						2020-01-16 10:55:14 +07:00 
						 
				 
			
				
					
						
							
							
								Peter Lawrence 
							
						 
					 
					
						
						
							
						
						2ed395bde3 
					 
					
						
						
							
							nuc121: survive USB bus reset  
						
						
						
						
					 
					
						2020-01-15 21:40:24 -06:00 
						 
				 
			
				
					
						
							
							
								Peter Lawrence 
							
						 
					 
					
						
						
							
						
						c04bc07c29 
					 
					
						
						
							
							nuc121: enhanced driver and hopefully added readability  
						
						
						
						
					 
					
						2020-01-15 20:09:50 -06:00 
						 
				 
			
				
					
						
							
							
								Nathan Conrad 
							
						 
					 
					
						
						
							
						
						25c1bea782 
					 
					
						
						
							
							Normalize line endings  
						
						
						
						
					 
					
						2020-01-15 14:47:43 -05:00 
						 
				 
			
				
					
						
							
							
								Peter Lawrence 
							
						 
					 
					
						
						
							
						
						7f2db321bf 
					 
					
						
						
							
							nuc121: better fix for handling large OUT transfers  
						
						
						
						
					 
					
						2020-01-15 10:23:23 -06:00 
						 
				 
			
				
					
						
							
							
								Peter Lawrence 
							
						 
					 
					
						
						
							
						
						f2a5335417 
					 
					
						
						
							
							nuc121: fix handling of OUT transfers larger than max packet size  
						
						
						
						
					 
					
						2020-01-14 22:07:38 -06:00 
						 
				 
			
				
					
						
							
							
								Sean Cross 
							
						 
					 
					
						
						
							
						
						a6b916ba85 
					 
					
						
						
							
							Merge pull request  #269  from antmicro/volatile_buffers_fix  
						
						... 
						
						
						
						dcd_eptri: Fix rx_buffer/tx_buffer volatile annotation 
						
						
					 
					
						2020-01-15 07:02:11 +10:00 
						 
				 
			
				
					
						
							
							
								Mateusz Holenko 
							
						 
					 
					
						
						
							
						
						c1781e5e7c 
					 
					
						
						
							
							dcd_eptri: Fix rx_buffer/tx_buffer volatile annotation  
						
						... 
						
						
						
						This makes `rx_buffer` and `tx_buffer` *pointers*
volatile in order to avoid caching them in a register.
The original notation meant "a pointer to a volatile value"
(equivalent of `volatile uint8_t *`). This resulted in
`while(rx_buffer[ep_num] != NULL) ;` loop to get stuck
forever, even though the IRQ handler set the `rx_buffer[ep_num] = NULL`. 
						
						
					 
					
						2020-01-14 13:57:17 +01:00 
						 
				 
			
				
					
						
							
							
								Peter Lawrence 
							
						 
					 
					
						
						
							
						
						53732805b7 
					 
					
						
						
							
							CDC device: help ensure code is consistent with the size of the buffers it operates on  
						
						
						
						
					 
					
						2020-01-11 15:31:42 -06:00 
						 
				 
			
				
					
						
							
							
								Peter Lawrence 
							
						 
					 
					
						
						
							
						
						33c715bdd0 
					 
					
						
						
							
							CDC device: fix behavior for transfers that are a whole multiple of endpoint buffer  
						
						
						
						
					 
					
						2020-01-11 14:21:43 -06:00 
						 
				 
			
				
					
						
							
							
								Ha Thach 
							
						 
					 
					
						
						
							
						
						744674bb28 
					 
					
						
						
							
							Merge pull request  #240  from majbthrd/master  
						
						... 
						
						
						
						implement multiple interfaces support 
						
						
					 
					
						2020-01-11 12:23:13 +07:00 
						 
				 
			
				
					
						
							
							
								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