36 lines
1.2 KiB
TOML
36 lines
1.2 KiB
TOML
[package]
|
|
name = "cyw43"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[features]
|
|
defmt = ["dep:defmt", "heapless/defmt-03"]
|
|
log = ["dep:log"]
|
|
|
|
# Fetch console logs from the WiFi firmware and forward them to `log` or `defmt`.
|
|
firmware-logs = []
|
|
|
|
[dependencies]
|
|
embassy-time = { version = "0.2", path = "../embassy-time"}
|
|
embassy-sync = { version = "0.5.0", path = "../embassy-sync"}
|
|
embassy-futures = { version = "0.1.0", path = "../embassy-futures"}
|
|
embassy-net-driver-channel = { version = "0.2.0", path = "../embassy-net-driver-channel"}
|
|
|
|
defmt = { version = "0.3", optional = true }
|
|
log = { version = "0.4.17", optional = true }
|
|
|
|
cortex-m = "0.7.6"
|
|
cortex-m-rt = "0.7.0"
|
|
futures = { version = "0.3.17", default-features = false, features = ["async-await", "cfg-target-has-atomic", "unstable"] }
|
|
|
|
embedded-hal-1 = { package = "embedded-hal", version = "1.0.0-rc.2" }
|
|
num_enum = { version = "0.5.7", default-features = false }
|
|
|
|
heapless = "0.8.0"
|
|
|
|
[package.metadata.embassy_docs]
|
|
src_base = "https://github.com/embassy-rs/embassy/blob/cyw43-v$VERSION/cyw43/src/"
|
|
src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/cyw43/src/"
|
|
target = "thumbv6m-none-eabi"
|
|
features = ["defmt", "firmware-logs"]
|