aboutsummaryrefslogtreecommitdiff
path: root/embassy-usb-dfu/src/dfu.rs
Commit message (Collapse)AuthorAgeFilesLines
* Rustfmt for edition 2024.Dario Nieuwenhuis2025-10-061-2/+2
|
* Merge branch 'main' into usb_dfu_resetUlf Lilleengen2025-09-171-0/+1
|\
| * embassy-dfu-usb: Allow `application` and `dfu` feature at the same timePatrick Gansterer2025-09-011-0/+1
| | | | | | | | | | | | Since there is no technical reason to disallow the use of both features at the same time, remove the artifical contraint to give developers more freedom with their implementations.
* | embassy-usb-dfu: fix: do not reset in GetStatus requestPatrick Gansterer2025-09-011-1/+7
|/ | | | | | Only reset the device after a USB reset request. This avoids error messages with update tools, which expect a response to a GetStatus request (like dfu-util).
* [embassy-usb-dfu] support ed25519 verificationGerhard de Clercq2025-05-231-3/+30
| | | | | 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.
* [embassy-usb-dfu] accept closure to customise DFU functionGerhard de Clercq2025-05-141-15/+6
| | | | This provides a more generic interface for users to customise the DFU function instead of restricting customisation to DFU headers.
* [embassy-usb-dfu] correct comment about composite devicesGerhard de Clercq2025-05-131-2/+3
|
* [embassy-usb-dfu] support function level WinUSB GUIDsGerhard de Clercq2025-05-121-1/+15
| | | | 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.
* embassy-usb-dfu: Change return of reset to ()Matthew Tran2025-05-081-8/+6
| | | | | Also adds &self to the Reset trait, which makes it easier to implement cleanup/delays before actually resetting.
* embassy-usb-dfu: use correct function descriptorsGerhard de Clercq2024-12-101-1/+1
| | | | This should allow things to work properly even when IADs are used.
* embassy-dfu-usb: Improve debuggabilityGerhard de Clercq2024-12-021-29/+49
| | | | This commit adds logging to embassy-dfu-usb which helps with debugging issues such as https://github.com/embassy-rs/embassy/issues/3536. It also cleans up a few repeated code blocks and avoid re-initialising the local buffer for every iteration.
* docs: document usb-logger and usb-dfuUlf Lilleengen2023-12-191-0/+190