58 lines
2.5 KiB
TOML
58 lines
2.5 KiB
TOML
[package]
|
|
name = "tangentbord1-lib"
|
|
version = "0.1.0"
|
|
authors = ["Joakim Hulthe <joakim@hulthe.net>"]
|
|
description = "Keyboard firmware"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
tgnt = { git = "https://git.nubo.sh/hulthe/tgnt.git", default-features = false }
|
|
cortex-m = "0.7.6"
|
|
cortex-m-rt = "0.7"
|
|
embedded-hal = "0.2.5"
|
|
usb-device = "0.2.9"
|
|
usbd-hid = "0.6.1"
|
|
static_cell = "1.0.0"
|
|
embedded-io = { version = "*", features = ["async"] }
|
|
futures = { version = "0.3", default-features = false, features = ["async-await"] }
|
|
embassy-executor = { git = "https://github.com/embassy-rs/embassy.git", features = ["log", "executor-thread", "nightly", "integrated-timers" ] }
|
|
embassy-sync = { git = "https://github.com/embassy-rs/embassy.git", features = ["log", "nightly"] }
|
|
embassy-time = { git = "https://github.com/embassy-rs/embassy.git", features = ["log"] }
|
|
embassy-futures = { git = "https://github.com/embassy-rs/embassy.git", features = ["log"] }
|
|
embassy-usb = { git = "https://github.com/embassy-rs/embassy.git", features = ["usbd-hid"] }
|
|
embassy-usb-logger = { git = "https://github.com/embassy-rs/embassy.git", features = [] }
|
|
embassy-usb-driver = { git = "https://github.com/embassy-rs/embassy.git", features = [] }
|
|
log = "0.4.17"
|
|
pio = "0.2.1"
|
|
pio-proc = "0.2.1"
|
|
smart-leds = "0.3.0"
|
|
embedded-alloc = "0.5.0"
|
|
postcard = { version = "1.0.4", features = ["alloc"] }
|
|
fixed = "1.23.1"
|
|
rtt-target = "0.4.0"
|
|
heapless = "0.7.16"
|
|
once_cell = { version = "1.17.1", default-features = false }
|
|
atomic-polyfill = "1.0.2"
|
|
critical-section = "1.1.1"
|
|
crc-any = "2.4.3"
|
|
serde = { version = "1.0.163", default-features = false, features = ["derive"] }
|
|
bytemuck = { version = "1.13.1", features = ["derive"] }
|
|
|
|
[target.'cfg(target_arch = "x86_64")'.dependencies]
|
|
embassy-executor = { git = "https://github.com/embassy-rs/embassy.git", features = ["arch-std"] }
|
|
embassy-time = { git = "https://github.com/embassy-rs/embassy.git", features = ["std", "generic-queue"] }
|
|
simple_logger = "4"
|
|
|
|
[target.thumbv6m-none-eabi.dependencies]
|
|
embassy-rp = { git = "https://github.com/embassy-rs/embassy.git", features = ["log", "nightly", "unstable-traits", "unstable-pac", "time-driver", "critical-section-impl"] }
|
|
embassy-executor = { git = "https://github.com/embassy-rs/embassy.git", features = ["arch-cortex-m"] }
|
|
|
|
[build-dependencies]
|
|
tgnt = { git = "https://git.nubo.sh/hulthe/tgnt.git", default-features = false }
|
|
ron = "0.8.0"
|
|
postcard = { version = "1", features = ["use-std"] }
|
|
|
|
[features]
|
|
default = ["n-key-rollover"]
|
|
n-key-rollover=[]
|