hathach 
							
						 
					 
					
						
						
							
						
						1c4f22a54c 
					 
					
						
						
							
							EHCI: fix xfer failed with disconnected device as stalled  
						
						... 
						
						
						
						- change CFG_TUH_ENDPOINT_MAX to 16 (max endpoint pair per device) if
not defined
- change QHD_MAX for EHCI, should be user configurable and more
optimized in the future 
						
						
					 
					
						2023-05-16 11:09:22 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						206d63e038 
					 
					
						
						
							
							correct EHCI reporting failed xfer (instead of stalled) when device is unplugged  
						
						
						
						
					 
					
						2023-05-16 11:09:21 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						1763eede48 
					 
					
						
						
							
							more update to host serial API  
						
						
						
						
					 
					
						2023-04-28 22:14:14 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						fb5fe3360f 
					 
					
						
						
							
							allow call tuh cdc with blocking (callback = NULL)  
						
						... 
						
						
						
						- tuh_cdc_set_control_line_state()
- tuh_cdc_set_baudrate()
- tuh_cdc_set_line_coding() 
						
						
					 
					
						2023-04-28 21:50:54 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						0a43a7b418 
					 
					
						
						
							
							improve host serial drivers  
						
						... 
						
						
						
						- tuh_control_xfer() update xfer result to user_data if complete
callback = NULL (sync/blocking)
- refactor host serial driver for acm/ftdi/cp210x 
						
						
					 
					
						2023-04-28 19:13:25 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						190acc1fb0 
					 
					
						
						
							
							add aligned(4) for cdc_line_coding_t  
						
						
						
						
					 
					
						2023-04-28 11:12:03 +07:00 
						 
				 
			
				
					
						
							
							
								Jean-Baptiste Theou 
							
						 
					 
					
						
						
							
						
						8f47976639 
					 
					
						
						
							
							cdc: fix line_coding aligment  
						
						... 
						
						
						
						While calling tud_cdc_n_get_line_coding, the structure is copied into
the destination.
Dump of assembler code for function tud_cdc_n_get_line_coding:
   0x000193f4 <+0>:	mov.w	r2, #2112 	@ 0x840
0x000193f8 <+4>:	ldr	r3, [pc, #20 ]	@ (0x19410
<tud_cdc_n_get_line_coding+28>)
   0x000193fa <+6>:	mla	r0, r2, r0, r3
=> 0x000193fe <+10>:	ldr.w	r3, [r0, #6 ]
   0x00019402 <+14>:	str	r3, [r1, #0 ]
On some platform (tested on LPC55S28), the address needs to be 4-bytes
aligned. Without this, the address is
(gdb) p &_cdcd_itf.line_coding
$3 = (cdc_line_coding_t *) 0x40100006 <_cdcd_itf+6>
which leads to a HardFault. With this fix
(gdb) p &_cdcd_itf.line_coding
$5 = (cdc_line_coding_t *) 0x40100008 <_cdcd_itf+8>
and the function can be called properly
Signed-off-by: Jean-Baptiste Theou <jb@thing.com > 
						
						
					 
					
						2023-04-27 15:48:15 -10:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						732686cc10 
					 
					
						
						
							
							add tuh_cdc_set_baudrate()  
						
						
						
						
					 
					
						2023-04-27 23:22:10 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						ee58278ed2 
					 
					
						
						
							
							add code to calculate divisor from baudrate for ftdi  
						
						
						
						
					 
					
						2023-04-27 23:08:25 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						8214f0f497 
					 
					
						
						
							
							clean up  
						
						
						
						
					 
					
						2023-04-27 17:40:08 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						c10f52b237 
					 
					
						
						
							
							forgot to add cp210x header  
						
						
						
						
					 
					
						2023-04-27 17:39:02 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						438387be8c 
					 
					
						
						
							
							more refactor  
						
						
						
						
					 
					
						2023-04-27 17:32:56 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						86f6fd17ed 
					 
					
						
						
							
							cp210x seems to work well  
						
						
						
						
					 
					
						2023-04-27 17:09:21 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						a32ef1cde1 
					 
					
						
						
							
							more host serial refactor  
						
						
						
						
					 
					
						2023-04-27 16:32:42 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						9698a088db 
					 
					
						
						
							
							refactor acm function  
						
						
						
						
					 
					
						2023-04-27 15:29:44 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						85d9925d24 
					 
					
						
						
							
							refactor ftdi driver  
						
						
						
						
					 
					
						2023-04-27 15:20:04 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						293a6222f8 
					 
					
						
						
							
							rename ftdi_host to ftdi_sio  
						
						
						
						
					 
					
						2023-04-27 11:08:42 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						45169d833d 
					 
					
						
						
							
							hacky, but ftdi work with hard code baudrate = 9600  
						
						
						
						
					 
					
						2023-04-26 22:36:17 +07:00 
						 
				 
			
				
					
						
							
							
								Ha Thach 
							
						 
					 
					
						
						
							
						
						c3a60ed355 
					 
					
						
						
							
							Merge pull request  #1920  from mikee47/fix/midi-definition  
						
						... 
						
						
						
						MIDI_CIN_NOTE_ON definition transposed with MIDI_CIN_NOTE_OFF 
						
						
					 
					
						2023-04-18 10:43:52 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						6db24e0dba 
					 
					
						
						
							
							implement tuh_hid_receive_ready() and tuh_hid_send_ready()  
						
						
						
						
					 
					
						2023-04-06 11:16:28 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						106084289d 
					 
					
						
						
							
							add define for vendor_flush() to write_flush() for backward compatible  
						
						
						
						
					 
					
						2023-04-06 11:15:57 +07:00 
						 
				 
			
				
					
						
							
							
								epatstarkey 
							
						 
					 
					
						
						
							
						
						1372d4e4d5 
					 
					
						
						
							
							Remove trailing whitespace  
						
						
						
						
					 
					
						2023-03-31 12:58:51 -05:00 
						 
				 
			
				
					
						
							
							
								epatstarkey 
							
						 
					 
					
						
						
							
						
						1fb2a2f1bd 
					 
					
						
						
							
							Update vendor_device.c  
						
						
						
						
					 
					
						2023-03-28 14:01:33 -05:00 
						 
				 
			
				
					
						
							
							
								epatstarkey 
							
						 
					 
					
						
						
							
						
						876f49f6ad 
					 
					
						
						
							
							Update vendor_device.c  
						
						
						
						
					 
					
						2023-03-28 14:00:23 -05:00 
						 
				 
			
				
					
						
							
							
								epatstarkey 
							
						 
					 
					
						
						
							
						
						faaed198b4 
					 
					
						
						
							
							Update vendor_device.h  
						
						
						
						
					 
					
						2023-03-28 13:59:59 -05:00 
						 
				 
			
				
					
						
							
							
								kkitayam 
							
						 
					 
					
						
						
							
						
						993b8d6686 
					 
					
						
						
							
							Add state variable  
						
						
						
						
					 
					
						2023-03-26 21:18:00 +09:00 
						 
				 
			
				
					
						
							
							
								kkitayam 
							
						 
					 
					
						
						
							
						
						e508831561 
					 
					
						
						
							
							Update handle streaming interface  
						
						
						
						
					 
					
						2023-03-25 21:25:13 +09:00 
						 
				 
			
				
					
						
							
							
								kkitayam 
							
						 
					 
					
						
						
							
						
						78732d6733 
					 
					
						
						
							
							Fix streaming interface handling  
						
						
						
						
					 
					
						2023-03-25 21:25:12 +09:00 
						 
				 
			
				
					
						
							
							
								kkitayam 
							
						 
					 
					
						
						
							
						
						97f9321e1d 
					 
					
						
						
							
							Add handling for bulk EPs  
						
						
						
						
					 
					
						2023-03-25 21:25:12 +09:00 
						 
				 
			
				
					
						
							
							
								Ha Thach 
							
						 
					 
					
						
						
							
						
						5add4c97fa 
					 
					
						
						
							
							Merge pull request  #1979  from hathach/fix-cdc-host-unsupported-line-request  
						
						... 
						
						
						
						fix cdc host enumeration issue when device does not support line request 
						
						
					 
					
						2023-03-24 17:58:34 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						df5f60b6d6 
					 
					
						
						
							
							fix shadow warning  
						
						
						
						
					 
					
						2023-03-24 17:36:29 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						b054229780 
					 
					
						
						
							
							fix cdc host enumeration issue when device does not support line request  
						
						
						
						
					 
					
						2023-03-24 17:26:30 +07:00 
						 
				 
			
				
					
						
							
							
								Ha Thach 
							
						 
					 
					
						
						
							
						
						59cbfbbdbe 
					 
					
						
						
							
							Merge pull request  #1971  from MattMills/class_net_net_device_mac_address_shouldnt_be_consts  
						
						... 
						
						
						
						Update net_device.h to make MAC addresses not const. 
						
						
					 
					
						2023-03-24 16:48:33 +07:00 
						 
				 
			
				
					
						
							
							
								Ha Thach 
							
						 
					 
					
						
						
							
						
						f640163ee9 
					 
					
						
						
							
							Merge pull request  #1969  from hathach/fix-tmc488-bit-order-1658  
						
						... 
						
						
						
						Fix tmc488 bit order 1658 
						
						
					 
					
						2023-03-24 14:41:57 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						71fb6469d4 
					 
					
						
						
							
							separate CFG_TUSB_MEM_SECTION and CFG_TUSB_MEM_ALIGN to  
						
						... 
						
						
						
						- CFG_TUD_MEM_SECTION and CFG_TUD_MEM_ALIGN
- CFG_TUH_MEM_SECTION and CFG_TUH_MEM_ALIGN
- fix missing mem section and align for host 
						
						
					 
					
						2023-03-24 14:05:21 +07:00 
						 
				 
			
				
					
						
							
							
								Matt Mills 
							
						 
					 
					
						
						
							
						
						4274cab395 
					 
					
						
						
							
							Update net_device.h  
						
						
						
						
					 
					
						2023-03-22 07:18:27 -06:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						096da11e88 
					 
					
						
						
							
							more update  
						
						
						
						
					 
					
						2023-03-22 17:01:04 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						c85f46c4ab 
					 
					
						
						
							
							fix bitorder in usbtmc_response_capabilities_488_t  
						
						
						
						
					 
					
						2023-03-22 16:59:57 +07:00 
						 
				 
			
				
					
						
							
							
								Ha Thach 
							
						 
					 
					
						
						
							
						
						07976ad26d 
					 
					
						
						
							
							Merge pull request  #1968  from hathach/refactor-hid-host  
						
						... 
						
						
						
						Refactor hid host 
						
						
					 
					
						2023-03-22 10:37:06 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						f27486e19a 
					 
					
						
						
							
							add tuh_hid_itf_get_info() and change tuh_cdc_itf_get_info() to use new tuh_itf_info_t  
						
						
						
						
					 
					
						2023-03-22 10:00:42 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						d22fc550c7 
					 
					
						
						
							
							change meaning of CFG_TUH_HID to total number of HID interfaces supported.  
						
						... 
						
						
						
						- previously CFG_TUH_HID is max number of interfaces per device which is
rather limited and consume more resources than needed.
- change hid host instance in API to index 
						
						
					 
					
						2023-03-21 21:04:06 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						878f2b54fe 
					 
					
						
						
							
							relax hid host enumeration, allow set protocol to be stalled  
						
						
						
						
					 
					
						2023-03-21 18:12:55 +07:00 
						 
				 
			
				
					
						
							
							
								Ha Thach 
							
						 
					 
					
						
						
							
						
						ec9c666107 
					 
					
						
						
							
							Merge pull request  #1965  from HiFiPhile/align  
						
						... 
						
						
						
						UAC2: fix feedback EP buffer alignment. 
						
						
					 
					
						2023-03-21 15:46:00 +07:00 
						 
				 
			
				
					
						
							
							
								Mengsk 
							
						 
					 
					
						
						
							
						
						42decd94e5 
					 
					
						
						
							
							UAC2: fix feedback EP buffer alignment.  
						
						
						
						
					 
					
						2023-03-21 07:58:39 +01:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						e44e461ce3 
					 
					
						
						
							
							add tuh_set_interface  
						
						
						
						
					 
					
						2023-03-21 12:55:52 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						9f54cc1eb7 
					 
					
						
						
							
							more clean up  
						
						
						
						
					 
					
						2023-03-18 11:43:47 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						d919f107c7 
					 
					
						
						
							
							minor clean up  
						
						
						
						
					 
					
						2023-03-18 11:22:44 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						bdfcd50b1b 
					 
					
						
						
							
							Merge branch 'master' into portability  
						
						
						
						
					 
					
						2023-03-17 23:53:38 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						3623ba1884 
					 
					
						
						
							
							fix trailing space and new line  
						
						... 
						
						
						
						temporarily disable codespell 
						
						
					 
					
						2023-03-17 16:12:49 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						317177c83d 
					 
					
						
						
							
							update host example, add pio-pico-usb for rp2040  
						
						
						
						
					 
					
						2023-03-17 14:06:25 +07:00