hathach
be25a3fc20
revert usbd driver name change to be backward compatible
2024-04-08 22:56:22 +07:00
hathach
c3c0648456
add class driver deinit
2024-04-08 22:07:56 +07:00
Felix "xq" Queißner
47c12a07f2
Implements tuh_deinit() and tud_deinit() to uninitialize host/device mode.
2024-04-08 19:00:35 +07:00
Ha Thach
5738757e2c
Merge pull request #2421 from antoniovazquezblanco/debug
...
Log outbound xfer bytes while in debug
2024-04-04 18:34:26 +07:00
Ha Thach
802ad885ab
minor update
2024-04-04 17:15:38 +07:00
HiFiPhile
05f9cab191
UAC2: refactor interrupt endpoint support.
2024-04-01 20:02:35 +02:00
Ha Thach
0814ca0cc7
Merge pull request #2515 from Lurcy38/ReAlignMaster
2024-03-25 19:14:58 +07:00
hathach
5630030a22
improve uvc debug message
2024-03-20 17:55:31 +07:00
henneboi
f9c85ae47b
IAR Warning: Fixed due to an boolean operation between enum (Pa089)
...
Warning[Pa089]: enumerated type mixed with another enumerated type ...tusb_uac2_audio.c 199
This issue stops the build if we treat warning as error
2024-03-14 09:13:12 +01:00
hathach
834e2c9560
usbd only process last setup packet in the event queue
2024-03-13 11:46:23 +07:00
hathach
5653232144
reformat code
2024-03-11 21:59:30 +07:00
IngHK
4d4e20b71e
missing \r\n after TU_LOG_BUF => moved \r\n to tu_print_buf()
2024-02-08 12:00:44 +01:00
Antonio Vázquez Blanco
0531027b57
usbd: log outbound xfer bytes in debug
2024-02-07 13:06:41 +01:00
hathach
8eca596fa6
style changes
2024-01-12 16:05:35 +07:00
hathach
290f4bea91
- change tuh_event_hook_cb, tud_event_hook_cb to weak default implementation
...
- change code style
2024-01-12 15:47:08 +07:00
Ha Thach
858077483d
Merge pull request #2239 from XelaRellum/bugfix_stm32_fsdev_keil
...
Fixes #1018 the weak dcd_edpt0_status_complete for Keil Compiler
2024-01-12 15:26:02 +07:00
hathach
19d7d62e80
try to add samd51 to hil pool using doublereset (rpi gpio) and bossac
2023-12-13 18:54:00 +07:00
hathach
426f791e7a
minor doc
2023-11-24 19:09:34 +07:00
Ha Thach
02017a81e9
Merge pull request #2303 from projectgus/feature/isr_event_hook
...
Add optional hooks for DCD and HCD events
2023-11-24 18:39:29 +07:00
hathach
188fbd8ed9
add optional event hook callback tud_event_hook_cb() and tuh_event_hook_cb()
2023-11-24 18:21:24 +07:00
hathach
6e5c7f4390
rename to CFG_TUD_BTH_HISTORICAL_COMPATIBLE, move CFG_TUD_BTH_ISO_ALT_COUNT to tusb_option.h and mandatory for BTH driver
2023-11-24 16:08:48 +07:00
Angus Gratton
68894398af
Add optional hooks for DCD and HCD events
...
These are intended to allow bare metal platforms with one-shot scheduling
capabilities to schedule the TinyUSB task handlers whenever they know there is
work for them to do.
Signed-off-by: Angus Gratton <angus@redyak.com.au >
2023-11-23 14:42:51 +11:00
HiFiPhile
2d802e03e9
Update audio_4_channel_mic example for HS device.
2023-10-24 22:14:24 +02:00
hathach
1b9108ea0d
minor debug clean up
2023-09-06 17:11:35 +07:00
Alexander Mueller
9665843635
Fix the weak dcd_edpt0_status_complete for Keil Compiler
...
The Keil compiler seems to have different semantics and the defined function was never called.
The same is probably true for the other weak functions. I can change those too.
2023-08-29 18:16:50 +02:00
hathach
9257a0f562
- update nrf52 bsp for cmake
...
- add empty tuh_int_handler/tud_int_handler if corresponidng stack not enabled
- add hcd_template.c
2023-08-18 12:48:12 +07:00
hathach
1b33a31536
more minor clean up
...
- also rename usbh_classdriver.h to usbh_pvt.h to consitent with usbd
2023-08-15 22:54:07 +07:00
Rocky04
9602c06f8d
Correcting comments
2023-08-07 21:25:50 +02:00
Rocky04
c959e65edd
Fixing wrong callback placement
2023-08-07 21:16:41 +02:00
Rocky04
9560d0813f
Set unmounted on configuration reset
2023-08-02 15:25:08 +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
77495cf119
improve logging, allow easier to turn off usbd, driver logging
...
can be useful when focusing on let's say usbh
2023-07-20 17:12:00 +07:00
Ha Thach
50e61e0e16
Merge pull request #2101 from eustas/patch-1
...
Fix typos
2023-06-21 15:51:03 +07:00
hathach
65d6acdbfa
fix build warnings
2023-06-16 12:02:42 +07:00
hathach
912802456b
move protocol message to stack, disable battery in PWR's CR3
...
there is still issue with CC1/CC2 pull down resistor and vstate is not
correct.
2023-06-09 18:15:28 +07:00
Eugene Kliuchnikov
0833806980
Fix typos
2023-06-08 15:38:30 +02:00
hathach
9b7dee563e
able to response with good crc
2023-06-07 18:57:48 +07:00
Ha Thach
1ef820ecfe
Enhance chipidea ( #2075 )
...
* update chipidea dcd, remove manual ep_count and use DCCPARAMS to get number of endpoint instead
* add dcd dcache for chipidea
* add cmake for lpc18
* add makefile build for mcx
* use fork of mcu sdk
* fix ci build with nrf
* flash rp2040 with openocd
2023-05-23 21:45:00 +07:00
hathach
1e998ce3bd
usbd: fix control transfer issue for chipidea hs when previous status and new setup complete in the same isr frame
...
change usbd edpt busy/stalled/claimed value to 0/1 instead of
(true/false) since they are 1-bit field.
2023-05-16 11:09:23 +07:00
hathach
206d63e038
correct EHCI reporting failed xfer (instead of stalled) when device is unplugged
2023-05-16 11:09:21 +07:00
hathach
0921edaf59
use tud_inited() instead of tusb_inited()
2023-03-22 09:23:11 +07:00
hathach
d919f107c7
minor clean up
2023-03-18 11:22:44 +07:00
hathach
bdfcd50b1b
Merge branch 'master' into portability
2023-03-17 23:53:38 +07:00
hathach
3623ba1884
fix trailing space and new line
...
temporarily disable codespell
2023-03-17 16:12:49 +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
Ha Thach
65ac519715
Merge pull request #1852 from silvergasp/mem_s
...
fix: Replace device calls to memcpy with tu_memcpy_s
2023-02-27 10:22:53 +07:00
hathach
e34aeb5cf6
minor clean up
2023-02-27 09:11:35 +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