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

kaidokert / rm32
62%
main: 63%

Build:
Build:
LAST BUILD BRANCH: tmps
DEFAULT BRANCH: main
Repo Added 28 Apr 2026 02:48PM UTC
Token gSHfNNG4C2ue8Ih3dj51cwDeonsyNzdup regen
Build 247 Last
Files 34
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

LAST BUILD ON BRANCH pr12_1
branch: pr12_1
CHANGE BRANCH
x
Reset
Sync Branches
  • pr12_1
  • main
  • pr1
  • pr10_1
  • pr11_1
  • pr13_1
  • pr14_1
  • pr15_1
  • pr16_1
  • pr17_1
  • pr18_1
  • pr19_1
  • pr20_1
  • pr21_1
  • pr22_1
  • pr23_1
  • pr24_1
  • pr25_1
  • pr26_1
  • pr27_1
  • pr28_1
  • pr29_1
  • pr2_1
  • pr2_2
  • pr2_3
  • pr2_4
  • pr2_5
  • pr2_6
  • pr2_7
  • pr2_ref
  • pr30_1
  • pr31_1
  • pr32_1
  • pr33_1
  • pr34_1
  • pr3_1
  • pr5_1
  • pr7_1
  • pr8_1
  • pr_codecov1
  • pr_codecov2
  • system-tick
  • tmps

30 Apr 2026 10:08PM UTC coverage: 61.961% (+0.03%) from 61.936%
25191753470

Pull #18

github

kaidokert
Move e_com_time computation from per-tick to per-step

Computing the 6-interval sum on every 20kHz ISR tick was wasteful —
it only changes when a commutation step advances. Move the computation
into record_interval() which returns the updated e_com_time, and
publish to SharedComm at each of the 3 advance() call sites.

record_interval after advance matches C ordering where step is
incremented before commutation_intervals[step-1] is written.
Pull Request #18: Fix e_com_time: compute from ISR intervals, not empty main-loop array

13 of 17 new or added lines in 3 files covered. (76.47%)

8 existing lines in 3 files now uncovered.

3274 of 5284 relevant lines covered (61.96%)

596.34 hits per line

Relevant lines Covered
Build:
Build:
5284 RELEVANT LINES 3274 COVERED LINES
596.34 HITS PER LINE
Source Files on pr12_1
  • Tree
  • List 34
  • Changed 7
  • Source Changed 5
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
25191753470 pr12_1 Move e_com_time computation from per-tick to per-step Computing the 6-interval sum on every 20kHz ISR tick was wasteful — it only changes when a commutation step advances. Move the computation into record_interval() which returns the updated e_co... Pull #18 30 Apr 2026 10:08PM UTC kaidokert github
61.96
25191566289 pr12_1 Add regression test for e_com_time ISR computation Verifies e_com_time > 100 after motor commutation steps, catching the bug where the intervals array was never populated by the ISR (would have produced e_com_time=2 from empty array rounding bias). Pull #18 30 Apr 2026 10:03PM UTC kaidokert github
61.96
25191325120 pr12_1 Fix e_com_time: compute from ISR intervals, not empty main-loop array The commutation_intervals array in TimingState was never populated by the firmware ISR, only by the harness's manual copy. This meant e_com_time, e_rpm, and average_interval we... Pull #18 30 Apr 2026 09:57PM UTC kaidokert github
61.96
See All Builds (166)

Badge your Repo: rm32

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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