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.
FLASH File System
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, you need to 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
Revisions of FlashFileSystem.cpp
Revision | Date | Message | Actions |
---|---|---|---|
2:ca35ecd2fae6 | 2015-04-05 | 2 options added: The ability to include a header file containing the binary file system image built with fsbld and the ability to set the system flash size. | File Diff Annotate |
1:a3cb118c4f6e | 2011-08-03 | Changed license. | File Diff Annotate |
0:5ea6e74c35f7 | 2011-07-29 | Initial version of FLASH File System | File Diff Annotate |