Commit Graph

3259 Commits

Author SHA1 Message Date
YixingShen a7de4ac9b7 Correct VIDEO_CS_VS_INTERFACE_FRAME_MJPEG to VIDEO_CS_ITF_VS_FRAME_MJPEG for #define TUD_VIDEO_DESC_CS_VS_FRM_MJPEG_DISC 2024-01-26 02:37:15 +08:00
沈玴興 149b50a2fa
Merge branch 'hathach:master' into master 2023-12-28 00:29:41 +08:00
YixingShen 9a1559a356 add __ARM_ARCH_8_1M_MAIN__ for M55 2023-12-28 00:28:24 +08:00
hathach 551e47a464
allow rp2040 to use max3421e as host controller
- fix warnings build hcd max3421 with rp2040
- add tinyusb_host_max3421 target for rp2040 cmake, -DMAX3421_HOST=1
will enable this
- add max3421 driver implementation for rp2040 family
- update tusb_config for host to allow easy enable host selection for
rp2040 (default/pio-usb/max3421)
2023-12-26 22:50:01 +07:00
Jerzy Kasenberg 7f84fe9bda dcd_nrf5x: Fix dcd_edpt_open for iso endpoint
When ISO endpoint handling was introduced two lines that
clear stall and data toggle bit were left unchanged and they
were effective for ISO enadpoint as well.
This is incorrect behavior since EPSTALL and DTOGGLE registers
have only 3 bits for address.
Leaving code that clears toggle bit results in endpoint 0 toggle bit
being reset when iso endpoint (8) is opened.

Now code that clears stall and toggle bit is applied to non-iso endpoint only
as it was done before iso handling was introduced.
2023-12-21 08:48:59 +01:00
hathach 17a0ce655b
Merge branch 'master' into h5 2023-12-15 17:42:25 +07:00
HiFiPhile f3d713ac73 Fix CI & typo. 2023-12-13 14:32:23 +01:00
hathach 19d7d62e80
try to add samd51 to hil pool using doublereset (rpi gpio) and bossac 2023-12-13 18:54:00 +07:00
henneboi 93c40b6966 Add Support stm32h5 for stm32h573i based on stm32_fsdev G0 implementation Tested on Windows with IAR and gcc toolchain ( via cubeide) Tested only with audio examples, but sould be ok for other examples Cmake pacthed : but not tested Linux build : not tested Added a temporary workaround in make file to support H5 HAL repo ( ARMCC_VERSION=0) 2023-12-12 16:04:21 +01:00
Ha Thach 59ecdb78fe
Merge pull request #2368 from LarssonOliver/master
Add configuration option CFG_TUH_CDC_FTDI_PID_LIST to tusb_option.h
2023-12-12 15:54:35 +07:00
Oliver Larsson 9a7e23379c Add configuration option CFG_TUH_CDC_FTDI_PID_LIST to tusb_option.h 2023-12-12 08:11:16 +01:00
Ha Thach 6bb92555f3
Merge pull request #2347 from IngHK/HostLogsFixes
fixed compile errors due to untreated CFG_TUH_LOG_LEVEL
2023-12-12 13:35:30 +07:00
Ha Thach 4c80f5a192
Merge pull request #2296 from LarssonOliver/master
Allow external definition of TU_CP210X_PID_LIST
2023-12-11 15:13:20 +07: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
IngHK efde252ed0 improved CFG_TUSB_DEBUG handling due to compile errors 2023-12-08 16:59:52 +01:00
IngHK 4d88f146e3 Merge remote-tracking branch 'remotes/hathach/master' into HostLogsFixes 2023-12-08 16:44:58 +01:00
Ha Thach be4d65221b
Merge pull request #2346 from IngHK/LogLineEnds
made log line end consistent \r\n
2023-11-29 17:12:08 +07:00
Oliver Larsson c4e04d3db4 Add configuration option CFG_TUH_CDC_CP210X_PID_LIST to tusb_option.h 2023-11-25 08:34:52 +01:00
IngHK b8881a3a14 fixed compile errors due to untreated CFG_TUH_LOG_LEVEL 2023-11-24 22:34:28 +01:00
IngHK 7e1fe2ff83 made log line end consistent \r\n 2023-11-24 22:02:58 +01:00
hathach 031be18e26
update release version 2023-11-24 19:09:35 +07:00
hathach 426f791e7a
minor doc 2023-11-24 19:09:34 +07:00
Ha Thach 2fc9fbe27d
Merge pull request #2340 from hathach/hid-set-protocol-pr
Hid set protocol pr
2023-11-24 19:05:16 +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 f469250fa3
minor update 2023-11-24 18:35:00 +07:00
Xudong Zheng 2fed722b00
add tuh_hid_set_default_protocol() to set default USB host HID protocol 2023-11-24 18:27:03 +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 111b21e767
Merge branch 'master' into feature/isr_event_hook 2023-11-24 17:49:43 +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
hathach 5e54bd37b6
Merge branch 'master' into bth 2023-11-24 15:57:06 +07:00
Ha Thach 0601d174b1
Merge branch 'master' into feature/ch32f20x 2023-11-24 11:33:34 +07:00
hathach 54356a719e
minor-update 2023-11-23 17:53:17 +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
hathach 01f22a9e25
fix h7 running on fullspeed phy has issue with WFI if not disable ULPI clock 2023-11-22 22:50:10 +07:00
hathach 025ffa200c
add spec version to dwc2 info 2023-11-22 17:36:52 +07:00
hathach aedc92f2d3
fix typo in cdc line coding enum 2023-11-22 11:25:55 +07:00
hathach 1f71625a32
add tuh_max3421_reg_read(), tuh_max3421_reg_read() for application usage
added max3241 for feather m4 and tested
2023-11-20 21:31:06 +07:00
HiFiPhile 8af470e06d Fix CI 2023-11-19 16:19:11 +01:00
HiFiPhile b5b34e73d6 Add dwc2 info of F429. 2023-11-19 16:10:16 +01:00
Antonio Vázquez Blanco 8bac68db84 Add historical EP compatibility to bth class 2023-11-07 17:38:26 +01:00
hathach 9377fd6901
fix -Werror=null-dereference warning 2023-11-03 22:34:49 +07:00
hathach 4b9320e40e
fix race condition when dev0 is removed while enumerating 2023-11-03 22:22:13 +07:00
hathach 46106c6ef4
skip tuh_max3421_spi_cs_api() in hcd_init()
only call tuh_max3421_spi_cs_api() in SPI start/end transfer since
Arduino port use this to call begin/endTransaction()
2023-11-02 15:22:02 +07:00
hathach 06c9d9a79a
remove legacy driver st/synopsys 2023-11-01 16:36:28 +07:00
Ha Thach 4c01c5a714
Merge pull request #2300 from hathach/add-u5a5
Add support for stm32u5a5 (highspeed with built-in femtoPHY)
2023-10-31 13:27:54 +07:00
hathach 214a4afa6a
dwc2 flush tx,rx fifo in dcd_init() 2023-10-31 11:53:40 +07:00
hathach db3ff4b352
usb on u5a5 hs work well with correct VBVALEXTOEN/VBVALOVAL set 2023-10-31 11:26:31 +07:00
hathach 9f0223dccd
minor clean up 2023-10-31 10:58:15 +07:00
hathach 305ef5d48a
minor space format dwc2 driver 2023-10-30 22:22:27 +07:00