# Reliance Edge
Reliance Edge is a small, portable, highly reliable power-fail safe file system
for resource-constrained embedded systems like microcontrollers. It is written
in C and provides a familiar POSIX-like file system API, making it easy to use
in your application; or an alternate minimalist API if your application has
simple storage needs. Reliance Edge is highly configurable and can be tuned to
the precise needs of your application.
## Getting Help
You will find this section later in our readme as well -- but we wanted to tell
you up front: TUXERA WANTS TO HEAR FROM YOU! Whether it's just to make comments
about the product, to suggest new features, or to tell us what you don't like --
reach out! All comments and inquiries can be directed to <[email protected]>.
## Documentation
The complete documentation for Reliance Edge is distributed separately. It
includes an API reference and detailed discussions of various aspects of using
Reliance Edge, including porting, building, configuring, and testing. This
complete documentation, called the _Developer's Guide_, can be obtained for free
from here:
<https://www.tuxera.com/products/reliance-edge/>
In addition to this README, see doc/release_notes.md for a list of updates
to Reliance Edge and a list of known issues. There is also a quick-start
guide in the doc/ directory that describes step-by-step how to compile
and run Reliance Edge in a simulated Windows environment.
## Why Use Reliance Edge?
Reliance Edge is ideal for small embedded systems with data storage
requirements, especially if there is a chance of sudden power loss or other
system failures. Compared to "raw" disk access, using a file system like
Reliance Edge removes the burden of tracking which sectors belong to which
objects, and allows data to be updated more reliably. Compared to the FAT file
system, using Reliance Edge eliminates the possibility that file system data
will be left in an inconsistent state, corrupting the disk; Reliance Edge does
not need a fsck/CHKDSK utility. Compared to journaling file systems, Reliance
Edge has less overhead and results in less storage media wear for longer device
lifetimes.
Reliance Edge uses a unique transactional model that not only prevents file
system corruption but also allows a set of changes to be made in an atomic "all
or nothing" fashion. This is very useful for applications that make sets of
interrelated changes. By using the features of Reliance Edge, a set of changes
can be incorporated into a single atomic transaction, which is committed in its
entirety or not at all even if interrupted by power loss; this means the
application does not need code to recover from partially-finished updates.
## Hardware
The typical hardware for Reliance Edge is a 32-bit microcontroller, but other
targets are possible. In its typical configurations, Reliance Edge needs at
least 4 KB to 5 KB of RAM, 11 to 18 KB of code space (on the ROM or NOR flash),
and 500 to 700 bytes of stack.
Reliance Edge is not designed for high-end embedded systems that run complicated
operating systems like Linux or Windows Embedded Compact. Embedded systems of
that variety are better served by other file systems, like Tuxera's
[Reliance Nitro](https://www.tuxera.com/products/reliance-nitro/).
## Getting Reliance Edge Working
Before you can use Reliance Edge, it must be ported and configured. At a
minimum, porting includes filling-in functions so that Reliance Edge can issue
commands to your storage medium; depending on your needs, other functions may
need to be filled in as well. These functions reside in a subdirectory in the
os/ directory; see os/stub/ for a blank set of functions. Configuring includes
creating a project directory (start by copying projects/newproj) and creating
the two configuration files (redconf.h/redconf.c) using the Reliance Edge
Configuration Utility (which has source code in the repository and prebuilt
binaries available from <[email protected]>).
These topics are covered in much greater detail in the _Developer's Guide_,
linked above.
## Using Reliance Edge
Using Reliance Edge is a simple matter of including the primary Reliance Edge
application header in your application (either include/redposix.h or
include/redfse.h) and compiling and linking against Reliance Edge binaries.
The Reliance Edge driver must be initialized before it is used (via the
red\_init() or RedFseInit() functions) and then volumes can be mounted and file
and directory functions invoked. The Reliance Edge API is documented in the
_Developer's Guide_ (linked above) and also via comments in the source code.
## Licensing
Reliance Edge is an open-source project licensed under the GNU General Public
License v2 (GPLv2). Businesses and individuals that for commercial or other
reasons cannot comply with the terms of the GPLv2 license must obtain a
commercial license before incorporating Reliance Edge into proprietary software
for distribution in any form. Visit <https://www.tuxera.com/products/reliance-edge/>
for more information. The commercial distribution also includes extra tests and
tools not distributed with the GPLv2 version.
See LICENSE.txt for the full license terms of this distribution of the product.
## Getting Help
If you need assistance using Reliance Edge, and you have already consulted the
_Developer's Guide_, contact <[email protected]>.
A community forum is also available to facilitate discussion of Reliance Edge
and allow users to get help from Tuxera and from each other: you can find it at
<https://www.datalight.com/forums/board/2/reliance-edge>.
## Contributing
Contributions to Reliance Edge are welcome. Our policy is that Tuxera US Inc
must own the copyright of all code incorporated into Reliance Edge; if
contributing a significant amount of code, you will be asked to file a copyright
assignment agreement. See CONTRIBUTING.txt for further details and contribution
guidelines.
To report bugs, please create a GitHub issue or contact <[email protected]>.
没有合适的资源?快使用搜索试试~ 我知道了~
用于微控制器 的事务性电源故障安全文件系统_C语言_代码_相关文件_下载
共267个文件
c:102个
h:98个
cpp:24个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 161 浏览量
2022-07-07
01:21:47
上传
评论
收藏 992KB ZIP 举报
温馨提示
Reliance Edge 是一种小型、便携、高度可靠的电源故障安全文件系统,适用于微控制器等资源受限的嵌入式系统。它是用 C 编写的,并提供了熟悉的类似 POSIX 的文件系统 API,使其易于在您的应用程序中使用;如果您的应用程序有简单的存储需求,则可以使用替代的极简 API。Reliance Edge 具有高度可配置性,可以根据您的应用程序的精确需求进行调整。 文档 Reliance Edge 的完整文档单独分发。它包括 API 参考和使用 Reliance Edge 的各个方面的详细讨论,包括移植、构建、配置和测试。这个完整的文档,称为开发者指南,可以从这里免费获得: https://www.tuxera.com/products/depend-edge/ 除了本自述文件之外,请参阅 doc/release_notes.md 以获取 Reliance Edge 的更新列表和已知问题的列表。 更多详情、使用方法,请下载后阅读README.md文件
资源推荐
资源详情
资源评论
收起资源包目录
用于微控制器 的事务性电源故障安全文件系统_C语言_代码_相关文件_下载
(267个子文件)
posix.c 258KB
core.c 91KB
inodedata.c 70KB
path.c 50KB
fsstress.c 48KB
osbdev.c 44KB
fuse.c 44KB
crc.c 41KB
printf.c 39KB
dir.c 39KB
volume.c 37KB
osbdev.c 33KB
mditer.c 33KB
inode.c 33KB
buffer.c 30KB
ibfse.c 25KB
fse.c 22KB
heap.c 20KB
getopt.c 19KB
math.c 19KB
imgbldwin.c 17KB
imgbldlinux.c 16KB
vfs.c 16KB
imapextern.c 15KB
imgbld.c 14KB
osbdev.c 14KB
atoi.c 13KB
ibposix.c 12KB
buffercmn.c 12KB
format.c 10KB
imap.c 10KB
osbdev.c 10KB
bdev.c 10KB
osbdev.c 9KB
string.c 9KB
memory.c 9KB
winfmt.c 9KB
linuxfmt.c 8KB
main.c 8KB
imapinline.c 7KB
blockio.c 6KB
fmtopt.c 6KB
osuidgid.c 5KB
toolcmn.c 5KB
rand.c 5KB
osuidgid.c 5KB
ftype.c 4KB
perm.c 4KB
ostimestamp.c 4KB
osuidgid.c 4KB
osuidgid.c 4KB
osuidgid.c 4KB
fsstress_main.c 4KB
osmutex.c 4KB
fsstress_main.c 3KB
stm32f4xx_it.c 3KB
ostimestamp.c 3KB
hooks.c 3KB
ostimestamp.c 3KB
ostimestamp.c 3KB
osmutex.c 3KB
osmutex.c 3KB
bitmap.c 3KB
osmutex.c 3KB
endian.c 3KB
malloc.c 3KB
osclock.c 3KB
osclock.c 2KB
osclock.c 2KB
osclock.c 2KB
osoutput.c 2KB
wintlcmn.c 2KB
osclock.c 2KB
ostask.c 2KB
sign.c 2KB
osassert.c 2KB
osoutput.c 2KB
imgbld_main.c 2KB
osassert.c 2KB
osassert.c 2KB
osassert.c 2KB
imgbld_main.c 2KB
namelen.c 2KB
osoutput.c 2KB
osoutput.c 2KB
osoutput.c 2KB
osassert.c 2KB
osoutput.c 2KB
ostask.c 2KB
ostask.c 2KB
ostask.c 2KB
ostask.c 1KB
ostimestamp.c 1KB
osmutex.c 1KB
redconf.c 625B
redconf.c 366B
redconf.c 363B
redconf.c 360B
redconf.c 114B
redconf.c 110B
共 267 条
- 1
- 2
- 3
资源评论
快撑死的鱼
- 粉丝: 1w+
- 资源: 9154
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功