208 Commits

Author SHA1 Message Date
Dario Nieuwenhuis
9346115edf usb: add standalone dfu class implementation, use it in embassy-usb-dfu. 2026-01-12 18:34:58 +01:00
Dario Nieuwenhuis
62ed44f99a Update to embedded-io 0.7 2025-12-19 12:29:50 +01:00
Lucas Kent
14d847e1b2 Fix rp webusb example on windows 2025-12-18 07:44:16 +11:00
goodhoko
c578c48c06 Don't forget the changelog! 2025-12-02 17:23:53 +01:00
goodhoko
907e8065b2 Expose dtr() and rts() on cdc_acm::ControlChanged
What purpose that sturct has otherwise?
2025-12-02 17:16:49 +01:00
Chris Doble
f59e1eed24 Fix a bug where CDC ACM BufferedReceiver repeats data when its future is dropped 2025-11-28 11:45:16 +11:00
Haobo Gu
6f2ad3b696 chore: bump usbd-hid version
Signed-off-by: Haobo Gu <haobogu@outlook.com>
2025-11-25 11:18:01 +08:00
Matteo Meluzzi
7976f950b0 Merge branch 'main' into 17-add-support-for-boot-protocol 2025-10-24 15:48:34 +02:00
Matteo Meluzzi
828a8df18d Merge branch 'main' into 17-add-support-for-boot-protocol 2025-10-02 10:53:31 +02:00
matteo
d79d433d02 rename HidSubclass to match hid spec 2025-10-01 18:30:15 +02:00
matteo
5c8218b875 review comments 2025-09-30 18:38:43 +02:00
matteo
d72e8d9af9 add usb subclass boot and usb protocol mouse and keyboard 2025-09-23 20:08:11 +02:00
Dario Nieuwenhuis
4d71f432ad Update manifests to satisfy new checks. 2025-09-22 00:47:08 +02:00
matteo
10397e9f3c fix changelog 2025-09-21 18:26:26 +02:00
matteo
1688a3c393 update comments 2025-09-21 18:08:42 +02:00
matteo
2cf7cc4c92 fix compilation with usbd-hid feature off 2025-09-21 18:00:32 +02:00
matteo
5f5f71efd0 Add support for changing hid protocol mode 2025-09-21 17:52:14 +02:00
Ulf Lilleengen
83f2557eac chore: prepare embassy crate releases 2025-08-26 16:05:09 +02:00
Dario Nieuwenhuis
9f12852c38 Read crate configs from metadata. 2025-08-25 19:44:50 +02:00
Ulf Lilleengen
6a347f1f09 feat: add semver checks and releasing to releaser
* List dependencies of a crate
* List dependents of a crate
* Perform semver-checks of a crate
* Prepare a release for a crate and all dependents
* Use a single release.toml for cargo-release
* Add changelogs where missing
2025-08-25 19:44:49 +02:00
Ulf Lilleengen
c7b9060a74 fix: prepare embassy-sync 0.7.1 release
* Add newtype for moved type to preserve API compat
2025-08-12 21:05:32 +02:00
Ulf Lilleengen
6f2f469c56 chore: Release embassy-usb-driver version 0.2.0 2025-07-16 15:43:05 +02:00
Ulf Lilleengen
c484e7d0e5 chore: Release embassy-usb version 0.5.0 2025-07-16 15:35:47 +02:00
Jianqing Liu
24349a9012 Fix CDC ACM BufferedReceiver buffer calculation
Co-authored-by: Ralph Ursprung <39383228+rursprung@users.noreply.github.com>
2025-07-16 15:06:19 +02:00
Ulf Lilleengen
38807ff5fd chore: Release embassy-net-driver-channel version 0.3.1 2025-07-16 09:27:32 +02:00
Dario Nieuwenhuis
f525386fca
Merge pull request #4397 from korbin/allocate-numbered-endpoints
Make USB endpoint allocator methods accept an optional `EndpointAddress`
2025-07-15 22:08:08 +00:00
Ulf Lilleengen
f32e8f6025 release: embassy-usb-driver 0.1.1 2025-07-15 21:41:41 +02:00
korbin
b666a88ab1
make usb endpoint allocator methods accept an optional EndpointAddress 2025-07-13 20:40:54 -06:00
Ralph Ursprung
27bae26172
embassy-usb: add release automation using cargo-release
this requires you to install [`cargo-release`].
note that this does not include a URL pointing to the diff on GitHub as
is usually done in changelogs since `embassy` is a mono-repo and the GH
UI doesn't offer a commit view per folder (see the [GH feature request]
for this).

[`cargo-release`]: https://crates.io/crates/cargo-release
[GH feature request]: https://github.com/orgs/community/discussions/162131
2025-07-08 23:04:30 +02:00
Ralph Ursprung
e38b3c5252
prepare changelog for embassy-usb v0.5.0 2025-07-08 23:04:30 +02:00
Dario Nieuwenhuis
72248a601a Update Rust nightly, stable. 2025-07-04 00:23:22 +02:00
Matt Johnston
5e49985ed6 embassy-sync: bump to 0.7.0 2025-05-22 13:29:55 +08:00
Yuri Astrakhan
ef0f29f0ed Update defmt dependencies 2025-05-18 20:52:09 +02:00
Matt Rodgers
d46d3119ce Implement embedded-io-async traits for USB CDC ACM 2025-05-07 21:22:56 +01:00
Dion Dokter
f5ab597a07 Logging: Make some things less chatty 2025-04-25 10:53:17 +02:00
Dániel Buga
b0eacf0eec
Add optional trace endpoint 2025-04-17 22:29:15 +02:00
Dániel Buga
e410e65b83
Add CMSIS-DAP driver 2025-04-17 21:03:58 +02:00
Dario Nieuwenhuis
17cce79807
Merge pull request #3992 from elagil/usb_fixes
Small USB-related fixes
2025-03-25 11:03:53 +00:00
Bailey Quarters
eff9168846 Make CDC ACM state constructor const 2025-03-24 19:53:36 +01:00
elagil
5264d77007 fix: mute by default (UAC1) 2025-03-22 11:47:38 +01:00
decaday
9806f78ea0 Add information about existing USB IP implementations 2025-03-19 11:37:35 +08:00
Ronald Weber
7a2f038800 doc: Fix "the the" 2025-02-19 17:29:21 +01:00
René van Dorst
d363401ba5 embassy-usb: fix core::intrinsics deprecate warning in nightly.
Replaced `core::intrinsics::copy_nonoverlapping` with the
`core::ptr::copy_nonoverlapping`.

   Compiling embassy-usb v0.4.0 (embassy/embassy-usb)
warning: use of deprecated module `core::intrinsics`: import this function via `std::mem` instead
  --> embassy/embassy-usb/src/class/cdc_ncm/mod.rs:17:23
   |
17 | use core::intrinsics::copy_nonoverlapping;
   |                       ^^^^^^^^^^^^^^^^^^^
2025-02-03 22:08:23 +01:00
Ulf Lilleengen
ed63f80637 chore: bump embassy-sync version
Prepare version 0.6.2 for release
2025-01-15 16:12:36 +01:00
Dario Nieuwenhuis
05df319a82 Release embassy-usb v0.4.0, embassy-usb-logger v0.4.0. 2025-01-15 00:59:15 +01:00
Dániel Buga
44217aa092
Desugar some async fns 2024-12-30 12:13:13 +01:00
9names
adf3134e7d embassy-usb: fix building with optional log feature 2024-12-28 23:48:14 +11:00
Eekle
cac7000882 Update default docs for device class fields 2024-12-24 13:49:55 +01:00
Eekle
0f4b9c7451 Default USB to use composite_with_iads, which "just works" in most cases 2024-12-24 12:53:06 +01:00
sawyer bristol
0b7f9d84be add docs for usb version variants 2024-12-03 09:54:15 -07:00