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
+117
@@ -0,0 +1,117 @@
|
||||
name: CI
|
||||
on: [push, pull_request]
|
||||
|
||||
# Ensure only read permission is granted
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
test:
|
||||
name: Test
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
- build: stable
|
||||
os: ubuntu-latest
|
||||
rust: stable
|
||||
- build: beta
|
||||
os: ubuntu-latest
|
||||
rust: beta
|
||||
- build: nightly
|
||||
os: ubuntu-latest
|
||||
rust: nightly
|
||||
- build: macos
|
||||
os: macos-latest
|
||||
rust: stable
|
||||
- build: win32
|
||||
os: windows-latest
|
||||
rust: stable-i686-pc-windows-msvc
|
||||
- build: win64
|
||||
os: windows-latest
|
||||
rust: stable-x86_64-pc-windows-msvc
|
||||
- build: mingw
|
||||
os: windows-latest
|
||||
rust: stable-x86_64-pc-windows-gnu
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: ${{ matrix.rust }}
|
||||
- uses: taiki-e/install-action@cargo-hack
|
||||
- run: cargo hack test --feature-powerset --exclude-features max_level_off,max_level_error,max_level_warn,max_level_info,max_level_debug,max_level_trace,release_max_level_off,release_max_level_error,release_max_level_warn,release_max_level_info,release_max_level_debug,release_max_level_trace
|
||||
- run: cargo run --verbose --manifest-path test_max_level_features/Cargo.toml
|
||||
- run: cargo run --verbose --manifest-path test_max_level_features/Cargo.toml --release
|
||||
|
||||
check:
|
||||
name: Check Format and Clippy
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
components: clippy
|
||||
- run: cargo fmt -- --check
|
||||
- run: cargo fmt --manifest-path test_max_level_features/Cargo.toml -- --check
|
||||
- run: cargo clippy --verbose
|
||||
- run: cargo clippy --verbose --manifest-path test_max_level_features/Cargo.toml
|
||||
|
||||
doc:
|
||||
name: Check Documentation
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- name: Run rustdoc
|
||||
env:
|
||||
RUSTDOCFLAGS: "-D warnings"
|
||||
run: cargo doc --verbose --features std,kv,kv_std,kv_sval,kv_serde
|
||||
|
||||
features:
|
||||
name: Feature check
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@nightly
|
||||
- run: cargo build --verbose -Z avoid-dev-deps --features kv
|
||||
- run: cargo build --verbose -Z avoid-dev-deps --features "kv std"
|
||||
- run: cargo build --verbose -Z avoid-dev-deps --features "kv kv_sval"
|
||||
- run: cargo build --verbose -Z avoid-dev-deps --features "kv kv_serde"
|
||||
- run: cargo build --verbose -Z avoid-dev-deps --features "kv kv_std"
|
||||
- run: cargo build --verbose -Z avoid-dev-deps --features "kv kv_sval kv_serde"
|
||||
|
||||
minimalv:
|
||||
name: Minimal versions
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@nightly
|
||||
- run: cargo build --verbose -Z minimal-versions --features kv
|
||||
- run: cargo build --verbose -Z minimal-versions --features "kv std"
|
||||
- run: cargo build --verbose -Z minimal-versions --features "kv kv_sval"
|
||||
- run: cargo build --verbose -Z minimal-versions --features "kv kv_serde"
|
||||
- run: cargo build --verbose -Z minimal-versions --features "kv kv_std"
|
||||
- run: cargo build --verbose -Z minimal-versions --features "kv kv_sval kv_serde"
|
||||
|
||||
msrv:
|
||||
name: MSRV
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@1.68.0
|
||||
with:
|
||||
components: clippy
|
||||
- uses: taiki-e/install-action@cargo-hack
|
||||
- run: cargo hack test --feature-powerset --exclude-features max_level_off,max_level_error,max_level_warn,max_level_info,max_level_debug,max_level_trace,release_max_level_off,release_max_level_error,release_max_level_warn,release_max_level_info,release_max_level_debug,release_max_level_trace
|
||||
- run: cargo run --verbose --manifest-path test_max_level_features/Cargo.toml
|
||||
- run: cargo run --verbose --manifest-path test_max_level_features/Cargo.toml --release
|
||||
|
||||
embedded:
|
||||
name: Embedded
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- run: rustup target add thumbv6m-none-eabi riscv32imc-unknown-none-elf
|
||||
- run: cargo build --verbose --target=thumbv6m-none-eabi
|
||||
- run: cargo build --verbose --target=riscv32imc-unknown-none-elf
|
||||
Reference in new issue
Block a user