hathach 
							
						 
					 
					
						
						
							
						
						41606a533d 
					 
					
						
						
							
							make notify API and memory configurable with CFG_TUD_CDC_NOTIFY  
						
						... 
						
						
						
						add tud_cdc_n_notify_conn_speed_change()
add tud_cdc_notify_complete_cb() 
						
						
					 
					
						2025-07-03 13:42:05 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						cf3966efd9 
					 
					
						
						
							
							Merge branch 'master' into fork/HiFiPhile/dcd_notif  
						
						
						
						
					 
					
						2025-07-02 18:18:52 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						db537861b2 
					 
					
						
						
							
							device cdc: rename tud_cdc_configure_fifo/_t to tud_cdc_configure/_t  
						
						... 
						
						
						
						add tx_overwritabe_if_not_connected for cdc driver configure 
						
						
					 
					
						2025-03-24 22:58:21 +07:00 
						 
				 
			
				
					
						
							
							
								HiFiPhile 
							
						 
					 
					
						
						
							
						
						f10467e711 
					 
					
						
						
							
							Merge branch 'master' into dcd_notif  
						
						... 
						
						
						
						Signed-off-by: HiFiPhile <admin@hifiphile.com > 
						
						
					 
					
						2024-12-01 00:01:33 +01:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						090964cd1b 
					 
					
						
						
							
							apply TUD_EPBUF_DEF for device: bth, dfu, hid, msc  
						
						
						
						
					 
					
						2024-11-22 12:25:37 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						fa523a5682 
					 
					
						
						
							
							make sure usb buffer occupies whole cache line when DCACHE is enabled for msc,cdc,hid  
						
						... 
						
						
						
						HIL enable device DMA for p4 
						
						
					 
					
						2024-11-21 10:22:09 +07:00 
						 
				 
			
				
					
						
							
							
								HiFiPhile 
							
						 
					 
					
						
						
							
						
						85ff529a31 
					 
					
						
						
							
							Merge branch 'master' into dcd_notif  
						
						... 
						
						
						
						Signed-off-by: HiFiPhile <admin@hifiphile.com > 
						
						
					 
					
						2024-10-30 19:47:03 +01:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						6fb6602a09 
					 
					
						
						
							
							- add tud_cdc_n_ready() though not used  
						
						... 
						
						
						
						- usbd now change _usbd_dev.cfg_num before calling driver's open() 
						
						
					 
					
						2024-07-19 18:08:04 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						be18af8235 
					 
					
						
						
							
							revert changes to usbds configuration_reset() (deal with it in separated PR)  
						
						
						
						
					 
					
						2024-07-19 17:10:53 +07:00 
						 
				 
			
				
					
						
							
							
								HiFiPhile 
							
						 
					 
					
						
						
							
						
						60b3d14d19 
					 
					
						
						
							
							Check tud ready check for OUT xfer.  
						
						
						
						
					 
					
						2024-07-19 17:02:53 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						1f590c3628 
					 
					
						
						
							
							- add tud_cdc_configure_fifo() to replace CFG_TUD_CDC_PERSISTENT_TX_BUFF  
						
						... 
						
						
						
						- new line, and code format 
						
						
					 
					
						2024-07-12 16:53:21 +07:00 
						 
				 
			
				
					
						
							
							
								Andrew Leech 
							
						 
					 
					
						
						
							
						
						d01b2cfc0e 
					 
					
						
						
							
							Add option to make CDC TX buffer persistent.  
						
						
						
						
					 
					
						2024-05-08 19:41:02 +10:00 
						 
				 
			
				
					
						
							
							
								HiFiPhile 
							
						 
					 
					
						
						
							
						
						67f32da1b9 
					 
					
						
						
							
							cdc: add uart status notification support.  
						
						
						
						
					 
					
						2024-04-26 00:17:50 +02:00 
						 
				 
			
				
					
						
							
							
								HiFiPhile 
							
						 
					 
					
						
						
							
						
						8b4ca69e56 
					 
					
						
						
							
							cdc_device : save rhport.  
						
						
						
						
					 
					
						2024-04-26 00:17:50 +02:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						c097c85dcf 
					 
					
						
						
							
							fix print lu format warnings with clang  
						
						
						
						
					 
					
						2024-04-22 16:17:22 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						c3c0648456 
					 
					
						
						
							
							add class driver deinit  
						
						
						
						
					 
					
						2024-04-08 22:07:56 +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 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								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 
							
						 
					 
					
						
						
							
						
						3623ba1884 
					 
					
						
						
							
							fix trailing space and new line  
						
						... 
						
						
						
						temporarily disable codespell 
						
						
					 
					
						2023-03-17 16:12:49 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						498989ee00 
					 
					
						
						
							
							use tu_static instead of static _fuzz_thread  
						
						
						
						
					 
					
						2023-02-22 16:23:40 +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 
						 
				 
			
				
					
						
							
							
								Nathaniel Brough 
							
						 
					 
					
						
						
							
						
						18c3095346 
					 
					
						
						
							
							fix: Change all static variables to thread when fuzzing  
						
						
						
						
					 
					
						2023-01-20 15:45:31 -08:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						15a02d04df 
					 
					
						
						
							
							fix incorrect rx buf in cdc  
						
						
						
						
					 
					
						2022-12-22 21:35:55 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						88e6da7273 
					 
					
						
						
							
							use OSAL_MUTEX_REQUIRED to replace CFG_FIFO_MUTEX/TUSB_OPT_MUTEX  
						
						... 
						
						
						
						add macro to swallow mutex API in order to simplify code with mutex 
						
						
					 
					
						2022-12-15 18:03:01 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						19400c8556 
					 
					
						
						
							
							fix typo, add -Wno-error=unreachable-code  for fuzz due to latest cdc changes  
						
						
						
						
					 
					
						2022-12-08 10:30:22 +07:00 
						 
				 
			
				
					
						
							
							
								Tomas Rezucha 
							
						 
					 
					
						
						
							
						
						603effbb77 
					 
					
						
						
							
							cdc: Fix autoflush for FIFO < MPS  
						
						
						
						
					 
					
						2022-12-06 07:49:26 +01:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						4f6e770eda 
					 
					
						
						
							
							add more warning option, also fix  -Wconversion with rp2040  
						
						... 
						
						
						
						-Wuninitialized, -Wunused,  -Wredundant-decls 
						
						
					 
					
						2022-06-24 19:46:19 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						8b9cf152a0 
					 
					
						
						
							
							rhport argument in usbd_ API() is not used (always use the initialized port)  
						
						... 
						
						
						
						remove the usage of TUD_OPT_RHPORT in class driver 
						
						
					 
					
						2022-06-02 16:51:17 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						d10326cb4e 
					 
					
						
						
							
							rename TUSB_OPT_DEVICE_ENABLED to CFG_TUD_ENABLED  
						
						... 
						
						
						
						TUSB_OPT_DEVICE_ENABLED still usable for backward compatible 
						
						
					 
					
						2022-02-25 18:35:21 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						a994540860 
					 
					
						
						
							
							fix nrf easy dma race condition  
						
						
						
						
					 
					
						2021-11-23 09:36:28 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						7596cb3079 
					 
					
						
						
							
							update some sense warning from -Wconversion  
						
						
						
						
					 
					
						2021-10-15 15:54:32 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						5811122cfd 
					 
					
						
						
							
							change usbh open driver to have max_len and return driver len  
						
						
						
						
					 
					
						2021-06-28 17:39:57 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						9736e54734 
					 
					
						
						
							
							include clean up  
						
						
						
						
					 
					
						2021-05-27 17:40:39 +07:00 
						 
				 
			
				
					
						
							
							
								Reinhard Panhuber 
							
						 
					 
					
						
						
							
						
						de933c45bc 
					 
					
						
						
							
							Remove all remainings with peek_at  
						
						
						
						
					 
					
						2021-04-30 14:56:14 +02:00 
						 
				 
			
				
					
						
							
							
								Reinhard Panhuber 
							
						 
					 
					
						
						
							
						
						a1efd41649 
					 
					
						
						
							
							Merge remote-tracking branch 'upstream/master' into edpt_ISO_xfer  
						
						
						
						
					 
					
						2021-04-03 09:50:08 +02:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						31373fd55c 
					 
					
						
						
							
							use !tu_fifo_empty() instead of tu_fifo_count()  
						
						
						
						
					 
					
						2021-03-12 12:55:18 +07:00 
						 
				 
			
				
					
						
							
							
								HiFiPhile 
							
						 
					 
					
						
						
							
						
						5caad485f1 
					 
					
						
						
							
							Add fifo empty check.  
						
						... 
						
						
						
						Signed-off-by: HiFiPhile <admin@hifiphile.com > 
						
						
					 
					
						2021-03-11 20:36:46 +01:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						794083b647 
					 
					
						
						
							
							Merge branch 'master' into edpt_ISO_xfer  
						
						
						
						
					 
					
						2021-03-10 17:10:49 +07:00 
						 
				 
			
				
					
						
							
							
								HiFiPhile 
							
						 
					 
					
						
						
							
						
						7fc99a9e11 
					 
					
						
						
							
							Call One time tu_fifo_write_n on cdcd_xfer_cb  
						
						... 
						
						
						
						Signed-off-by: HiFiPhile <admin@hifiphile.com > 
						
						
					 
					
						2021-03-10 10:19:45 +01:00 
						 
				 
			
				
					
						
							
							
								Reinhard Panhuber 
							
						 
					 
					
						
						
							
						
						7e56f46957 
					 
					
						
						
							
							Extend FIFO mutex to use separate write and read mutexes.  
						
						... 
						
						
						
						Adjust all USB drivers using FIFO and mutexes. 
						
						
					 
					
						2021-03-04 13:52:14 +01:00 
						 
				 
			
				
					
						
							
							
								amit verma 
							
						 
					 
					
						
						
							
						
						07a04255da 
					 
					
						
						
							
							initial break request handling  
						
						
						
						
					 
					
						2021-02-25 23:13:21 +05:30 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						4b4f880785 
					 
					
						
						
							
							add tud_ready() check in tud_cdc_n_write_flush()  
						
						... 
						
						
						
						other clean up 
						
						
					 
					
						2020-11-23 23:40:13 +07:00 
						 
				 
			
				
					
						
							
							
								Ha Thach 
							
						 
					 
					
						
						
							
						
						308028e17c 
					 
					
						
						
							
							Merge branch 'master' into cdc_without_dtr  
						
						
						
						
					 
					
						2020-11-23 23:25:55 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						dd07fecc5f 
					 
					
						
						
							
							migrate cdc_device to new control_xfer_cb  
						
						
						
						
					 
					
						2020-11-19 21:26:06 +07:00 
						 
				 
			
				
					
						
							
							
								Jan Dümpelmann 
							
						 
					 
					
						
						
							
						
						54e29e9ff4 
					 
					
						
						
							
							Implementation of the discussed changes  
						
						... 
						
						
						
						- remove usbd_edpt_xfer_abort
- rename tu_fifo_change_mode to tu_fifo_set_mode
- remove CFG_TUD_CDC_CLEAR_AT_CONNECTION definition
- remove auto fifo clear at connection event
- add tud_cdc_n_write_clear function 
						
						
					 
					
						2020-11-18 09:42:50 +01:00 
						 
				 
			
				
					
						
							
							
								Jan Dümpelmann 
							
						 
					 
					
						
						
							
						
						af9f0f1cd6 
					 
					
						
						
							
							Merge remote-tracking branch 'hathach/master' into cdc_without_dtr  
						
						
						
						
					 
					
						2020-11-04 17:11:01 +01:00