Skip to content

correa/mbed-flashfilesystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FLASH File System for mbed 6

A file system which can mount, read, and enumerate a file system image which has been appended to the compiled .bin code file before being uploaded to the mbed device.

This file system can mount, read, and enumerate a file system image which has been appended to the compiled .bin code file before being uploaded to the mbed device. I wrote a utility called fsbld to create images that can be used with this file system. This GitHub repository contains the sources for that utility.

To get the file system image onto the mbed device, there are 2 options:

You can concatenate your binary from the compiler with the file system image binary.

On *nix this can be done with the cat command. For example:

cat Test_LPC1768.bin FileImage.bin >/Volumes/MBED/test.bin

On Windows this can be done with the copy command. For example:

copy Test_LPC1768.bin + FileImage.bin e:\test.bin

Or you can include the generated header file and initialize the filesystem with:

static FlashFileSystem flash("flash", roFlashDrive);

Original code.

This repository is a port to mbed 6 from original author Adam Green for mbed 5 on os.mbed.com

About

Flash readonly filesystem for Mbed 6

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published