Resource usage
The embedded file system emFile has been specifically designed for resource-constrained devices.
Overview
emFile has been designed to fit many kinds of embedded design requirements. Several features can be excluded from a build to get a minimal system that can efficiently access any storage device. In the following section the memory usage of typical 16- and 32-bit embedded systems is listed.
Please note that the values shown below are approximate values and features selected can influence the final size. For example if FAT32 is deactivated in the code build, the format function gets smaller because the 32 bit specific part of format is not added into the compilation. This minimal configuration supports FAT12/16, but has no media format features, no directory support, no free disk space function and only one file can be opened at a time.
Memory requirements for 32-bit CPUs
The file system was compiled for a Cortex-M4 CPU and configured to use the MMC/SD device driver.
ROM [Bytes] | RAM [Bytes] | |
---|---|---|
Minimal file system | 9200 | 1250 |
MMC/SD driver | +3700 | 30 |
Additional support for: | ||
Directory | +1100 | 0 |
(Auto) format | +2200 | 0 |
Disk information | +150 | 0 |
FAT32 | +200 | 0 |
Memory requirements for 16-bit CPUs
The file system was compiled for an MSP430 CPU and configured to use the MMC/SD device driver.
ROM [Bytes] | RAM [Bytes] | |
---|---|---|
Minimal file system | 13000 | 1250 |
MMC/SD driver | +5100 | 30 |
Additional support for: | ||
Directory | +2100 | 0 |
(Auto) format | +3600 | 0 |
Disk information | +100 | 0 |
FAT32 | +300 | 0 |