• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kaidokert / rm32 / 25090826913
64%
main: 63%

Build:
Build:
LAST BUILD BRANCH: tmps
DEFAULT BRANCH: main
Ran 29 Apr 2026 04:24AM UTC
Jobs 1
Files 33
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 Apr 2026 04:24AM UTC coverage: 63.78% (-2.5%) from 66.32%
25090826913

Pull #3

github

kaidokert
Fix missing stuck rotor detection (bemf_timeout_happened never incremented)

The BEMF timeout counter was cleared and latched but never incremented —
stuck rotor protection was non-functional in the Rust firmware.

Fix: MainState::tick() reads interval_timer_count from SharedComm. When
it exceeds BEMF_STALL_TIMER_THRESHOLD (45000 = 22.5ms without BEMF ZC),
bemf_timeout_happened increments. ISR publishes interval timer count
each tick. Latch clearing guards against resetting the 102 latch value.

Tests:
- 2 unit tests (stall increment + below threshold)
- stuck_rotor.txt blackbox vector validated against C harness first
Pull Request #3: Make harness test actual firmware code

487 of 1138 new or added lines in 8 files covered. (42.79%)

40 existing lines in 3 files now uncovered.

3115 of 4884 relevant lines covered (63.78%)

595.93 hits per line

Uncovered Changes

Lines Coverage ∆ File
342
0.0
0.0% rm32/src/bin/harness.rs
108
24.94
24.94% rm32/src/shared_state.rs
80
60.2
rm32/src/input_mapping.rs
44
21.65
-17.97% rm32/src/shared_comm.rs
29
76.61
rm32/src/control/input.rs
24
70.63
-6.87% rm32/src/control/shared_impl.rs
23
71.68
71.68% rm32/src/main_state.rs
1
73.93
1.34% rm32/src/control/isr_logic.rs

Coverage Regressions

Lines Coverage ∆ File
24
64.71
-35.29% rm32/src/control/state.rs
9
0.0
0.0% rm32/src/bin/harness.rs
7
80.26
-3.0% rm32/src/config.rs
Jobs
ID Job ID Ran Files Coverage
1 25090826913.1 29 Apr 2026 04:24AM UTC 33
63.78
GitHub Action Run
Source Files on build 25090826913
  • Tree
  • List 33
  • Changed 8
  • Source Changed 7
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25090826913
  • Pull Request #3
  • PR Base - main (#25063526269)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc