Commit Graph

1678 Commits

Author SHA1 Message Date
72f5202086 Update trace statements that referenced deprecated structure elements. 2021-05-10 10:09:09 -04:00
2a343ba916 Merge pull request #826 from hathach/minor-cleanup
minor clean up
2021-05-10 19:29:45 +07:00
13de8f5d98 minor clean up 2021-05-10 19:15:46 +07:00
13b510ad8e Update hcd_rp2040.c
Remove reference to the deprecated "num" and "in" members  of struct hw_endpoint which still exist in an assert statement and break DEBUG builds.
2021-05-07 16:49:48 -04:00
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
18c35bb89e some text fomarting, update unit test to test get buffer info for fifo 2021-05-02 15:01:28 +07:00
5add664874 Remove n from tu_fifo_get_write_info() and fix bug in vendor class 2021-04-30 17:37:14 +02:00
6acfa14fec Fix bug in cdc_peek 2021-04-30 17:23:34 +02:00
54f332fae0 Fix cdc peeks() 2021-04-30 15:42:27 +02:00
5f88def9c9 Comment cleanup 2021-04-30 15:14:27 +02:00
14e2c004cd Remove variable n in tu_fifo_get_read_info() 2021-04-30 15:08:14 +02:00
de933c45bc Remove all remainings with peek_at 2021-04-30 14:56:14 +02:00
5f268608d7 Remove offset feature from fifo.c 2021-04-30 13:39:55 +02:00
8f72c97f7b Change read infos to pointer type 2021-04-30 12:59:12 +02:00
c9177246d2 temporarily fix include recusrive loop 2021-04-28 12:31:24 +07:00
ba90a8cb79 use correct NBYTES_MAX for full and high speed 2021-04-26 20:22:40 +07:00
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
a8e109cb3d clean up 2021-04-26 17:14:20 +07:00
8ebdf2b097 ip3511 correct buffer offset, nbytes layout for highspeed port1
able to get passed enumeration and up to READ10
2021-04-26 14:43:58 +07:00
f14daf2081 fix unaligned access with port1 hs 2021-04-24 15:04:58 +07:00
b15d126d59 lpc55 improve multiple controller support
port1 highspeed requires USB_RAM
2021-04-24 13:36:05 +07:00
7089df2088 lpc55 correct bus_reset with highspeed on support controller
correct hsphy init for family
2021-04-24 12:19:13 +07:00
8bed369c7f lpc55 better multiport support 2021-04-24 11:30:14 +07:00
8642c2045c update dcd ip3511 for better multiple rhport support 2021-04-24 10:44:14 +07:00
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
a98d0217a0 Init len_wrap = 0 to fix compiler complains. 2021-04-23 10:47:22 +02:00
4dd1f1f3b5 Fix include path in audio_device.h 2021-04-23 10:32:22 +02:00
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
29bcc83d0f Remove unnecessary volatile and short audio function index to func_id 2021-04-21 17:01:38 +02:00
705753f448 Merge remote-tracking branch 'upstream/master' into uac2_fix_cs_as_int_alt_set_0 2021-04-20 20:15:54 +02:00
c7c11b181c Clean up old depracted and misleading variable names 2021-04-20 20:15:02 +02:00
fef0d54559 Refactor static function for better performance 2021-04-20 19:56:40 +02:00
4408ffce88 Fix pointer alt_setting to be cleared when driver gets initialized 2021-04-20 18:44:56 +02:00
2f0cb8b5f1 tinyusb: add support of esp32s3 target
add support of new esp32s3 target and the board
update the roles.mk wrapper to allow dfu flashing of espressif chip
update examples to allow compilation for esp32s3_addax_1 board
once the code is tested the PR to original tinyusb repo will be submitted
2021-04-16 13:38:00 +02:00
9ecb91e1bd fix build with LOG=2 2021-04-15 23:47:28 +07:00
b687a4fc20 Merge branch 'master' into edpt_ISO_xfer 2021-04-15 12:12:52 +07:00
3c84776e0a minor clean up 2021-04-15 12:09:12 +07:00
8d9f60ca5e Improve user feedback in case of wrong configuration of audio driver 2021-04-14 21:52:54 +02:00
7c8b4991f1 Add support for SAM L22 family 2021-04-09 17:33:14 -04:00
2134c1a875 Fix defines in audio_device.c 2021-04-08 21:48:36 +02:00
4bebb9ca49 Remove depracted defines in audio_device.c 2021-04-08 20:11:51 +02:00
8eacdffebd Optimize encode/decode - refactor unnecessary repetitive division 2021-04-07 20:07:28 +02:00
d9a0cc9e9f more cleanup 2021-04-07 16:50:45 +07:00
893919a848 remove tu_fifo_backward_write/read_pointer API
since it is illegal from fifo perspective
2021-04-07 13:27:28 +07:00
2468f9e26d more _ff_pull/push clean up 2021-04-07 13:15:25 +07:00
9042e973d3 clean up _ff_push_n 2021-04-07 12:52:57 +07:00
d6737fb5fe use tu_unaligned_write32() for _ff_push_const_addr 2021-04-07 12:34:00 +07:00
d0fa4d5189 rename 2021-04-07 12:24:24 +07:00
8ac156622d fix cast-align warning 2021-04-07 00:38:12 +07:00
a3c06aa7bc more clean up for _ff_pull_const_addr_in_full_words() 2021-04-06 23:39:39 +07:00