aboutsummaryrefslogtreecommitdiff
path: root/embassy-usb-dfu/src
Commit message (Collapse)AuthorAgeFilesLines
* Rustfmt for edition 2024.Dario Nieuwenhuis2025-10-062-4/+4
|
* Merge branch 'main' into usb_dfu_resetUlf Lilleengen2025-09-173-10/+6
|\
| * embassy-dfu-usb: Allow `application` and `dfu` feature at the same timePatrick Gansterer2025-09-013-10/+6
| | | | | | | | | | | | 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-142-30/+12
| | | | 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-132-4/+6
|
* [embassy-usb-dfu] support function level WinUSB GUIDsGerhard de Clercq2025-05-122-2/+30
| | | | 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: Reset immediately if WILL_DETACH is setMatthew Tran2025-05-081-1/+6
| | | | | This is necessary to support the windows WinUSB driver which is not capable of generating the USB reset.
* embassy-usb-dfu: Change return of reset to ()Matthew Tran2025-05-083-18/+14
| | | | | Also adds &self to the Reset trait, which makes it easier to implement cleanup/delays before actually resetting.
* [embassy-usb-dfu] Add generic DFU marking interfaceGerhard de Clercq2025-04-221-11/+25
| | | | This commit adds an interface that allows users to customise how the bootloader is informed that DFU mode is needed on the next boot.
* doc: add docu strings for dfuKrzysztof Królczyk2025-02-111-1/+45
| | | | Signed-off-by: Krzysztof Królczyk <[email protected]>
* 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-022-50/+69
| | | | 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.
* Reduced define for 'unreachable!' to a single macro ruleTarun Singh2024-07-171-10/+6
|
* Add collapse_debuginfo to fmt.rs macros.Dario Nieuwenhuis2024-06-171-0/+17
| | | | | | This makes location info in defmt logs point to the code calling the macro, instead of always to fmt.rs as before. Fix works with nightlies starting with today's, and stable 1.81+.
* fmt: disable "unused" warnings.Dario Nieuwenhuis2024-03-201-2/+1
|
* docs: document usb-logger and usb-dfuUlf Lilleengen2023-12-194-6/+19
|
* Rename bootloader feature to dfuKaitlyn Kenwell2023-12-141-4/+4
|
* Abstract chip reset logic, add Reset impls for cortex-m and esp32c3Kaitlyn Kenwell2023-12-143-12/+55
|
* SCB::sys_reset has a DSB internally, no need to replicateKaitlyn Kenwell2023-12-141-1/+0
|
* Address reviewsKaitlyn Kenwell2023-12-144-24/+279
|
* fmtKaitlyn Kenwell2023-12-134-64/+73
|
* Add embassy-usb-dfuKaitlyn Kenwell2023-12-134-0/+422