12 Commits

Author SHA1 Message Date
Gerhard de Clercq
68a45490fc [embassy-usb-dfu] support ed25519 verification
This commit adds the ability to verify that USB DFU updates are correctly signed using ed25519.
This required adding support to embassy-boot for reading from the DFU partition.
2025-05-23 12:40:19 +02:00
Gerhard de Clercq
2bbc2045a4 [usb-dfu examples] Alert users to customise their WinUSB GUIDs 2025-05-14 09:56:28 +02:00
Gerhard de Clercq
d4d10bad0b [embassy-usb-dfu] accept closure to customise DFU function
This provides a more generic interface for users to customise the DFU function instead of restricting customisation to DFU headers.
2025-05-14 09:52:46 +02:00
Gerhard de Clercq
46e25cbc5f [embassy-usb-dfu] correct comment about composite devices 2025-05-13 15:13:46 +02:00
Gerhard de Clercq
3c73b49790 [embassy-usb-dfu] support function level WinUSB GUIDs
This commit makes it possible to provide function level msos GUIDs to usb_dfu. This helps to ensure that composite DFU devices automatically get assigned the WinUSB driver on Windows.
2025-05-12 15:55:11 +02:00
Matthew Tran
d35df5cfba embassy-usb-dfu: Change return of reset to ()
Also adds &self to the Reset trait, which makes it easier to implement
cleanup/delays before actually resetting.
2025-05-08 00:09:21 -05:00
Gerhard de Clercq
5963a10d4d stm32wb-dfu: add MSOS headers
The USB DFU example now shows how to automatically get the WinUSB driver assigned.
2024-12-10 09:31:47 +01:00
Adam Greig
7cf6490fba
usb: remove device_descriptor buffer, store bytes in UsbDevice.inner instead 2024-03-23 00:35:15 +00:00
Badr Bouslikhin
c267cb9ab7
feat: enhance bootloader for multiple flash support 2024-02-06 16:25:45 +01:00
Kaitlyn Kenwell
9f9f6e75bb Abstract chip reset logic, add Reset impls for cortex-m and esp32c3 2023-12-14 13:29:26 -05:00
Kaitlyn Kenwell
9cc5d8ac89 fmt 2023-12-14 09:38:49 -05:00
Kaitlyn Kenwell
e27e00f628 Address reviews 2023-12-14 09:36:22 -05:00