Commit Graph

3977 Commits

Author SHA1 Message Date
hathach
1f2901e8b1 fix conflict of BIT() macro 2024-01-15 19:02:02 +07:00
hathach
d192868d62 fix sign-conversion warning 2024-01-15 18:25:15 +07:00
hathach
d92eb38c21 change code style 2024-01-15 16:56:18 +07:00
hathach
a67ee4f01b Merge branch 'master' into cdc_ch34x_support 2024-01-15 16:17:42 +07:00
Ha Thach
4b3b401ce3 Merge pull request #2401 from Ryzee119/ohci_more_dev
[OHCI] Allow more than 16 devices
2024-01-12 17:48:01 +07: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
Ha Thach
71ce4b8be6 Merge pull request #2402 from Okarss/master
[STM32 FSDEV] Fix ISR race conditions
2024-01-12 10:26:52 +07:00
Okarss
2d3d148912 [STM32 FSDEV] Align names for consistency 2024-01-11 21:02:14 +02:00
Ha Thach
5002ce8798 Merge pull request #2382 from YixingShen/master
fixed device/video_capture/src/images.h,main.c CFG_EXAMPLE_VIDEO_DISA…
2024-01-12 00:58:32 +07:00
Ha Thach
7db9119ef3 Merge pull request #2411 from IngHK/cdch_vendor_class
[cdch] replaced vendor specific bInterfaceClass number by define
2024-01-11 22:53:21 +07:00
hathach
e68c6658c9 move gtd extra out of control struct to save sram
also rename gtd_data to gtd_extra
2024-01-11 17:35:05 +07:00
IngHK
c619a86141 bInterfaceClass number replaced by define 2024-01-11 08:53:47 +01:00
Ha Thach
f2f40c0965 Merge pull request #2400 from Ryzee119/hub_fix
[HUB] Fix double status xfer
2024-01-11 12:39:18 +07:00
Ha Thach
b7581f0995 Merge pull request #2404 from Ryzee119/patch-2
[HUB] Prevent status request to invalid ep_num
2024-01-11 12:34:54 +07:00
Ha Thach
b5d5ae9b18 Merge pull request #2408 from leptun/fix_tickless_ulpi_gating
Disable ULPI clock during sleep on stm32f7 when using internal phy
2024-01-11 11:40:44 +07:00
Okarss
545821399b [STM32 FSDEV] Introduce a typedef for bus access width 2024-01-11 00:59:39 +02:00
Alex Voinea
3bf6826451 Disable ULPI clock during sleep on stm32f7 when using internal phy 2024-01-10 10:27:21 +01:00
Ryzee119
e7e19f5627 [OHCI] Allow more than 16 devices 2024-01-10 16:03:43 +10:30
Okarss
0d4b24e56c [STM32 FSDEV] Fix ISR race conditions 2024-01-10 05:43:20 +02:00
IngHK
91f65a36bf [CDC] host: moved acm_open to other acm prototypes 2024-01-09 09:53:54 +01:00
Ryzee119
d39d06e6d9 [HUB] Prevent status request to invalid ep_num 2024-01-09 16:36:32 +10:30
Ryzee119
a4aa454a7a [HUB] Fix double status xfer 2024-01-07 08:34:18 +10:30
沈玴興
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
IngHK
c2bbcc9f60 initial support of CH34x CDC device 2023-12-26 20:14:03 +01: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
IngHK
a39be99a58 improved hex debug print, improved USBH debug prints, added pid/vid debug print 2023-12-26 12:24:54 +01: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