hathach 
							
						 
					 
					
						
						
							
						
						332f75cd44 
					 
					
						
						
							
							simplify read/write 16-bit packet  
						
						
						
						
					 
					
						2024-07-31 20:53:42 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						7d9b399466 
					 
					
						
						
							
							fix ep type bulk typo  
						
						
						
						
					 
					
						2024-07-31 18:28:17 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						7954d9cb4c 
					 
					
						
						
							
							rename to fsdev_type.h, use FSDDEV_REG instead of USB  
						
						
						
						
					 
					
						2024-07-31 18:15:22 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						26b0df2c26 
					 
					
						
						
							
							refactor xfer_ctl_ptr() to take epnum/dir to reduce computation  
						
						
						
						
					 
					
						2024-07-31 17:24:41 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						ce0fdc5609 
					 
					
						
						
							
							refactor dcd_ep_ctr_handler  
						
						
						
						
					 
					
						2024-07-31 17:10:43 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						ee831d27ac 
					 
					
						
						
							
							rename to ep_read/write(), drop USBx argument  
						
						
						
						
					 
					
						2024-07-31 16:56:42 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						3156f1c4a7 
					 
					
						
						
							
							remove all pcd ep read, modify write  
						
						
						
						
					 
					
						2024-07-31 16:52:00 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						8139840d7a 
					 
					
						
						
							
							fix ep_add_dtog()  
						
						
						
						
					 
					
						2024-07-31 15:32:37 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						76cc721e8f 
					 
					
						
						
							
							clean up dcd_edpt_stall/clear_statll  
						
						
						
						
					 
					
						2024-07-31 12:45:27 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						e60efec6b7 
					 
					
						
						
							
							improve using ep_add_status/ep_add_dtog  
						
						
						
						
					 
					
						2024-07-31 12:09:50 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						126778298e 
					 
					
						
						
							
							enhance dcd_ep_ctr_rx_handler()  
						
						
						
						
					 
					
						2024-07-31 11:35:09 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						0c8d41e25e 
					 
					
						
						
							
							correct ep toggle bit  
						
						
						
						
					 
					
						2024-07-31 09:46:31 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						f4aaad6869 
					 
					
						
						
							
							add edpt0_open(), slightly update dtog  
						
						
						
						
					 
					
						2024-07-30 21:35:24 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						1cf8e34ae5 
					 
					
						
						
							
							improve set endpoint  
						
						
						
						
					 
					
						2024-07-30 20:32:26 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						b15814b2f9 
					 
					
						
						
							
							move align buffer to pma_alloc()  
						
						
						
						
					 
					
						2024-07-30 16:29:54 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						749f092174 
					 
					
						
						
							
							refactor btable_set_rx_bufsize()  
						
						
						
						
					 
					
						2024-07-30 13:05:46 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						6771ef35d9 
					 
					
						
						
							
							more btable set/get clean up  
						
						
						
						
					 
					
						2024-07-30 11:17:55 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						75d3a3be84 
					 
					
						
						
							
							implement btable_set_addr/count  
						
						
						
						
					 
					
						2024-07-26 00:02:06 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						3b8f9a2b1f 
					 
					
						
						
							
							refactor btable tx/rx into arr[2]  
						
						
						
						
					 
					
						2024-07-25 23:51:20 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						02caf00772 
					 
					
						
						
							
							simplify btable rx/tx count/address access  
						
						
						
						
					 
					
						2024-07-25 19:00:59 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						a5bc0430f7 
					 
					
						
						
							
							fix race condition where reset event cleaar setup count  
						
						
						
						
					 
					
						2024-07-25 16:49:01 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						0eb0baed19 
					 
					
						
						
							
							fsdev: remove unused _setup_packet  
						
						
						
						
					 
					
						2024-07-25 11:53:42 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						2f8078f5b5 
					 
					
						
						
							
							minor changes  
						
						
						
						
					 
					
						2024-07-24 16:59:12 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						c0f38ebf8d 
					 
					
						
						
							
							fsdev read/write packet use unaligned function  
						
						
						
						
					 
					
						2024-07-23 19:53:41 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						4de46fcf97 
					 
					
						
						
							
							fix a bug in fsdev introduced by  #1942  
						
						
						
						
					 
					
						2024-07-22 21:07:28 +07:00 
						 
				 
			
				
					
						
							
							
								Ha Thach 
							
						 
					 
					
						
						
							
						
						e9f9d43d67 
					 
					
						
						
							
							Merge pull request  #2723  from liamfraser/rp2040_tweaks  
						
						... 
						
						
						
						RP2040 tweaks 
						
						
					 
					
						2024-07-19 21:33:50 +07:00 
						 
				 
			
				
					
						
							
							
								Ha Thach 
							
						 
					 
					
						
						
							
						
						9a418317f3 
					 
					
						
						
							
							Merge pull request  #2694  from feaser/keil_weak_fix  
						
						... 
						
						
						
						Additional fix related to issue #1018 . Corrects the usage of TU_ATTR_WEAK for the Keil compiler 
						
						
					 
					
						2024-07-19 21:20:55 +07:00 
						 
				 
			
				
					
						
							
							
								Ha Thach 
							
						 
					 
					
						
						
							
						
						dcf133b6ae 
					 
					
						
						
							
							Merge pull request  #2681  
						
						... 
						
						
						
						usbh: Add set address recovery time 
						
						
					 
					
						2024-07-19 21:10:31 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						8183433600 
					 
					
						
						
							
							fix compile with tud_vendor_control_xfer_cb() and check tud_descriptor_device_cb()  
						
						
						
						
					 
					
						2024-07-19 21:05:10 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						e92acf0a91 
					 
					
						
						
							
							also migrate tud_descriptor_device_qualifier_cb() / tud_descriptor_other_speed_configuration_cb()  
						
						
						
						
					 
					
						2024-07-19 20:53:23 +07:00 
						 
				 
			
				
					
						
							
							
								Frank Voorburg 
							
						 
					 
					
						
						
							
						
						d040644b6c 
					 
					
						
						
							
							Additional fix related to issue  #1018 . Corrects the usage of TU_ATTR_WEAK for the Keil  
						
						... 
						
						
						
						compiler for the callback functions:
* tud_descriptor_bos_cb()
* tud_vendor_control_xfer_cb()
* tud_mount_cb()
* tud_umount_cb()
* tud_suspend_cb()
* tud_resume_cb()
Without the fix for the first two functions, the USB device won't enumerate properly, if
the device makes use of a BOS description. For example when using a Microsoft OS 2.0
platform capability descriptor to set a specific Device Interface GUID for WinUSB.
The fix for the other four functions were added, because it's probably just a matter of
time before someone runs into the same problem with those callback functions. 
						
						
					 
					
						2024-07-19 20:43:26 +07: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 
							
						 
					 
					
						
						
							
						
						772398f6ea 
					 
					
						
						
							
							Save setup_count on bus reset.  
						
						
						
						
					 
					
						2024-07-19 17:02:57 +07:00 
						 
				 
			
				
					
						
							
							
								HiFiPhile 
							
						 
					 
					
						
						
							
						
						a1fd43ebaf 
					 
					
						
						
							
							Clear _usbd_dev prior to driver reset.  
						
						
						
						
					 
					
						2024-07-19 17:02:56 +07:00 
						 
				 
			
				
					
						
							
							
								HiFiPhile 
							
						 
					 
					
						
						
							
						
						60b3d14d19 
					 
					
						
						
							
							Check tud ready check for OUT xfer.  
						
						
						
						
					 
					
						2024-07-19 17:02:53 +07:00 
						 
				 
			
				
					
						
							
							
								HiFiPhile 
							
						 
					 
					
						
						
							
						
						ffe1d0664b 
					 
					
						
						
							
							UAC2: Fix memclr on driver reset.  
						
						
						
						
					 
					
						2024-07-18 20:02:57 +02:00 
						 
				 
			
				
					
						
							
							
								graham sanderson 
							
						 
					 
					
						
						
							
						
						31a979a6cc 
					 
					
						
						
							
							fix some clang compiler warnings  
						
						
						
						
					 
					
						2024-07-18 11:11:06 +01:00 
						 
				 
			
				
					
						
							
							
								graham sanderson 
							
						 
					 
					
						
						
							
						
						0d72f153cf 
					 
					
						
						
							
							fix arguable bug caught as warning by LLVM embedded toolchain for ARM 14.0.0  
						
						
						
						
					 
					
						2024-07-18 11:11:06 +01:00 
						 
				 
			
				
					
						
							
							
								Liam Fraser 
							
						 
					 
					
						
						
							
						
						3804ab9a67 
					 
					
						
						
							
							RP2040: no need to clear usb_hw (usb registers) as they are reset to default state by a hardware reset  
						
						
						
						
					 
					
						2024-07-17 15:47:00 +01:00 
						 
				 
			
				
					
						
							
							
								Liam Fraser 
							
						 
					 
					
						
						
							
						
						770efd9b46 
					 
					
						
						
							
							RP2040: Use our own unaligned memcpy to avoid alignment faults with some memcpy implementations  
						
						
						
						
					 
					
						2024-07-17 15:47:00 +01:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						0004faca83 
					 
					
						
						
							
							minor update hid device  
						
						
						
						
					 
					
						2024-07-17 19:29:21 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						0ecf15bc61 
					 
					
						
						
							
							follow up to  #2253  
						
						... 
						
						
						
						- rename tud_hid_report_fail_cb() to tud_hid_report_failed_cb() and change its signature
- use default implementation for hid callbacks to be compatible with keil compiler
- code format 
						
						
					 
					
						2024-07-17 14:35:23 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						4ce1cce40a 
					 
					
						
						
							
							simplify dwc2 test mode  
						
						... 
						
						
						
						- all dwc2 ip seems to support test mode in both fs/hs -> remove TUP_USBIP_DWC2_TEST_MODE
- remove dcd_check_test_mode_support(), all should be supported
- move enum tusb_feature_test_mode_t to tusb_types.h 
						
						
					 
					
						2024-07-12 20:17:14 +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 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						ca12a57902 
					 
					
						
						
							
							add u for unsigned  
						
						
						
						
					 
					
						2024-07-05 15:19:16 +07:00 
						 
				 
			
				
					
						
							
							
								Ha Thach 
							
						 
					 
					
						
						
							
						
						bd562e4180 
					 
					
						
						
							
							Revert "audio.h: fix error ISO C restricts enumerator values to range of 'int'"  
						
						
						
						
					 
					
						2024-07-05 15:15:00 +07:00 
						 
				 
			
				
					
						
							
							
								Davide Gerhard 
							
						 
					 
					
						
						
							
						
						8f9a57636c 
					 
					
						
						
							
							audio.h: fix error ISO C restricts enumerator values to range of 'int'  
						
						... 
						
						
						
						fix error
~/dsp/libs/tinyusb/src/class/audio/audio.h:643:53: error: ISO C restricts enumerator values to range of 'int' before C23 [-Werror=pedantic]
  643 |   AUDIO_CHANNEL_CONFIG_RAW_DATA                   = 0x80000000, // TODO
      |                                                     ^~~~~~~~~~
compilation terminated due to -Wfatal-errors.
Closes: https://github.com/hathach/tinyusb/issues/2690  
						
						
					 
					
						2024-06-28 19:57:59 +02:00 
						 
				 
			
				
					
						
							
							
								HiFiPhile 
							
						 
					 
					
						
						
							
						
						7125ac20ca 
					 
					
						
						
							
							Merge pull request  #2691  from ra1nb0w/strict-overflow  
						
						... 
						
						
						
						audio_device.c: fix strict-overflow warning with gcc >= 12 
						
						
					 
					
						2024-06-28 11:12:56 +02:00 
						 
				 
			
				
					
						
							
							
								Davide Gerhard 
							
						 
					 
					
						
						
							
						
						8f699023f3 
					 
					
						
						
							
							audio_device.c: fix strict-overflow warning with gcc >= 12  
						
						... 
						
						
						
						Fix the following error
~/libs/tinyusb/src/class/audio/audio_device.c:1493:23: error: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Werror=strict-overflow]
 1493 |         while (p_desc < p_desc_end)
      |                ~~~~~~~^~~~~~~~~~~~
compilation terminated due to -Wfatal-errors. 
						
						
					 
					
						2024-06-28 10:55:43 +02:00