diff options
| author | Dario Nieuwenhuis <[email protected]> | 2024-08-05 20:58:04 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2024-08-05 21:07:42 +0200 |
| commit | 4f7ac1946a43379306aa432961fb97bba1139a6e (patch) | |
| tree | 2589e67baa770acf244dfdea355e16585d683d16 /cyw43/Cargo.toml | |
| parent | afc8e684dd16c3bc947b365ca293f0f37d95b342 (diff) | |
cyw43: add Bluetooth support.
Co-Authored-By: Brandon Ros <[email protected]>
Diffstat (limited to 'cyw43/Cargo.toml')
| -rw-r--r-- | cyw43/Cargo.toml | 8 |
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" | |||
| 10 | documentation = "https://docs.embassy.dev/cyw43" | 10 | documentation = "https://docs.embassy.dev/cyw43" |
| 11 | 11 | ||
| 12 | [features] | 12 | [features] |
| 13 | defmt = ["dep:defmt", "heapless/defmt-03", "embassy-time/defmt"] | 13 | defmt = ["dep:defmt", "heapless/defmt-03", "embassy-time/defmt", "bt-hci?/defmt", "embedded-io-async?/defmt-03"] |
| 14 | log = ["dep:log"] | 14 | log = ["dep:log"] |
| 15 | bluetooth = ["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`. |
| 17 | firmware-logs = [] | 18 | firmware-logs = [] |
| @@ -31,9 +32,12 @@ futures = { version = "0.3.17", default-features = false, features = ["async-awa | |||
| 31 | 32 | ||
| 32 | embedded-hal-1 = { package = "embedded-hal", version = "1.0" } | 33 | embedded-hal-1 = { package = "embedded-hal", version = "1.0" } |
| 33 | num_enum = { version = "0.5.7", default-features = false } | 34 | num_enum = { version = "0.5.7", default-features = false } |
| 34 | |||
| 35 | heapless = "0.8.0" | 35 | heapless = "0.8.0" |
| 36 | 36 | ||
| 37 | # Bluetooth deps | ||
| 38 | embedded-io-async = { version = "0.6.0", optional = true } | ||
| 39 | bt-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] |
| 38 | src_base = "https://github.com/embassy-rs/embassy/blob/cyw43-v$VERSION/cyw43/src/" | 42 | src_base = "https://github.com/embassy-rs/embassy/blob/cyw43-v$VERSION/cyw43/src/" |
| 39 | src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/cyw43/src/" | 43 | src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/cyw43/src/" |
