aboutsummaryrefslogtreecommitdiff
path: root/cyw43/Cargo.toml
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2024-08-05 20:58:04 +0200
committerDario Nieuwenhuis <[email protected]>2024-08-05 21:07:42 +0200
commit4f7ac1946a43379306aa432961fb97bba1139a6e (patch)
tree2589e67baa770acf244dfdea355e16585d683d16 /cyw43/Cargo.toml
parentafc8e684dd16c3bc947b365ca293f0f37d95b342 (diff)
cyw43: add Bluetooth support.
Co-Authored-By: Brandon Ros <[email protected]>
Diffstat (limited to 'cyw43/Cargo.toml')
-rw-r--r--cyw43/Cargo.toml8
1 files changed, 6 insertions, 2 deletions
diff --git a/cyw43/Cargo.toml b/cyw43/Cargo.toml
index 654afe356..9b469c338 100644
--- a/cyw43/Cargo.toml
+++ b/cyw43/Cargo.toml
@@ -10,8 +10,9 @@ repository = "https://github.com/embassy-rs/embassy"
10documentation = "https://docs.embassy.dev/cyw43" 10documentation = "https://docs.embassy.dev/cyw43"
11 11
12[features] 12[features]
13defmt = ["dep:defmt", "heapless/defmt-03", "embassy-time/defmt"] 13defmt = ["dep:defmt", "heapless/defmt-03", "embassy-time/defmt", "bt-hci?/defmt", "embedded-io-async?/defmt-03"]
14log = ["dep:log"] 14log = ["dep:log"]
15bluetooth = ["dep:bt-hci", "dep:embedded-io-async"]
15 16
16# Fetch console logs from the WiFi firmware and forward them to `log` or `defmt`. 17# Fetch console logs from the WiFi firmware and forward them to `log` or `defmt`.
17firmware-logs = [] 18firmware-logs = []
@@ -31,9 +32,12 @@ futures = { version = "0.3.17", default-features = false, features = ["async-awa
31 32
32embedded-hal-1 = { package = "embedded-hal", version = "1.0" } 33embedded-hal-1 = { package = "embedded-hal", version = "1.0" }
33num_enum = { version = "0.5.7", default-features = false } 34num_enum = { version = "0.5.7", default-features = false }
34
35heapless = "0.8.0" 35heapless = "0.8.0"
36 36
37# Bluetooth deps
38embedded-io-async = { version = "0.6.0", optional = true }
39bt-hci = { git = "https://github.com/alexmoon/bt-hci.git", rev = "b9cd5954f6bd89b535cad9c418e9fdf12812d7c3", optional = true, default-features = false }
40
37[package.metadata.embassy_docs] 41[package.metadata.embassy_docs]
38src_base = "https://github.com/embassy-rs/embassy/blob/cyw43-v$VERSION/cyw43/src/" 42src_base = "https://github.com/embassy-rs/embassy/blob/cyw43-v$VERSION/cyw43/src/"
39src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/cyw43/src/" 43src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/cyw43/src/"