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
+78
@@ -0,0 +1,78 @@
|
||||
name: Build and test
|
||||
on:
|
||||
push:
|
||||
branches-ignore:
|
||||
- '*.tmp'
|
||||
tags:
|
||||
- '*'
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
fmt:
|
||||
name: fmt
|
||||
runs-on: "ubuntu-latest"
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@1.84
|
||||
with:
|
||||
components: rustfmt
|
||||
- run: cargo fmt --all -- --check
|
||||
|
||||
test:
|
||||
name: test
|
||||
runs-on: "ubuntu-latest"
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@1.84
|
||||
- run: cargo test --lib --target x86_64-unknown-linux-gnu
|
||||
- run: cargo test --doc --target x86_64-unknown-linux-gnu
|
||||
|
||||
test-msrv:
|
||||
name: build with MSRV
|
||||
runs-on: "ubuntu-latest"
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: 1.75
|
||||
- run: cargo build --lib --target x86_64-unknown-linux-gnu
|
||||
- run: cargo build --lib --target x86_64-unknown-linux-gnu --features async
|
||||
- run: cargo doc --target x86_64-unknown-linux-gnu
|
||||
- run: cargo doc --target x86_64-unknown-linux-gnu --features async
|
||||
|
||||
build:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
target:
|
||||
- arm-unknown-linux-gnueabi
|
||||
# Raspberry Pi 2, 3, etc
|
||||
- armv7-unknown-linux-gnueabihf
|
||||
# Linux
|
||||
- x86_64-unknown-linux-gnu
|
||||
- x86_64-unknown-linux-musl
|
||||
# Bare metal
|
||||
- thumbv6m-none-eabi
|
||||
include:
|
||||
- target: thumbv7em-none-eabi
|
||||
examples: true
|
||||
- target: thumbv7em-none-eabihf
|
||||
examples: true
|
||||
- target: thumbv7m-none-eabi
|
||||
examples: true
|
||||
name: ${{matrix.target}}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@1.84
|
||||
with:
|
||||
components: rustfmt
|
||||
- run: rustup target add ${{matrix.target}}
|
||||
- run: cargo build --target ${{matrix.target}} --all-features --release
|
||||
- if: ${{ matrix.examples }}
|
||||
run: cargo build --target ${{matrix.target}} --examples --release
|
||||
- if: ${{ matrix.examples }}
|
||||
run: cargo build --target ${{matrix.target}} --all-features --examples --release
|
||||
- run: cargo doc --all-features --target ${{matrix.target }}
|
||||
|
||||
Reference in new issue
Block a user