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

fhunleth / fwup / 1735
87%
master: 86%

Build:
Build:
LAST BUILD BRANCH: fix-mmcblk-detection
DEFAULT BRANCH: master
Ran 09 Dec 2020 04:11AM UTC
Jobs 1
Files 323
Run time 43s
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

pending completion
1735

push

travis-ci

fhunleth
Reduce window for FAT corruption

The FatFs has recommendations for reducing the chance of FAT
datastructure corruption on unexpected termination. See
http://elm-chan.org/fsw/ff/doc/appnote.html#critical

This is a bandaid since making FATFS resiliant to unexpected power
outages does not look possible. fwup's block-based caching (it only writes
128 KB blocks at a time) confounds this. At the very least, though, I
believe that this change reduces the amount of time that the fwup cache
is out of sync with fatfs, AND that is enough of an improvment to
warrant calling f_sync after every FatFs write operation.

7 of 7 new or added lines in 1 file covered. (100.0%)

3686 of 4227 relevant lines covered (87.2%)

29457.45 hits per line

Jobs
ID Job ID Ran Files Coverage
5 1735.5 (COVERITY_SCAN_TOKEN=[secure] MODE=dynamic) 09 Dec 2020 04:11AM UTC 0
87.2
Travis Job 1735.5
Source Files on build 1735
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1735
  • e834d928 on github
  • Prev Build on main (#1731)
  • Next Build on main (#1741)
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