Skip to content

Commit

Permalink
Port to usbd_human_interface_device (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
rukai authored Nov 24, 2023
1 parent 2ef43ee commit 28006ee
Show file tree
Hide file tree
Showing 3 changed files with 327 additions and 41 deletions.
201 changes: 194 additions & 7 deletions dpedal_firmware/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions dpedal_firmware/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ version = "0.1.1"
edition = "2021"
repository = "https://github.com/rukai/DPedal"

# TODO: use bindeps to remove "cargo calling cargo" hacks https://rust-lang.github.io/rfcs/3176-cargo-multi-dep-artifacts.html

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
Expand All @@ -17,9 +19,14 @@ embedded-hal = "0.2"
usb-device = "0.2.0"
nb = "1.0.0"
once_cell = { version = "1.17.0", default-features = false, features = ["critical-section"] }
usbd-human-interface-device = "0.4.4"
frunk = { version = "0.4.2", default-features = false }

[profile.release]
lto = true
incremental = false
opt-level = "z"
debug = true

[profile.dev]
opt-level = "z"
Loading

0 comments on commit 28006ee

Please sign in to comment.