Commit Graph

46 Commits

Author SHA1 Message Date
hathach
1f18be93db change the tusb_rhport_init_t struct, exclude the rhport to make API more consistent 2024-10-14 18:27:52 +07:00
hathach
1587d48e89 hcd_init() take init struct 2024-10-11 17:53:39 +07:00
hathach
d997f0071e change dcd_init() to take rhport struct 2024-10-11 15:31:49 +07:00
hathach
d945261aef LOG3 in isr 2024-06-18 12:53:57 +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
hathach
65a2e5cdf8 fix build with cpu without USB_CLK_RECOVER using old dcd_khci driver 2024-02-24 00:53:05 +07:00
hathach
3d3bf45102 frdm k64f usb work well, add kinetis_k to ci cmake 2024-02-24 00:36:07 +07:00
Michael Fischer
ea30041168 Merge branch 'hathach:master' into nxp_k64 2024-02-04 10:55:34 +01:00
hathach
3b0ffd0f48 change hcd_int_handler(rhport, in_isr) signature: add in_isr
change tuh_int_handler() to take in_isr as optional parameter (default =
true)
2023-09-27 15:51:03 +07:00
Ha Thach
9063ede25f Merge branch 'master' into nxp_k64 2023-08-28 17:46:05 +07:00
hathach
588b758717 rename OPT_MCU_KINETIS_K64 to OPT_MCU_KINETIS_K 2023-08-28 17:34:40 +07:00
Ha Thach
1b04db2a77 Merge branch 'master' into master 2023-08-04 11:48:04 +07:00
hathach
c37a957174 correct hcd_edpt_clear_stall() API signature 2023-07-26 19:56:48 +07:00
Ha Thach
fda92fd34a Merge branch 'master' into hcd-abort-xfer 2023-07-24 21:38:46 +07:00
hathach
ef49b93532 rename CFG_TUSB_MEM_SECTION to CFG_TUD_MEM_SECTION in device stack
CFG_TUD_MEM_SECTION is default to CFG_TUSB_MEM_SECTION
2023-07-24 15:46:21 +07:00
emb4fun
e2f28bc134 Added support for the NXP K64 series 2023-07-23 10:53:22 +02:00
hathach
0da273ea79 add stub hcd_edpt_abort_xfer() for all ports 2023-07-21 12:52:26 +07:00
Lars Pötter
0693462eba made line ends consistent. 2023-07-02 09:02:24 +02:00
hathach
71fb6469d4 separate CFG_TUSB_MEM_SECTION and CFG_TUSB_MEM_ALIGN to
- CFG_TUD_MEM_SECTION and CFG_TUD_MEM_ALIGN
- CFG_TUH_MEM_SECTION and CFG_TUH_MEM_ALIGN
- fix missing mem section and align for host
2023-03-24 14:05:21 +07:00
hathach
1fc203b085 more update to kinetis bsp 2023-03-18 19:50:24 +07:00
hathach
2d187777c0 merge kinetis into its own family in bsp 2023-03-18 18:30:51 +07:00
Bob Paddock
f9b8a0667a Add support for NXP FRDM_K32L2A4S eval board. 2023-03-18 16:50:50 +07:00
hathach
3623ba1884 fix trailing space and new line
temporarily disable codespell
2023-03-17 16:12:49 +07:00
hathach
606f932d92 added dcd_sof_enable() stubs for all other ports 2022-03-07 23:05:05 +07:00
hathach
96165a1950 rename HCD_MAX_XFER to CFG_TUH_ENDPOINT_MAX
minor clean up
2022-03-04 17:07:04 +07:00
hathach
31aa077cb0 rename TUSB_OPT_HOST_ENABLED to CFG_TUH_ENABLED 2022-02-25 18:35:21 +07:00
hathach
d10326cb4e rename TUSB_OPT_DEVICE_ENABLED to CFG_TUD_ENABLED
TUSB_OPT_DEVICE_ENABLED still usable for backward compatible
2022-02-25 18:35:21 +07:00
kkitayam
03d2e32dc1 Fix handling for pending transfers 2022-01-27 23:38:19 +09:00
kkitayam
60a0be82da Change hcd_edpt_xfer to send at the next SOF 2022-01-27 22:25:36 +09:00
kkitayam
cc06a3585e Add handling for NAK response 2022-01-27 20:57:41 +09:00
kkitayam
cdab869472 Fix handling control transfer 2022-01-27 20:57:41 +09:00
kkitayam
a4bc6075ce Add HCD functions for KL25Z 2022-01-27 20:57:40 +09:00
hathach
5af989384b remove ep descriptor wMaxPacketSize bitfield due to endian issue 2021-10-24 13:11:21 +07:00
hathach
b363afc091 minor clean up 2021-09-17 00:46:29 +07:00
hathach
c65cc75c6b use correct resume detection for kl25z 2021-09-17 00:44:39 +07:00
hathach
8dfe0898e7 minor update to dcd khci 2021-09-17 00:43:10 +07:00
kkitayam
fbe1bf375c Fix stall interrupt handling 2021-09-15 21:39:02 +09:00
hathach
93ed3034c0 merge master and minor clean up 2021-09-15 18:35:52 +07:00
kkitayam
2998f67eac Fix dcd_edpt_clear_stall to reset data toggle 2021-09-10 00:18:43 +09:00
kkitayam
780852efb3 Fix stall handling 2021-09-09 00:55:02 +09:00
kkitayam
22b5b47045 Implement dcd_edpt_close_all for NXP khci 2021-09-08 21:52:27 +09:00
hathach
71e77e47fa add dcd_edpt_close_all() for clear existing configured state
correctly responded to TD 9.13 Set Configuration Test
2021-08-26 17:07:03 +07:00
Greg Steiert
86201f77be initial commit of support for K32L2B 2021-08-23 16:17:57 -07:00
hathach
6e6e6265e4 use dcd_event_bus_reset() with speed to replace bus_signal 2021-01-08 22:34:36 +07:00
kkitayam
2737166d2b fixed wrong direction to enable EP in dcd_edpt_open.
fixed incorrect handling of STALL other than EP0
convert tabs to spaces
removed unused symbols
2020-12-23 20:32:29 +09:00
kkitayam
2bbfc56bd8 added support for frdm_kl25z 2020-12-18 00:07:50 +09:00