From 9086bbc76a057efac32643d57d25310cc36fbfde Mon Sep 17 00:00:00 2001 From: Andrew Leech Date: Wed, 22 Apr 2026 10:46:57 +1000 Subject: [PATCH] lib/micropython-lib: Update pyusb with Windows support. Bump micropython-lib to a fork containing the pyusb modifications required to use libusb-1.0 on Windows (platform-aware library loading, bundled DLL, additional Device/Configuration/Interface APIs needed by pydfu.py, and a device-list memory leak fix). Also add a Git LFS rule for the bundled DLL. Source branch: andrewleech/micropython-lib pyusb-windows. Signed-off-by: Andrew Leech --- .gitattributes | 1 + lib/micropython-lib | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index fbab4e69abea7..049a6e2571c5b 100644 --- a/.gitattributes +++ b/.gitattributes @@ -28,3 +28,4 @@ ports/cc3200/hal/des.c -text ports/cc3200/hal/i2s.c -text ports/cc3200/hal/i2s.h -text ports/cc3200/version.h -text +lib/micropython-lib/unix-ffi/pyusb/usb/*.dll filter=lfs diff=lfs merge=lfs -text diff --git a/lib/micropython-lib b/lib/micropython-lib index 8380c7bb8f9e5..9cbfde19300bf 160000 --- a/lib/micropython-lib +++ b/lib/micropython-lib @@ -1 +1 @@ -Subproject commit 8380c7bb8f9e5e5260e9539156742925e00366b2 +Subproject commit 9cbfde19300bf76447a0fcbc695dd79bf348aa1a