add basic usb hid keyboard functionality with debounced input based on embassy-rs examples

This commit is contained in:
2025-12-13 01:41:18 +01:00
parent 66497ba1ce
commit a8b9d3d750
3 changed files with 374 additions and 25 deletions

View File

@@ -23,11 +23,14 @@ embedded-storage = "0.3.1"
cortex-m-rt = "0.7.3"
embassy-executor = { version = "0.7", features = ["task-arena-size-1024", "arch-cortex-m", "executor-thread", "defmt", "executor-interrupt"] }
embassy-executor = { version = "0.7", features = ["task-arena-size-65536", "arch-cortex-m", "executor-thread", "defmt", "executor-interrupt"] }
embassy-sync = { version = "0.6" }
embassy-time = { version = "0.4", features = ["defmt", "defmt-timestamp-uptime"] }
cortex-m = { version = "0.7.7" }
embassy-rp = { version = "0.4", features = ["defmt", "unstable-pac", "time-driver", "critical-section-impl", "rp2040"] }
embassy-usb = "0.4.0"
usbd-hid = "0.8.2"
embassy-futures = "0.1.2"
[profile.release]
debug = 2
lto = true