Oliver Larsson 
							
						 
					 
					
						
						
							
						
						c4e04d3db4 
					 
					
						
						
							
							Add configuration option CFG_TUH_CDC_CP210X_PID_LIST to tusb_option.h  
						
						
						
						
					 
					
						2023-11-25 08:34:52 +01:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						aedc92f2d3 
					 
					
						
						
							
							fix typo in cdc line coding enum  
						
						
						
						
					 
					
						2023-11-22 11:25:55 +07:00 
						 
				 
			
				
					
						
							
							
								Ha Thach 
							
						 
					 
					
						
						
							
						
						7537985c08 
					 
					
						
						
							
							Merge pull request  #2222  from rppicomidi/fix-2188  
						
						... 
						
						
						
						fix issue 2188: support usbh_app_driver_get_cb() 
						
						
					 
					
						2023-08-15 23:33:19 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						1b33a31536 
					 
					
						
						
							
							more minor clean up  
						
						... 
						
						
						
						- also rename usbh_classdriver.h to usbh_pvt.h to consitent with usbd 
						
						
					 
					
						2023-08-15 22:54:07 +07:00 
						 
				 
			
				
					
						
							
							
								tswan-quasi 
							
						 
					 
					
						
						
							
						
						b5ba12119d 
					 
					
						
						
							
							UINT16_MAX stdint macro usage  
						
						
						
						
					 
					
						2023-08-14 09:01:30 -04:00 
						 
				 
			
				
					
						
							
							
								tswan-quasi 
							
						 
					 
					
						
						
							
						
						bd51afb091 
					 
					
						
						
							
							min on cdc r/w  
						
						
						
						
					 
					
						2023-08-14 08:49:52 -04:00 
						 
				 
			
				
					
						
							
							
								Ha Thach 
							
						 
					 
					
						
						
							
						
						1b04db2a77 
					 
					
						
						
							
							Merge branch 'master' into master  
						
						
						
						
					 
					
						2023-08-04 11:48:04 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						979bf32266 
					 
					
						
						
							
							default class driver log level to CFG_TUH/TUD_LOG_LEVEL allow application to selectively disable usbd/usbh or driver log  
						
						
						
						
					 
					
						2023-08-02 15:34:18 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						ef49b93532 
					 
					
						
						
							
							rename CFG_TUSB_MEM_SECTION to CFG_TUD_MEM_SECTION in device stack  
						
						... 
						
						
						
						CFG_TUD_MEM_SECTION is default to CFG_TUSB_MEM_SECTION 
						
						
					 
					
						2023-07-24 15:46:21 +07:00 
						 
				 
			
				
					
						
							
							
								Lars Pötter 
							
						 
					 
					
						
						
							
						
						0693462eba 
					 
					
						
						
							
							made line ends consistent.  
						
						
						
						
					 
					
						2023-07-02 09:02:24 +02:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						26d05d7fc9 
					 
					
						
						
							
							fix issue with ftdi host driver with status bytes  
						
						... 
						
						
						
						add workflow_dispatch to all ci workflow 
						
						
					 
					
						2023-05-25 16:53:32 +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 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								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 
							
						 
					 
					
						
						
							
						
						e44e461ce3 
					 
					
						
						
							
							add tuh_set_interface  
						
						
						
						
					 
					
						2023-03-21 12:55:52 +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 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						498989ee00 
					 
					
						
						
							
							use tu_static instead of static _fuzz_thread  
						
						
						
						
					 
					
						2023-02-22 16:23:40 +07:00 
						 
				 
			
				
					
						
							
							
								Ha Thach 
							
						 
					 
					
						
						
							
						
						557bf82336 
					 
					
						
						
							
							Merge pull request  #1867  from silvergasp/thread_local_globals  
						
						... 
						
						
						
						fix: Change all static variables to thread when fuzzing 
						
						
					 
					
						2023-02-22 12:54:32 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						03ec49450d 
					 
					
						
						
							
							rename maros from FUZZ to _FUZZ, change TU_STATIC to static _fuzz_thread  
						
						
						
						
					 
					
						2023-02-22 11:47:09 +07:00 
						 
				 
			
				
					
						
							
							
								Jeff Trull 
							
						 
					 
					
						
						
							
						
						7e2c5fcc8a 
					 
					
						
						
							
							Correct bitfields for cdc_desc_func_telephone_call_state_reporting_capabilities_t  
						
						
						
						
					 
					
						2023-02-12 20:52:17 -08:00 
						 
				 
			
				
					
						
							
							
								Jeff Trull 
							
						 
					 
					
						
						
							
						
						f48ae4aad7 
					 
					
						
						
							
							Adjust reserved bitfields to make SDCC happy  
						
						... 
						
						
						
						- keep each field at or under 16b
- For optimal packing, segment fields to 8b boundaries 
						
						
					 
					
						2023-02-10 15:54:04 -08:00 
						 
				 
			
				
					
						
							
							
								Nathaniel Brough 
							
						 
					 
					
						
						
							
						
						18c3095346 
					 
					
						
						
							
							fix: Change all static variables to thread when fuzzing  
						
						
						
						
					 
					
						2023-01-20 15:45:31 -08:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						48d4a67ec5 
					 
					
						
						
							
							add tuh_cdc_peek()  
						
						
						
						
					 
					
						2022-12-24 01:11:13 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						15a02d04df 
					 
					
						
						
							
							fix incorrect rx buf in cdc  
						
						
						
						
					 
					
						2022-12-22 21:35:55 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						396716cc2c 
					 
					
						
						
							
							clean up  
						
						
						
						
					 
					
						2022-12-22 20:26:32 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						f33883c308 
					 
					
						
						
							
							add tuh_cdc_get_local_line_coding()  
						
						
						
						
					 
					
						2022-12-22 19:41:39 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						14d45b580e 
					 
					
						
						
							
							correct host cdc enum  
						
						
						
						
					 
					
						2022-12-22 19:17:09 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						05c119ce97 
					 
					
						
						
							
							cdc host, add set line coding API  
						
						
						
						
					 
					
						2022-12-22 18:28:06 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						11233e4d3e 
					 
					
						
						
							
							minor clean up  
						
						
						
						
					 
					
						2022-12-22 11:43:57 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						2d536123c8 
					 
					
						
						
							
							finish moving edpt stream to tusb.c  
						
						
						
						
					 
					
						2022-12-22 11:31:37 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						e3c9d94500 
					 
					
						
						
							
							fix stream read count computation  
						
						
						
						
					 
					
						2022-12-22 11:16:39 +07:00