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

kaidokert / rm32 / 25203213512
63%

Build:
DEFAULT BRANCH: main
Ran 01 May 2026 05:10AM UTC
Jobs 1
Files 34
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

01 May 2026 05:09AM UTC coverage: 61.268% (+0.3%) from 60.927%
25203213512

push

github

web-flow
Encapsulate DutyState and ProtectionState, remove last pub fields from state.rs (#28)

* Encapsulate DutyState and ProtectionState, remove last pub fields

DutyState: make minimum/min_startup/startup_max pub(crate), add
set_duty_limits() and apply_dead_time_override() methods. Firmware
and harness now use these instead of direct field writes.

ProtectionState: make bemf_timeout_happened/bemf_timeout pub(crate),
add getters and setters. Firmware reads via getters, harness injects
via setters.

Zero pub fields remain in control/state.rs — all access is through
methods or pub(crate).

* Apply dead_time_override in harness, add regression test

The harness load_eeprom path was missing apply_dead_time_override(),
so driving_brake_strength configs never shifted duty thresholds.
This was an untested firmware path.

Add dead_time_override.txt blackbox test that verifies
driving_brake_strength=5 raises the duty setpoint floor from ~153
to >250 via the dead-time override.

* Add unit tests for DutyState and ProtectionState methods

Cover set_duty_limits, apply_dead_time_override (including zero noop),
and ProtectionState getter/setter round-trip. Addresses codecov
coverage regression from adding untested methods.

53 of 61 new or added lines in 2 files covered. (86.89%)

3393 of 5538 relevant lines covered (61.27%)

617.85 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
0.0
0.0% rm32/src/bin/harness.rs
Jobs
ID Job ID Ran Files Coverage
1 25203213512.1 01 May 2026 05:10AM UTC 34
61.27
GitHub Action Run
Source Files on build 25203213512
  • Tree
  • List 34
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25203213512
  • ea4888b5 on github
  • Prev Build on main (#25201971766)
  • Next Build on main (#25204537662)
  • 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