BLE: Remove denm dependency, align default features with readme
This commit is contained in:
parent
352ef6fb7a
commit
2dfcfef58d
3 changed files with 5 additions and 5 deletions
|
|
@ -15,7 +15,7 @@ path = "./src/test.rs"
|
||||||
required-features = ["std", "cam"]
|
required-features = ["std", "cam"]
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["esp", "spat", "gnss_ubx", "screen", "ble"]
|
default = ["esp", "spat", "gnss_ubx", "screen"]
|
||||||
|
|
||||||
# build for ESP (needed to build test for `host-tuple`)
|
# build for ESP (needed to build test for `host-tuple`)
|
||||||
esp = [
|
esp = [
|
||||||
|
|
@ -57,7 +57,7 @@ screen = ["dep:mipidsi", "dep:embedded-graphics", "dep:embedded-hal-bus", "dep:p
|
||||||
# enable I/O via UART
|
# enable I/O via UART
|
||||||
uart = ["_uart", "_gnss"]
|
uart = ["_uart", "_gnss"]
|
||||||
# enable I/O via BLE
|
# enable I/O via BLE
|
||||||
ble = ["_gnss", "denm"]
|
ble = ["_gnss"]
|
||||||
|
|
||||||
# internal feature, that any UART I/O is enabled
|
# internal feature, that any UART I/O is enabled
|
||||||
_uart = []
|
_uart = []
|
||||||
|
|
|
||||||
|
|
@ -57,9 +57,7 @@ Enable UART I/O protocol according to [docs/uart-protocol.md](./docs/uart-protoc
|
||||||
|
|
||||||
### BLE
|
### BLE
|
||||||
Enable BLE I/O protocol according to [docs/ble-protocol.md](./docs/ble-protocol.md).
|
Enable BLE I/O protocol according to [docs/ble-protocol.md](./docs/ble-protocol.md).
|
||||||
Will enable `denm` feature, but also enabling `cam` is recommended for full functionality.
|
Enabling `denm` feature or `cam` feature is recommended, otherwise no data will be received.
|
||||||
|
|
||||||
Note: Raw message reception is currently not implemented!
|
|
||||||
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,8 @@ features_base=(
|
||||||
spat,gnss_ubx,screen,cam_tx
|
spat,gnss_ubx,screen,cam_tx
|
||||||
)
|
)
|
||||||
features_more=(
|
features_more=(
|
||||||
|
spat,gnss_ubx,screen,ble
|
||||||
|
spat,gnss_ubx,screen,ble,cam_tx
|
||||||
spat,gnss_ubx,screen,cam,denm
|
spat,gnss_ubx,screen,cam,denm
|
||||||
spat,gnss_ubx,screen,cam_tx,cam,denm
|
spat,gnss_ubx,screen,cam_tx,cam,denm
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue