This is an automated email from the ASF dual-hosted git repository.

kasjer pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git

commit fa43041c47441594b054e0fb3bde2de428398f2a
Author: Jerzy Kasenberg <[email protected]>
AuthorDate: Wed Oct 14 08:22:34 2026 +0200

    tinyusb: Update TinyUSB to 16bedd9 for Windows NCM
    
    A Windows update (KB5124008, September 2026) added NTB parameter
    validation to usbncm.sys that requires wNdpInDivisor and
    wNdpOutDivisor to be at least 4 and a power of 2.  TinyUSB 0.21.0
    reports 1, Windows rejects the NCM function with Code 10
    (STATUS_DEVICE_HARDWARE_ERROR) right after GET_NTB_PARAMETERS.
    
    TinyUSB master commit 16bedd9 changes both divisors to 4.  No
    release contains it yet, pin tinyusb_sdk to that commit until
    TinyUSB 0.22.0 is available.
    
    Assisted-by: Claude:claude-opus-5-5
    Signed-off-by: Jerzy Kasenberg <[email protected]>
---
 hw/usb/tinyusb/tinyusb_sdk/pkg.yml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/hw/usb/tinyusb/tinyusb_sdk/pkg.yml 
b/hw/usb/tinyusb/tinyusb_sdk/pkg.yml
index 2458f2aa9..9eb9e0bb0 100644
--- a/hw/usb/tinyusb/tinyusb_sdk/pkg.yml
+++ b/hw/usb/tinyusb/tinyusb_sdk/pkg.yml
@@ -38,9 +38,14 @@ pkg.include_dirs:
 pkg.source_dirs:
     - "@tinyusb/src"
 
+# Pinned to commit past 0.21.0 to get 16bedd9 ("fix(ncm): bump
+# wNdbInDivisor/wNdbOutDivisor from 1 to 4 for Windows compat"). Since
+# KB5124008 Windows UsbNcm driver rejects NDP divisor 1 and the NCM
+# device fails to start (code 10). Switch back to a release tag once one
+# includes it.
 repository.tinyusb:
     type: github
     branch: master
-    vers: 0.21.0-commit
+    vers: 16bedd901866b0e8904c19b6b61de68d66d6663a-commit
     user: hathach
     repo: tinyusb

Reply via email to