Commit Graph

7800 Commits

Author SHA1 Message Date
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
Jerry Palacios b9c6b22165 cortex m33+nodsp+nofpu make file created 2024-02-08 11:10:10 -06: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
Jerry Palacios 45454c53f1 frdmmcxa153 files added 2024-02-07 18:33:19 -06:00
Jerry Palacios bab25c2d56 nxp-sdk pointing to Wavenumber repo 2024-02-07 17:26:43 -06:00
Jerry Palacios 31c9176b2b frdmmcxn947 board added 2024-02-07 17:10:47 -06:00
Jerry Palacios 6c4a5292a6 Back to original 2024-02-07 17:03:13 -06:00
Antonio Vázquez Blanco 0531027b57 usbd: log outbound xfer bytes in debug 2024-02-07 13:06:41 +01:00
IngHK a066002731 Merge remote-tracking branch 'remotes/hathach/master' into improve_debug_prints 2024-02-07 10:11:42 +01:00
IngHK e784e20b93 changes after review 2024-02-07 10:11:28 +01:00
Ha Thach b60d0ff1d4
Merge pull request #2442 from IngHK/hidh_mounted_fix
HIDh tuh_hid_mounted() returns true before process set config is completed
2024-02-06 16:34:02 +07:00
Michael Fischer ea30041168
Merge branch 'hathach:master' into nxp_k64 2024-02-04 10:55:34 +01:00
Ha Thach f918406a12
Merge pull request #2454 from hathach/fix-esp-build
Fix esp build
2024-02-02 13:46:25 +07:00
hathach 7ab39cda5f
fix rmt legacy driver warning 2024-02-02 13:17:29 +07:00
hathach d1f77e08ac
build esp32 ci with v5.1 2024-02-02 13:08:42 +07:00
HiFiPhile c151da6455
Merge pull request #1928 from gschorcht/src/portable/synopsys/dwc2/fix_sof_int_handling
synopsys/dwc2: fix SOF interrupt handling
2024-02-01 11:26:27 +01:00
HiFiPhile d692d77834
Merge branch 'master' into src/portable/synopsys/dwc2/fix_sof_int_handling 2024-02-01 11:12:20 +01:00
HiFiPhile f505cc2add
Merge pull request #2443 from mamiral/tud_vendor_mutex
Update vendor_device.c fifo mutex config similar to cdc_device.c.
2024-02-01 11:04:27 +01:00
Ha Thach 7ea2384786
Merge pull request #2445 from IngHK/ch34x_fix2444
fix #2444 and other small things
2024-02-01 13:11:22 +07:00
IngHK e63a2f5c58 fix #2444 and other small things 2024-01-31 18:00:25 +01:00
mamiral 82776aaca9
Update vendor_device.c fifo mutex config similar to cdc_device.c. 2024-01-31 10:48:15 +01:00
IngHK f600a8a0fc fix tuh_hid_mounted() similar to #2437 2024-01-30 10:33:55 +01:00
Ha Thach 68cc7089bd
Merge pull request #2438 from IngHK/cdch_mounted_fix
fix of #2437 CDCh tuh_cdc_mounted() returns true before process config is completed
2024-01-30 11:59:12 +07:00
hathach 00ba4e95ac
cdch: de-configure when closing, rename configured to mounted 2024-01-30 10:59:12 +07:00
Ha Thach 7a92038bc4
Merge pull request #2428 from YixingShen/master
update video_capture
2024-01-30 10:00:26 +07:00
YixingShen 073a7a5659 revert the change in the f1 family.c since it break compile with other f1 that does not use UART. 2024-01-30 08:30:37 +08:00
Ha Thach b4c0530fda
Merge pull request #2435 from hathach/enhance-uvc
Enhance UVC decriptors and example
2024-01-30 00:12:09 +07:00
hathach 55950656cb
add freertos build support for video_capture example 2024-01-29 23:23:06 +07:00
IngHK 82be2477e8 fixed #2437 2024-01-29 12:04:00 +01:00