Commit Graph

7558 Commits

Author SHA1 Message Date
hathach baffadca91
remove pca10095 suppport for max3421
also remove pico_bootsel_via_double_reset from rp2040
2024-03-22 17:54:08 +07:00
hathach e84c9f3e22
implement tuh_init()
change usbh driver init() return type from void to bool
2024-03-22 16:12:57 +07:00
hathach 31f68495cf
update osal API
add osal_semaphore_delete(), osal_mutex_delete(), osal_queue_delete()
2024-03-22 16:10:26 +07:00
hathach 5774ac9886
add tu_edpt_stream_deinit() 2024-03-22 12:53:31 +07:00
hathach 2cf171095e
code format 2024-03-22 12:45:23 +07:00
hathach 74bd264758
adding deinit() stub for usbh/hcd class driver
add TUSB_VERSION_BUILD, also add TUSB_VERSION_NUMBER
2024-03-22 11:42:33 +07:00
hathach 08b09926a4
add note for max3421e is not signal compatible with pca10056/95 2024-03-22 11:12:40 +07:00
Ha Thach 60764de564
Merge pull request #2527 from tannewt/idf5.2.1
Tweaks for ESP-IDF 5.2.1
2024-03-21 10:21:29 +07:00
Scott Shawcroft 61a31db8ec
Tweaks for ESP-IDF 5.2.1 2024-03-20 15:20:24 -07:00
Koji KITAYAMA a4101c4174
Merge pull request #2520 from lijunru-hub/fix/uvc_support_multiple_interface
fix: uvc multiple interface support
2024-03-19 22:40:13 +09:00
Li Junru 5d1f6934fb fix: uvc multiple interface support
1. fix next interface may have IAD_DESC
2. fix vs_itf can't be open on bulk mode.
2024-03-18 10:20:36 +08:00
HiFiPhile 7c66f9b2a4
Merge pull request #2473 from kaidegit/patch-1
use rt-thread 5+ mq recv api
2024-03-13 16:28:28 +01:00
Ha Thach 15775727e7
Merge pull request #2492 from tlyu/fix-rp2040-ctrl-xfer
work around possible RP2040 erratum
2024-03-13 12:02:08 +07:00
hathach 834e2c9560
usbd only process last setup packet in the event queue 2024-03-13 11:46:23 +07:00
hathach 6dc714b6de
- only abort ep0 if it is active
- rename reset_ep0_pid() to reset_ep0()
- minor update log message
2024-03-13 11:41:58 +07:00
hathach 2f0ad918cc
Merge branch 'master' into fix-rp2040-ctrl-xfer 2024-03-12 16:59:12 +07:00
Ha Thach 6b7ceed25c
Merge pull request #2516 from hathach/minor-code-format
Minor code format
2024-03-12 16:55:00 +07:00
hathach 2a4b27ed33
add led blinky to cdc_dual_ports example 2024-03-11 22:00:21 +07:00
hathach 5653232144
reformat code 2024-03-11 21:59:30 +07:00
Ha Thach a0e5626bc5
Merge pull request #2503 from hathach/tuh-set-config-abort-all-ep
[host] abort all pending transfer when SET_CONFIGURATION is complete
2024-03-04 18:07:35 +07:00
hathach 1d3969acbd
- usbh enumeration: move _parse_configuration_descriptor after SET_CONFIGURATION is successful
- usbh: abort all pending xfer when SET_CONFIGURATION is complete
- use tu_edpt_release in tuh_edpt_abort_xfer instead of usbh_edpt_release
- rename _xfer_complete -> _control_xfer_complete
2024-03-04 17:44:53 +07:00
hathach ff76eca311
code reformat 2024-03-04 17:38:44 +07:00
hathach 9b6f13716f
correct rp2040 host with max3421 2024-03-04 16:14:53 +07:00
Ha Thach 6a9bca9ed3
Merge pull request #2500 from hathach/add-tuh-hid-abort
Add tuh hid abort
2024-03-04 15:48:44 +07:00
hathach 4f5d80d397
add tuh_hid_receive_abort() API 2024-03-01 17:40:38 +07:00
hathach 4ed02ae5f9
reformat code hid_host.c
- fix ceedling with ruby 3.1
- allow overwrite CMAKE_C_COMPILER/CMAKE_CXX_COMPILER from command line
2024-03-01 17:34:14 +07:00
Taylor Yu 473d400cfd work around possible RP2040 erratum
RP2040 device controller does not seem to clear pending transactions
configured in EP0 buffer controls when the host aborts a control
transfer. This causes assertion failures, including when a buffer
AVAILABLE flag set for a previous transfer causes an unexpected
transaction completion.
2024-02-26 09:25:51 -06:00
Ha Thach 2720392a15
Merge pull request #2490 from IngHK/compiler_warning
fixed compiler warning src/tusb.c
2024-02-26 11:59:11 +07:00
IngHK 23450d4f6b fixed compiler warning src/tusb.c 2024-02-24 15:51:02 +01:00
Ha Thach f21b792712
Merge pull request #2489 from hathach/fix-non-crystal-less-ci-fs
fix crytsal-less access on unsupported kinetis mcu
2024-02-24 17:43:53 +07:00
hathach a52b4647ec only save/restore CLK_RECOVER_IRC_EN/CTRL if FSL_FEATURE_USB_KHCI_IRC48M_MODULE_CLOCK_ENABLED is defined to 1 2024-02-24 17:18:30 +07:00
Ha Thach 21de8245ae
Merge pull request #2168 from emb4fun/nxp_k64
Added support for the NXP K64 series
2024-02-24 01:11:01 +07:00
hathach 65a2e5cdf8
fix build with cpu without USB_CLK_RECOVER using old dcd_khci driver 2024-02-24 00:53:05 +07:00
hathach 354998e96c
update freertosconfig 2024-02-24 00:41:46 +07:00
hathach 3d3bf45102
frdm k64f usb work well, add kinetis_k to ci cmake 2024-02-24 00:36:07 +07:00
hathach a1bfde83fb
adding frdm k64f, board test run well with led, button and uart 2024-02-23 13:18:52 +07:00
Ha Thach be5cc44f55
Merge pull request #2487 from hathach/update-cdc_msc_freertos-example
slightly change cdc_msc_freertos example
2024-02-22 20:15:56 +07:00
hathach 13d26d2166
slightly change cdc_msc_freertos example 2024-02-22 19:20:28 +07:00
Ha Thach a2446068d3
Merge pull request #2420 from zx96/use-cfg-tud-msc-log-level
msc_device: Fix check for including MSC lookup tables
2024-02-22 18:03:51 +07:00
Ha Thach 0f3d28593d
Merge pull request #2484 from eightycc/uninited
video_device: fix uninitialized variable warning
2024-02-21 21:50:42 +07:00
Bob Abeles 3f2df94457 video_device: fix uninitialized warning 2024-02-20 08:16:39 -08:00
Ha Thach 65e60f3123
Merge pull request #2463 from kasjer/kasjer/nrf5x-isoout-corruption-detection
nrf5x: Handle ISOOUT CRC errors
2024-02-20 14:06:08 +07:00
Ha Thach 09589a6363
Merge pull request #2481 from xudongzheng/pca10095-pr
Fix nRF5340 DK USB host shield build
2024-02-20 12:56:42 +07:00
Xudong Zheng 1315bc196c Fix nRF5340 DK USB host shield build
- Fix incorrect UART pins
- Enable MAX3421 host shield
- Use GPIOTE1_IRQn instead of GPIOTE_IRQn
2024-02-19 16:52:09 -05:00
Ha Thach d241f32342
Merge pull request #2480 from hathach/fix-k32l2-clock
add clock_config.c/h from mcux to frdmk32l2a4 and frdm_k32l2b
2024-02-19 20:34:44 +07:00
hathach e361b1a9ba
add clock_config.c/h from mcux to frdmk32l2a4 and frdm_k32l2b 2024-02-19 18:45:03 +07:00
Ha Thach 8469fafb10
Merge pull request #2479 from hathach/fix-ohci-volatile-2318
fix wrong volatile usage in ohci gtd
2024-02-19 18:35:09 +07:00
Ha Thach e9dc8f3e7d
fix wrong volatile usage in ohci gtd 2024-02-19 18:12:03 +07:00
Ha Thach 382f686f19
Merge pull request #2389 from IngHK/improve_debug_prints
improved hex debug print, improved USBH debug prints, added pid/vid debug print
2024-02-19 17:55:43 +07:00
Ha Thach fabc20b3fb
Merge pull request #2470 from IngHK/fix_2469
fixed #2469 compiler warning tusb_fifo.c -> missing default: break;
2024-02-19 16:46:32 +07:00