hathach 
							
						 
					 
					
						
						
							
						
						40cd3a7e20 
					 
					
						
						
							
							Merge branch 'master' into host-hid  
						
						
						
						
					 
					
						2021-05-18 13:08:30 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						ffdcf9a0d0 
					 
					
						
						
							
							move report_info to application  
						
						... 
						
						
						
						update API accordingly, update hid parser for usage, and usage_page. 
						
						
					 
					
						2021-05-18 12:58:24 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						da6a7fb2bb 
					 
					
						
						
							
							update hid report descriptor macro  
						
						
						
						
					 
					
						2021-05-18 12:58:24 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						5b2d117bcd 
					 
					
						
						
							
							fix compile  
						
						
						
						
					 
					
						2021-05-18 12:58:24 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						93661042d9 
					 
					
						
						
							
							more API update  
						
						... 
						
						
						
						- remove tuh_n_hid_n_get_report()
- usbh auto queue get report and invoke callback when received data 
						
						
					 
					
						2021-05-18 12:58:24 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						dfa8b41b96 
					 
					
						
						
							
							adding hid parser  
						
						
						
						
					 
					
						2021-05-18 12:58:24 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						9ddc3bfd6d 
					 
					
						
						
							
							more host hid API  
						
						... 
						
						
						
						adding hid parser 
						
						
					 
					
						2021-05-18 12:58:24 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						641f55f1f1 
					 
					
						
						
							
							remove CFG_TUH_HID_KEYBOARD and CFG_TUH_HID_MOUSE  
						
						
						
						
					 
					
						2021-05-18 12:58:24 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						cc1b83412a 
					 
					
						
						
							
							continue with hid host rework  
						
						
						
						
					 
					
						2021-05-18 12:58:24 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						9324fd8f2e 
					 
					
						
						
							
							more hid host API rework  
						
						
						
						
					 
					
						2021-05-18 12:58:24 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						7305fec4db 
					 
					
						
						
							
							change hid device report len from uint8 to uint16  
						
						
						
						
					 
					
						2021-05-18 12:58:24 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						b7a8b278c8 
					 
					
						
						
							
							rename tuh_device_is_configured() to tuh_device_configured()  
						
						... 
						
						
						
						- remove tuh_device_get_state()
- more hid mouse clean up 
						
						
					 
					
						2021-05-18 12:58:24 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						69defb5edc 
					 
					
						
						
							
							rename and moving  
						
						
						
						
					 
					
						2021-05-18 12:58:24 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						a5cd81a226 
					 
					
						
						
							
							correct hid host mount/unmount callback  
						
						... 
						
						
						
						rename HOST_CLASS_HID to CFG_TUH_HID 
						
						
					 
					
						2021-05-18 12:58:24 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						be165a6713 
					 
					
						
						
							
							reworking host hid API  
						
						
						
						
					 
					
						2021-05-18 12:58:24 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						510beef9f8 
					 
					
						
						
							
							make tuh_msc_mount_cb() tuh_msc_unmount_cb() as weak callback  
						
						
						
						
					 
					
						2021-05-18 12:58:24 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						e83bdcdfdc 
					 
					
						
						
							
							reworking hid host  
						
						
						
						
					 
					
						2021-05-18 12:58:24 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						68fa17e17c 
					 
					
						
						
							
							more API rename  
						
						
						
						
					 
					
						2021-05-18 12:58:24 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						f1148ca5ac 
					 
					
						
						
							
							reworking hid host  
						
						
						
						
					 
					
						2021-05-18 12:58:24 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						98f5082191 
					 
					
						
						
							
							rename var to be consistent  
						
						
						
						
					 
					
						2021-05-18 12:58:24 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						a26752a93e 
					 
					
						
						
							
							fix build error  
						
						
						
						
					 
					
						2021-05-18 12:45:59 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						7e9e682e09 
					 
					
						
						
							
							update to use HID spec protocol value for get/set_protocol()  
						
						
						
						
					 
					
						2021-05-18 12:38:11 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						e163f85ee0 
					 
					
						
						
							
							clean up, rename some HID device symbol/API  
						
						... 
						
						
						
						- add tud_hid_n_interface_protocol()
- rename tud_hid_n_boot_mode() to  tud_hid_n_get_protocol()
- rename tud_hid_boot_mode_cb() to tud_hid_set_protocol_cb()
- add HID_PROTOCOL_BOOT/REPORT to avoid magic number 0,1
- rename HID_PROTOCOL_NONE/KEYBOARD/MOUSE to HID_ITF_PROTOCOL_ to avoid
confusion 
						
						
					 
					
						2021-05-18 12:32:20 +07:00 
						 
				 
			
				
					
						
							
							
								Jerzy Kasenberg 
							
						 
					 
					
						
						
							
						
						74ca1894de 
					 
					
						
						
							
							audio_device: Fix build error  
						
						... 
						
						
						
						ep_in_as_intf_num was incorrectly used to access out interface
which is defined for 'in' interface.
Code related to 'out' endpoint should use ep_out_as_intf_num instead. 
						
						
					 
					
						2021-05-10 15:58:04 +02:00 
						 
				 
			
				
					
						
							
							
								Ha Thach 
							
						 
					 
					
						
						
							
						
						42a1d2f3b9 
					 
					
						
						
							
							Merge pull request  #804  from hathach/audio_make_dma_ready  
						
						... 
						
						
						
						Implement functions to allow for DMA usage in audio driver. 
						
						
					 
					
						2021-05-02 15:29:38 +07:00 
						 
				 
			
				
					
						
							
							
								Reinhard Panhuber 
							
						 
					 
					
						
						
							
						
						5add664874 
					 
					
						
						
							
							Remove n from tu_fifo_get_write_info() and fix bug in vendor class  
						
						
						
						
					 
					
						2021-04-30 17:37:14 +02:00 
						 
				 
			
				
					
						
							
							
								Reinhard Panhuber 
							
						 
					 
					
						
						
							
						
						6acfa14fec 
					 
					
						
						
							
							Fix bug in cdc_peek  
						
						
						
						
					 
					
						2021-04-30 17:23:34 +02:00 
						 
				 
			
				
					
						
							
							
								Reinhard Panhuber 
							
						 
					 
					
						
						
							
						
						54f332fae0 
					 
					
						
						
							
							Fix cdc peeks()  
						
						
						
						
					 
					
						2021-04-30 15:42:27 +02:00 
						 
				 
			
				
					
						
							
							
								Reinhard Panhuber 
							
						 
					 
					
						
						
							
						
						14e2c004cd 
					 
					
						
						
							
							Remove variable n in tu_fifo_get_read_info()  
						
						
						
						
					 
					
						2021-04-30 15:08:14 +02:00 
						 
				 
			
				
					
						
							
							
								Reinhard Panhuber 
							
						 
					 
					
						
						
							
						
						de933c45bc 
					 
					
						
						
							
							Remove all remainings with peek_at  
						
						
						
						
					 
					
						2021-04-30 14:56:14 +02:00 
						 
				 
			
				
					
						
							
							
								Reinhard Panhuber 
							
						 
					 
					
						
						
							
						
						8f72c97f7b 
					 
					
						
						
							
							Change read infos to pointer type  
						
						
						
						
					 
					
						2021-04-30 12:59:12 +02:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						c9177246d2 
					 
					
						
						
							
							temporarily fix include recusrive loop  
						
						
						
						
					 
					
						2021-04-28 12:31:24 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						c26875e70d 
					 
					
						
						
							
							add TUP_MCU_STRICT_ALIGN macro that manually pick bytes for lpc55 port1 that is m4 but cannot unaligned acces on usb ram  
						
						
						
						
					 
					
						2021-04-26 17:42:49 +07:00 
						 
				 
			
				
					
						
							
							
								Reinhard Panhuber 
							
						 
					 
					
						
						
							
						
						7072f0155e 
					 
					
						
						
							
							Change tu_fifo_get_linear_write/read_info() to return a struct  
						
						... 
						
						
						
						Compilers always complain that variables set by function via pointer
might be uninitialized so to avoid that return values are now delivered
via struct. 
						
						
					 
					
						2021-04-23 11:48:54 +02:00 
						 
				 
			
				
					
						
							
							
								Reinhard Panhuber 
							
						 
					 
					
						
						
							
						
						a98d0217a0 
					 
					
						
						
							
							Init len_wrap = 0 to fix compiler complains.  
						
						
						
						
					 
					
						2021-04-23 10:47:22 +02:00 
						 
				 
			
				
					
						
							
							
								Reinhard Panhuber 
							
						 
					 
					
						
						
							
						
						4dd1f1f3b5 
					 
					
						
						
							
							Fix include path in audio_device.h  
						
						
						
						
					 
					
						2021-04-23 10:32:22 +02:00 
						 
				 
			
				
					
						
							
							
								Reinhard Panhuber 
							
						 
					 
					
						
						
							
						
						03f974c9b9 
					 
					
						
						
							
							Implement functions to allow for DMA usage in audio driver.  
						
						... 
						
						
						
						- Add tud_audio_n_get_ep_out_ff(), tud_audio_n_get_ep_in_ff(),
tud_audio_n_get_rx_support_ff(), and tud_audio_n_get_tx_support_ff()
- Change get_linear_read/write_info() to return linear and wrapped part
at once
- Adjusted affected code in audio_device.c and tested with
audio_4_channel. 
						
						
					 
					
						2021-04-23 10:27:48 +02:00 
						 
				 
			
				
					
						
							
							
								Reinhard Panhuber 
							
						 
					 
					
						
						
							
						
						29bcc83d0f 
					 
					
						
						
							
							Remove unnecessary volatile and short audio function index to func_id  
						
						
						
						
					 
					
						2021-04-21 17:01:38 +02:00 
						 
				 
			
				
					
						
							
							
								Reinhard Panhuber 
							
						 
					 
					
						
						
							
						
						c7c11b181c 
					 
					
						
						
							
							Clean up old depracted and misleading variable names  
						
						
						
						
					 
					
						2021-04-20 20:15:02 +02:00 
						 
				 
			
				
					
						
							
							
								Reinhard Panhuber 
							
						 
					 
					
						
						
							
						
						fef0d54559 
					 
					
						
						
							
							Refactor static function for better performance  
						
						
						
						
					 
					
						2021-04-20 19:56:40 +02:00 
						 
				 
			
				
					
						
							
							
								Reinhard Panhuber 
							
						 
					 
					
						
						
							
						
						4408ffce88 
					 
					
						
						
							
							Fix pointer alt_setting to be cleared when driver gets initialized  
						
						
						
						
					 
					
						2021-04-20 18:44:56 +02:00 
						 
				 
			
				
					
						
							
							
								Reinhard Panhuber 
							
						 
					 
					
						
						
							
						
						8d9f60ca5e 
					 
					
						
						
							
							Improve user feedback in case of wrong configuration of audio driver  
						
						
						
						
					 
					
						2021-04-14 21:52:54 +02:00 
						 
				 
			
				
					
						
							
							
								Reinhard Panhuber 
							
						 
					 
					
						
						
							
						
						2134c1a875 
					 
					
						
						
							
							Fix defines in audio_device.c  
						
						
						
						
					 
					
						2021-04-08 21:48:36 +02:00 
						 
				 
			
				
					
						
							
							
								Reinhard Panhuber 
							
						 
					 
					
						
						
							
						
						4bebb9ca49 
					 
					
						
						
							
							Remove depracted defines in audio_device.c  
						
						
						
						
					 
					
						2021-04-08 20:11:51 +02:00 
						 
				 
			
				
					
						
							
							
								Reinhard Panhuber 
							
						 
					 
					
						
						
							
						
						8eacdffebd 
					 
					
						
						
							
							Optimize encode/decode - refactor unnecessary repetitive division  
						
						
						
						
					 
					
						2021-04-07 20:07:28 +02:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						58bab86d79 
					 
					
						
						
							
							minor clean up  
						
						
						
						
					 
					
						2021-04-06 21:09:23 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						8b79040c38 
					 
					
						
						
							
							code format  
						
						
						
						
					 
					
						2021-04-06 15:34:50 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						68687ed0f4 
					 
					
						
						
							
							fix build  
						
						
						
						
					 
					
						2021-04-06 01:16:51 +07:00 
						 
				 
			
				
					
						
							
							
								hathach 
							
						 
					 
					
						
						
							
						
						7ab8da949e 
					 
					
						
						
							
							audio driver only use USE_LINEAR_BUFFER = 0 for stm32 synopsys driver  
						
						
						
						
					 
					
						2021-04-06 01:07:32 +07:00 
						 
				 
			
				
					
						
							
							
								Reinhard Panhuber 
							
						 
					 
					
						
						
							
						
						1ac9e7e3a7 
					 
					
						
						
							
							Fix wrong read mutexes in audio_device.c  
						
						
						
						
					 
					
						2021-04-03 18:22:19 +02:00