gnss: Add support for ublox GNSS
This commit is contained in:
parent
ac6a3e398e
commit
2db0dc0116
6 changed files with 262 additions and 21 deletions
|
|
@ -15,7 +15,7 @@ path = "./src/test.rs"
|
|||
required-features = ["std", "cam"]
|
||||
|
||||
[features]
|
||||
default = ["esp", "spat", "gnss", "screen"]
|
||||
default = ["esp", "spat", "gnss_ubx", "screen"]
|
||||
|
||||
# build for ESP (needed to build test for `host-tuple`)
|
||||
esp = [
|
||||
|
|
@ -33,8 +33,10 @@ esp = [
|
|||
]
|
||||
std = ["c-its-parser/std"]
|
||||
|
||||
# enable u-blox GNSS module
|
||||
gnss_ubx = ["_gnss", "_uart", "dep:ublox"]
|
||||
# enable L67K GNSS module
|
||||
gnss = ["_gnss", "dep:embassy_gps"]
|
||||
gnss_l67k = ["_gnss", "dep:embassy_gps"]
|
||||
# echo CAM data on serial
|
||||
cam = ["c-its-parser/cam"]
|
||||
# send CAM autonomously
|
||||
|
|
@ -107,6 +109,7 @@ 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"] }
|
||||
ublox = { version = "0.10", optional = true, default-features = false, features = ["alloc", "ubx_proto27"] }
|
||||
|
||||
[dev-dependencies]
|
||||
assert_float_eq = "1.2.0"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue