Ha Thach
42decf28f1
Merge pull request #1835 from MasterQ32/otg_bringup
...
Implements deinit functions for host/device mode switch
2024-04-08 23:48:52 +07:00
hathach
c3c0648456
add class driver deinit
2024-04-08 22:07:56 +07:00
HiFiPhile
db28437218
Move endpoint alloc define to tusb_mcu.h
2024-04-02 20:54:33 +02:00
HiFiPhile
7ca988018e
UAC2: fix mounted condition.
2024-04-01 20:02:45 +02:00
HiFiPhile
05f9cab191
UAC2: refactor interrupt endpoint support.
2024-04-01 20:02:35 +02:00
HiFiPhile
a1f01fcbe0
Merge remote-tracking branch 'upstream/master' into pr/1702
2024-04-01 12:35:57 +02:00
HiFiPhile
cab1106416
dwc2: add endpoint allocation support.
2024-03-30 10:36:27 +07:00
Jerzy Kasenberg
1c9a839401
audio_device: Fix unused variable warning
...
In some configurations local variable p_desc_parse_for_params
is declared and never used resulting in warning that can
be escalated to build error (for mynewt)
Now variable is surrounded with same preprocessor condition
as function that uses it audiod_parse_for_AS_params()
2024-01-23 13:51:10 +01:00
Ángel Molina Núñez
506617d4b3
Add comment to explain why the condition changes
2023-12-10 17:04:46 +01:00
Angel Molina
ac418f4d25
Fix strict-overflow warning when compiling with gcc >= 12
2023-12-09 23:13:53 +01:00
Mengsk
d3fa3cdf48
Adjsut blackout time.
2023-10-18 17:05:35 +02:00
HiFiPhile
ade8a19aef
Put sw_buf in USB section only if necessary.
2023-10-17 21:21:52 +02:00
HiFiPhile
e9d894fe66
Fix compile.
2023-10-17 21:03:29 +02:00
HiFiPhile
d83a210788
Add blackout time.
2023-10-17 15:18:05 +02:00
HiFiPhile
0a1d6cf4d0
Read sample rate directly from control transfer to eliminate callback.
2023-10-17 13:06:55 +02:00
HiFiPhile
656e1e416a
Add flow control for IN transfer.
2023-10-17 09:46:01 +02:00
HiFiPhile
8b2cb63da8
Fix naming nBytesPerSample.
2023-10-10 18:22:20 +02:00
HiFiPhile
6be7f354c2
Fix cast-align.
2023-09-19 16:35:05 +02:00
HiFiPhile
9d0251f7a6
Fix UAC interleaved copy.
2023-09-19 15:42:52 +02: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
8af8869d3b
renam OPT_MCU_MIMXRT to OPT_MCU_MIMXRT1XXX
...
fix build util with makefile
2023-06-16 11:26:38 +07:00
Mengsk
42decd94e5
UAC2: fix feedback EP buffer alignment.
2023-03-21 07:58:39 +01:00
hathach
3623ba1884
fix trailing space and new line
...
temporarily disable codespell
2023-03-17 16:12:49 +07:00
Nathaniel Brough
95cfa37bf5
fix: Fix wrong destsz used with tu_memcpy_s
...
Bug: #1935
2023-03-05 18:47:48 -08:00
hathach
5d3084a714
add TUP_USBIP_FSDEV and TUP_USBIP_FSDEV_STM32, clean up ifdef with stm32
2023-03-01 11:22:04 +07:00
Ha Thach
3c38c7dc25
Merge pull request #1828 from HiFiPhile/stm32_fsdev
...
stm32_fsdev & ISO EP buffer allocation improvements
2023-02-28 23:45:02 +07:00
hathach
ffdc100cb9
rename ep_num to ep_idx, minor clean up
2023-02-28 17:11:59 +07:00
hathach
e34aeb5cf6
minor clean up
2023-02-27 09:11:35 +07:00
Nathaniel Brough
2e47210c1a
fix: Replace device calls to memcpy with tu_memcpy_s
...
Introduces a new function tu_memcpy_s, which is effectively
a backport of memcpy_s. The change also refactors calls
to memcpy over to the more secure tu_memcpy_s.
2023-01-13 15:20:32 -08:00
pete-pjb
f5cffeedec
Fix typo in audio.h. Specifiy _ctrl_xfer struct in CFG_TUSB_MEM_SECTION
...
Add NULL check to loop in list_remove_qhd_by_addr() function in ehci.c
2023-01-03 10:33:36 +00:00
Mengsk
51bb27a131
Optimize descriptor looping.
2022-12-31 13:37:22 +01:00
Mengsk
21bdafcfef
Add ISO buffer allocation.
2022-12-30 01:08:04 +01:00
Mengsk
e4f07206f8
UAC : Enable fifo based transfer on stm32_fsdev
2022-12-29 19:34:12 +01:00
Mark K Cowan
9673d20901
PanRe refactor applied: s{_int_ctr_}{_int_}g; s{_INT_CTR_}{_INT_}g;
2022-10-26 21:43:27 +03:00
Mark K Cowan
15ed45e1a3
clean up descriptor search for interrupt endpoint
2022-10-26 21:40:30 +03:00
Ha Thach
28f49c088b
Merge pull request #1698 from battlesnake/fix-attrs-on-struct-member
...
do not apply storage attributes to member of struct
2022-10-25 15:23:09 +07:00
Mark K Cowan
025d3477e8
fixed spec reference
2022-10-24 20:41:09 +03:00
Mark K Cowan
815c2cc995
keep alignment spec
2022-10-24 20:36:45 +03:00
Mark K Cowan
f931983469
UAC2 supports interrupt-endpoint for providing control-change notifications to the host
2022-10-23 13:38:24 +03:00
Mark K Cowan
4ec1643bdb
do not apply storage attributes to member of struct
2022-10-20 22:46:21 +03:00
Mark K Cowan
6c3c2df823
audio_device: prototype added for function referenced before use
2022-09-17 21:27:04 +03:00
Ha Thach
fd5bb6e5db
Merge pull request #1514 from maddyaby/audiod_typo
...
Fix typo in audiod_rx_done_cb in audio_device.c
2022-07-19 17:10:45 +07:00
robert-hh
ec6f56768a
mimxrt: Change OPT_MCU_MIMXRT1xXX to OPT_MCU_MIMXRT.
...
Which fits both MIMXRT10XX and MIMXRT11XX.
2022-07-01 09:04:36 +02:00
robert-hh
60c1750a9b
mimxrt: Add/change definitions for MIMXRT11XX boards.
...
These are mostly identical to the MIMXRT10XX, with one tiny difference.
2022-06-30 22:21:31 +02:00
hathach
6522a8150e
fix all device examples warnings
2022-06-27 13:48:47 +07:00
hathach
b9dc9dbd78
fix most warnings with rp2040 -wconversion
2022-06-27 11:50:17 +07:00
Maddy
e9089b993f
Fix typo in audiod_rx_done_cb in audio_device.c
2022-06-16 16:22:55 -07:00
hathach
06392247eb
add TU_ATTR_FAST_FUNC for audio sof isr call chain
2022-06-07 11:50:50 +07:00
hathach
e384d16d57
clean up tud_audio_set_itf_cb() invocation
2022-05-31 21:52:54 +07:00
hathach
f2926670cc
comment out fifo count method for now
2022-05-31 20:26:37 +07:00