mirror of
https://github.com/liquidraver/ZephCore.git
synced 2026-09-03 01:03:47 +00:00
Stop doing UI work nobody asked for. The 5 s housekeeping tick was reading env sensors (I2C, 10-50 ms), the battery ADC (regulator toggle + 8 samples, every 60 s), and re-rendering the display unconditionally — all while the display might be off and nothing on-air had requested any of it. Now: - render_sensors() reads env sensors only when the user is on that page (event-driven, never fires during idle) - battery refresh is lazy on ui_pages_render() with a 30 s freshness guard; explicit ui_set_battery() calls also count - the unconditional OLED rerender from housekeeping is gone; real state changes (messages, BLE, button press) still fire schedule_render() directly Telemetry / stats paths read fresh ADC + sensors on demand and were never using the UI cache, so over-the-air consumers are unaffected.
104 lines
1.3 KiB
Plaintext
104 lines
1.3 KiB
Plaintext
# Build output (west build creates these)
|
|
/build*/
|
|
build/
|
|
build-*/
|
|
**/build/
|
|
**/build-*/
|
|
**/build_*/
|
|
/twister-out*/
|
|
|
|
# West workspace (recreated by west init/update)
|
|
/.west/
|
|
|
|
# Zephyr SDK and toolchain (large, downloaded separately)
|
|
/bootloader/
|
|
/modules/
|
|
/tools/
|
|
/zephyr/
|
|
|
|
# Python
|
|
.venv/
|
|
__pycache__/
|
|
*.pyc
|
|
|
|
# Editors / IDE
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*~
|
|
*.bak
|
|
|
|
# Debug artifacts
|
|
*.log
|
|
jlink_*.txt
|
|
rtt_*.log
|
|
|
|
# UF2 / binary artifacts
|
|
*.uf2
|
|
!formatter/
|
|
!formatter/*.uf2
|
|
*.hex
|
|
*.bin
|
|
*.elf
|
|
*.map
|
|
*.obj
|
|
*.o
|
|
*.a
|
|
*.zip
|
|
|
|
# OS junk
|
|
.DS_Store
|
|
Thumbs.db
|
|
desktop.ini
|
|
|
|
# Claude Code project data
|
|
.claude/
|
|
|
|
# RTT output files (missed by *.log pattern)
|
|
rtt_*.txt
|
|
|
|
# JLink scripts and outputs
|
|
*.jlink
|
|
|
|
# Documentation that was moved/deleted
|
|
/docs/
|
|
|
|
# Temporary/scratch files
|
|
*.tmp
|
|
*.orig
|
|
|
|
# CMake/Ninja build system
|
|
CMakeCache.txt
|
|
CMakeFiles/
|
|
.ninja_*
|
|
cmake_install.cmake
|
|
Makefile
|
|
compile_commands.json
|
|
|
|
# Memory dumps
|
|
*.dmp
|
|
core
|
|
|
|
# Utility/test source files
|
|
meshcore/src/eraser_main.cpp
|
|
zephcore/AUDIT_FINDINGS.md
|
|
|
|
# Upstream tracking (local only)
|
|
UPSTREAM_TRACKER.md
|
|
WEST_UPDATE.md
|
|
/westchanges/
|
|
|
|
# Side projects (not part of main firmware)
|
|
/doom/
|
|
THINKNODE_M1_HANDOVER.md
|
|
CLAUDE.md
|
|
zephcore/apc_checklist.md
|
|
zephcore/apc.md
|
|
RADIO_AUDIT_INDEX.md
|
|
RX_BUSY_LATCH_PLAN.md
|
|
zephcore/SX126X_LBT_RX_DEBUG_HANDOFF.md
|
|
PSRAM_HANDOFF.md
|
|
BLE_AUDIT_INDEX.md
|
|
POWER_AUDIT_HANDOFF.md
|
|
POWER_AUDIT_INDEX.md
|