feat: add display UI with splash screen, dashboard, and RSSI sparkline
Implement full SSD1306 OLED display support: - Splash screen on boot (1.5s) with project name, version, board - Dashboard showing radio state, config, counters, RSSI/SNR - RSSI history sparkline (64-sample ring buffer, 2px-wide bars) - DisplayOn/DisplayOff host commands routed via dedicated channel - Pure render functions against generic DrawTarget (no hardware coupling) - Display on/off control bypasses radio task entirely Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
17624 files changed
+4564928
-38
No files matched your search
+90
@@ -0,0 +1,90 @@
|
||||
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
||||
#
|
||||
# When uploading crates to the registry Cargo will automatically
|
||||
# "normalize" Cargo.toml files for maximal compatibility
|
||||
# with all versions of Cargo and also rewrite `path` dependencies
|
||||
# to registry (e.g., crates.io) dependencies.
|
||||
#
|
||||
# If you are reading this file be aware that the original Cargo.toml
|
||||
# will likely look very different (and much more reasonable).
|
||||
# See Cargo.toml.orig for the original contents.
|
||||
|
||||
[package]
|
||||
edition = "2021"
|
||||
name = "embassy-embedded-hal"
|
||||
version = "0.2.0"
|
||||
build = false
|
||||
autobins = false
|
||||
autoexamples = false
|
||||
autotests = false
|
||||
autobenches = false
|
||||
description = "Collection of utilities to use `embedded-hal` and `embedded-storage` traits with Embassy."
|
||||
documentation = "https://docs.embassy.dev/embassy-embedded-hal"
|
||||
readme = "README.md"
|
||||
categories = [
|
||||
"embedded",
|
||||
"no-std",
|
||||
"asynchronous",
|
||||
]
|
||||
license = "MIT OR Apache-2.0"
|
||||
repository = "https://github.com/embassy-rs/embassy"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
features = ["std"]
|
||||
|
||||
[package.metadata.embassy_docs]
|
||||
features = ["std"]
|
||||
src_base = "https://github.com/embassy-rs/embassy/blob/embassy-embedded-hal-v$VERSION/embassy-embedded-hal/src/"
|
||||
src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-embedded-hal/src/"
|
||||
target = "x86_64-unknown-linux-gnu"
|
||||
|
||||
[lib]
|
||||
name = "embassy_embedded_hal"
|
||||
path = "src/lib.rs"
|
||||
|
||||
[dependencies.defmt]
|
||||
version = "0.3"
|
||||
optional = true
|
||||
|
||||
[dependencies.embassy-futures]
|
||||
version = "0.1.0"
|
||||
|
||||
[dependencies.embassy-sync]
|
||||
version = "0.6.0"
|
||||
|
||||
[dependencies.embassy-time]
|
||||
version = "0.3.2"
|
||||
optional = true
|
||||
|
||||
[dependencies.embedded-hal-02]
|
||||
version = "0.2.6"
|
||||
features = ["unproven"]
|
||||
package = "embedded-hal"
|
||||
|
||||
[dependencies.embedded-hal-1]
|
||||
version = "1.0"
|
||||
package = "embedded-hal"
|
||||
|
||||
[dependencies.embedded-hal-async]
|
||||
version = "1.0"
|
||||
|
||||
[dependencies.embedded-storage]
|
||||
version = "0.3.1"
|
||||
|
||||
[dependencies.embedded-storage-async]
|
||||
version = "0.4.1"
|
||||
|
||||
[dependencies.nb]
|
||||
version = "1.0.0"
|
||||
|
||||
[dev-dependencies.critical-section]
|
||||
version = "1.1.1"
|
||||
features = ["std"]
|
||||
|
||||
[dev-dependencies.futures-test]
|
||||
version = "0.3.17"
|
||||
|
||||
[features]
|
||||
default = ["time"]
|
||||
std = []
|
||||
time = ["dep:embassy-time"]
|
||||
Reference in new issue
Block a user