WIP: Enable BLE
TODO: Receive from BLE
This commit is contained in:
parent
666499c240
commit
fd8f28ef33
8 changed files with 741 additions and 10 deletions
14
Cargo.toml
14
Cargo.toml
|
|
@ -23,6 +23,8 @@ esp = [
|
|||
"dep:esp-rtos",
|
||||
"dep:esp-bootloader-esp-idf",
|
||||
"dep:embassy-executor",
|
||||
"dep:embassy-futures",
|
||||
"dep:embassy-sync",
|
||||
"dep:embassy-time",
|
||||
"dep:embedded-io",
|
||||
"dep:embedded-io-async",
|
||||
|
|
@ -30,6 +32,7 @@ esp = [
|
|||
"dep:esp-backtrace",
|
||||
"dep:esp-println",
|
||||
"dep:esp-radio",
|
||||
"dep:bt-hci",
|
||||
"esp32-cits-core/esp32c5",
|
||||
"esp32-cits-core/log-04",
|
||||
]
|
||||
|
|
@ -52,7 +55,7 @@ spat_debug = []
|
|||
# enable ST7789 based display
|
||||
screen = ["dep:mipidsi", "dep:embedded-graphics", "dep:embedded-hal-bus", "dep:profont"]
|
||||
# enable I/O via UART
|
||||
uart = ["_uart", "_gnss", "dep:prost"]
|
||||
uart = ["_uart", "_gnss"]
|
||||
|
||||
# internal feature, that any UART I/O is enabled
|
||||
_uart = []
|
||||
|
|
@ -66,6 +69,7 @@ esp-rtos = { version = "0.3.0", optional = true, features = [
|
|||
"embassy",
|
||||
"esp-alloc",
|
||||
"esp-radio",
|
||||
"embassy",
|
||||
"esp32c5",
|
||||
"log-04",
|
||||
] }
|
||||
|
|
@ -74,7 +78,10 @@ esp-bootloader-esp-idf = { version = "0.5.0", optional = true, features = ["esp3
|
|||
log = "0.4.27"
|
||||
|
||||
critical-section = "1.2.0"
|
||||
bt-hci = { version = "0.8.0", optional = true }
|
||||
embassy-executor = { version = "0.10.0", optional = true, features = ["log"] }
|
||||
embassy-futures = { version = "0.1.2", optional = true }
|
||||
embassy-sync = { version = "0.7", optional = true }
|
||||
embassy-time = { version = "0.5.0", optional = true, features = ["log"] }
|
||||
embedded-io = { version = "0.7.1", optional = true }
|
||||
embedded-io-async = { version = "0.7.0", optional = true }
|
||||
|
|
@ -92,7 +99,10 @@ esp-radio = { version = "0.18.0", optional = true, features = [
|
|||
"unstable",
|
||||
"wifi",
|
||||
"sniffer",
|
||||
"ble",
|
||||
] }
|
||||
trouble-host = { version = "0.6.0", features = ["gatt", "central", "derive", "default-packet-pool"] }
|
||||
static_cell = "2"
|
||||
|
||||
embassy_gps = { version = "0.1.0", optional = true, default-features = false, features = ["esp", "log-04"], git = "https://github.com/jbeyerstedt/embassy_gps.git", branch = "feat/rework-gpsfix" }
|
||||
esp32-cits-core = { version = "0.1.0", default-features = false, git = "https://git.hamburg.ccc.de/jtbx/esp32-cits-core", branch = "main" }
|
||||
|
|
@ -111,7 +121,7 @@ geo-types = { version = "0.7.19", default-features = false }
|
|||
mipidsi = { version = "0.10.0", optional = true }
|
||||
num-traits = { version = "0.2.19", default-features = false, features = ["libm"] }
|
||||
profont = { version = "0.7.0", optional = true }
|
||||
prost = { version = "0.14", optional = true, default-features = false, features = ["derive"] }
|
||||
prost = { version = "0.14", default-features = false, features = ["derive"] }
|
||||
ublox = { version = "0.10", optional = true, default-features = false, features = ["alloc", "ubx_proto27"] }
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue