Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ jobs:
- name: Save binary
run: |
mv ./examples/nrf52/target/thumbv7em-none-eabihf/release/ble_bas_peripheral ./examples/nrf52/target/thumbv7em-none-eabihf/release/original.elf
- name: "[PR] transitioning from 'nrf-sdc' to 'nrf52' needs this." #hack
if: ${{ github.event.pull_request }}
run: git restore examples/nrf52/Cargo.lock
- name: If it's a PR checkout the base commit
if: ${{ github.event.pull_request }}
run: git checkout ${{ github.event.pull_request.base.sha }}
Expand Down
1 change: 0 additions & 1 deletion bt-hci-linux/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ embedded-io = { version = "0.6.1", features = ["std"] }
libc = "0.2"
bt-hci = "0.6"
embassy-time = { version = "0.5", features = ["std", "generic-queue-8"] }
rand = { version = "0.8.5", features = ["getrandom"] }
env_logger = "0.11"
log = "0.4"
critical-section = { version = "1", features = ["std"] }
15 changes: 6 additions & 9 deletions examples/apps/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,12 @@ license = "MIT OR Apache-2.0"
trouble-host = { path = "../../host", features = ["derive", "scan"] }
bt-hci = { version = "0.6" }
embassy-futures = "0.1.1"
embassy-sync = { version = "0.7" }
embassy-sync = { version = "0.7" } # host-macros
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

marked the reason of existence for certain dependencies (here and static_cell, heapless, below).

embassy-time = "0.5"
#embedded-hal = "1.0"
embedded-hal-async = "1.0"
static_cell = "2"
#embedded-io = "0.6"
heapless = "0.9"
rand_core = { version = "0.6", default-features = false }
static_cell = "2" # host-macros
heapless = "0.9" # ble_scanner.rs
rand_core = { version = "0.9.3", default-features = false, optional = true }

# Used by 'security' feature
embedded-storage-async = { version = "0.4.1", optional = true }
Expand All @@ -30,8 +28,6 @@ defmt = [
"dep:defmt",
"trouble-host/defmt",
"bt-hci/defmt",
#"embedded-io/defmt-03",
#"embedded-hal/defmt-03"
]
log = [
"dep:log",
Expand All @@ -41,6 +37,7 @@ log = [
security = [
"trouble-host/security",
"dep:sequential-storage",
"dep:embedded-storage-async"
"dep:embedded-storage-async",
"dep:rand_core"
]
std = []
2 changes: 2 additions & 0 deletions examples/apps/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ pub mod ble_advertise;
pub mod ble_advertise_multiple;
pub mod ble_bas_central;
pub mod ble_bas_central_multiple;
#[cfg(feature = "security")]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

*_sec were treated as feature-flagged, except here.

pub mod ble_bas_central_sec;
pub mod ble_bas_peripheral;
#[cfg(feature = "security")]
pub mod ble_bas_peripheral_sec;
pub mod ble_beacon;
pub mod ble_l2cap_central;
Expand Down
Loading
Loading