summaryrefslogtreecommitdiff
path: root/examples/host
diff options
context:
space:
mode:
authorhathach <[email protected]>2026-07-10 00:17:18 +0700
committerhathach <[email protected]>2026-07-17 17:26:02 +0700
commitfa1fee0a5f82b5a78ace26ee1722c1d636c5b32a (patch)
tree1eb3cc8f528b809f07a287fbbb578488b4559409 /examples/host
parentaa410008e8e74b0727f8c30a1ec109ff2c37efc6 (diff)
migrate NXP Kinetis khci to chipidea ci_fs driver (device + host)
Complete the khci -> chipidea ci_fs migration that was started for device (commit d70403f1f "host is not yet"): - device: switch kinetis_k/kl/k32l (Makefiles + k32l CMake) to dcd_ci_fs.c - host: add hcd_ci_fs.c (port of hcd_khci.c onto ci_fs_regs_t) and switch all Kinetis families to it; remove src/portable/nxp/khci entirely - enable host examples (device_info, cdc_msc_hid) for mcu:KINETIS_K - README: merge the KL and K32L2 rows into a single "KL, K32L" ci_fs row hcd_ci_fs.c also fixes two pre-existing host bugs found via HIL on frdm_k64f (present in the old hcd_khci.c too): - data toggle was flipped on a NAK in suspend_transfer; a NAK transfers no data so the toggle must be preserved, else the retried bulk packet is silently discarded by the device (MSC CBW/CSW hang). See comment in file. - prepare_packets asserted and dropped a transfer when the single shared BDT was still owned by an in-flight transfer under concurrent activity; now it returns busy and resume_transfer defers/retries on the next SOF. HIL verified on frdm_k64f: device 13/13, host cdc_msc_hid (CDC mount + echo + MSC mount, through a hub). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01ExGPLP5eU43LR7o6yYLpNi
Diffstat (limited to 'examples/host')
-rw-r--r--examples/host/cdc_msc_hid/only.txt1
-rw-r--r--examples/host/device_info/only.txt1
2 files changed, 2 insertions, 0 deletions
diff --git a/examples/host/cdc_msc_hid/only.txt b/examples/host/cdc_msc_hid/only.txt
index a2ff93be5..a2f4f273a 100644
--- a/examples/host/cdc_msc_hid/only.txt
+++ b/examples/host/cdc_msc_hid/only.txt
@@ -3,6 +3,7 @@ family:samd21
family:samd5x_e5x
mcu:CH32V20X
mcu:KINETIS_KL
+mcu:KINETIS_K
mcu:LPC175X_6X
mcu:LPC177X_8X
mcu:LPC18XX
diff --git a/examples/host/device_info/only.txt b/examples/host/device_info/only.txt
index 4c2cb0f35..7f30218df 100644
--- a/examples/host/device_info/only.txt
+++ b/examples/host/device_info/only.txt
@@ -4,6 +4,7 @@ family:samd21
family:samd5x_e5x
mcu:CH32V20X
mcu:KINETIS_KL
+mcu:KINETIS_K
mcu:LPC175X_6X
mcu:LPC177X_8X
mcu:LPC18XX