7831 Commits

Author SHA1 Message Date
Deadman
0a2444e100 sparkfun_samd21_mini_usb board support 2024-03-09 03:21:52 +01: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
Jerry Palacios
2a21b6980b MCX family pointing to updated mcux-sdk repository 2024-02-24 17:16:32 -06: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
Jerry Palacios
ec91660119 Revert "Merge branch 'hathach:master' into MCX"
This reverts commit 6afd4a57896f9c9e794de3ab6eabc73d18be4bd0, reversing
changes made to 5c14bd13da211ff2679115b0dba96ac80c1a516c.
2024-02-22 16:11:23 -06:00
jerpa77
6afd4a5789
Merge branch 'hathach:master' into MCX 2024-02-22 15:47:45 -06: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
Jerry Palacios
5c14bd13da MCX A and MCX N merged to MCX family 2024-02-20 18:02:42 -06: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
Kai
27c125416a
use rt-thread 5+ mq recv api 2024-02-16 15:16:17 +08:00
Chris Desjardins
5ca9980060 Do not enable the Mode mismatch interrupt source, it is not cleared
If this interrupt ever hits it will result in an infinite interrupt
loop as it is never cleared.
2024-02-15 16:34:31 +01:00
IngHK
79aecf3fb7 fixed #2469 2024-02-14 09:16:18 +01:00
jerpa77
69ad3e2c8d
Merge branch 'hathach:master' into MCX 2024-02-12 11:31:51 -06:00
Jerry Palacios
7b780c068c Button modification 2024-02-12 09:29:10 -06:00
Jerzy Kasenberg
68bb858406 nrf5x: Handle ISOOUT CRC errors
NRF5x USB controller can detect ISO OUT CRC errors.
In such case USBEVENT is signaled with EVENTCAUSE_ISOOUTCRC set.
Even if controller detects corrupted ISO OUT packet it allows
to data transfer from ednpoint to RAM however packet is corrupted
and code could just as well drop packet altogether.

With current implementation incoming ISO OUT packets were put in
FIFO and exact information how much data already in FIFO is correct
was hard to keep track of.
If was observed that on certain configurations HS hub when FS device
was connected occasionally sent invalid (short) packet. In such case
if packet length was reported odd audio stream was not recognizable any
more.

With this change corrupted packets are not passed to upper layers
and are silently dropped.
2024-02-12 16:17:44 +01:00
Jerry Palacios
7e0100408d MCX modified to MCXA and MCXN 2024-02-09 11:15:26 -06:00
Jerry Palacios
b44cae8f18 frdmmcxa153 now working with cmake+ninja 2024-02-09 11:07:51 -06:00
Jerry Palacios
73122cd5f9 mcx family renamed as mcxn
MCXN and MCXA have different ARM Cortex M33 core, can't be on the same family
2024-02-09 09:36:58 -06:00
Jerry Palacios
8dc581247a Merge branch 'frdmmcxn947' into frdmmcxa153 2024-02-09 09:31:08 -06:00
Jerry Palacios
7369d1f36e Update family.c 2024-02-09 08:51:37 -06:00
Jerry Palacios
5b762e189c uart rx disabled 2024-02-08 16:25:41 -06:00
Jerry Palacios
2c766c4daf Update family.c 2024-02-08 12:43:13 -06:00
Jerry Palacios
fa4314e0ce button commented 2024-02-08 11:55:01 -06:00