0
0
Fork 0

spat: Add screen

This commit is contained in:
Jannik Beyerstedt 2026-06-15 23:08:53 +02:00
commit b2ec98da2e
7 changed files with 463 additions and 30 deletions

View file

@ -40,9 +40,11 @@ cam = ["c-its-parser/cam"]
# echo DENM events on serial and BLE
denm = ["c-its-parser/denm"]
# evaluate SPAT information
spat = ["gnss", "c-its-parser/spatem", "c-its-parser/mapem"]
spat = ["gnss", "screen", "c-its-parser/spatem", "c-its-parser/mapem"]
# enable some debug printing (without enabling debug logging of the ESP RTOS)
spat_debug = []
# enable ST7789 based display
screen = ["dep:mipidsi", "dep:embedded-hal-bus", "dep:profont"]
[dependencies]
@ -81,6 +83,8 @@ esp-radio = { version = "0.18.0", optional = true, features = [
] }
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" }
embedded-hal-bus = { version = "0.3.0", optional = true }
embedded-graphics = "0.8.2"
c-its-parser = { version = "2.2.2", default-features = false, features = [
"time",
"geo",
@ -90,7 +94,9 @@ c-its-parser = { version = "2.2.2", default-features = false, features = [
chrono = { version = "0.4.44", default-features = false, features = ["alloc"] }
crossbeam-queue = { version = "0.3.12", default-features = false, features = ["alloc"] }
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 }
[dev-dependencies]
assert_float_eq = "1.2.0"