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

micropython / micropython / 12541
98%

Build:
DEFAULT BRANCH: master
Ran 07 Feb 2020 12:34AM UTC
Jobs 1
Files 270
Run time 36s
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
12541

push

travis-ci

dpgeorge
zephyr: Enable littlefs.

Enables the littlefs (v1 and v2) filesystems in the zephyr port.

Example usage with the internal flash on the reel_board or the
rv32m1_vega_ri5cy board:

import os
from zephyr import FlashArea
bdev = FlashArea(FlashArea.STORAGE, 4096)
os.VfsLfs2.mkfs(bdev)
os.mount(bdev, '/flash')
with open('/flash/hello.txt','w') as f:
    f.write('Hello world')
print(open('/flash/hello.txt').read())

Things get a little trickier with the frdm_k64f due to the micropython
application spilling into the default flash storage partition defined
for this board. The zephyr build system doesn't enforce the flash
partitioning when mcuboot is not enabled (which it is not for
micropython). For now we can demonstrate that the littlefs filesystem
works on frdm_k64f by constructing the FlashArea block device on the
mcuboot scratch partition instead of the storage partition. Do this by
replacing the FlashArea.STORAGE constant above with the value 4.

16418 of 16745 relevant lines covered (98.05%)

409655.34 hits per line

Jobs
ID Job ID Ran Files Coverage
3 12541.3 (NAME="unix coverage build and tests") 07 Feb 2020 12:34AM UTC 0
98.05
Travis Job 12541.3
Source Files on build 12541
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #12541
  • 7a5752a7 on github
  • Prev Build on master (#12533)
  • Next Build on master (#12545)
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