Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问LPM与FAL有什么区别,应用场景有何不同? #3

Open
redocCheng opened this issue Feb 25, 2021 · 1 comment
Open

请问LPM与FAL有什么区别,应用场景有何不同? #3

redocCheng opened this issue Feb 25, 2021 · 1 comment
Assignees

Comments

@redocCheng
Copy link

No description provided.

@whj4674672
Copy link
Contributor

区别一:

FAL: 静态。这个静态体现在,你需要在 fal_cfg.h 去指定分区大小,这个一旦写好,在程序运行过程中将不可以在继续修改。
LPM:动态。动态体现在,你可以在程序执行过程中删除分区和创建分区。每次删除和创建都会在实际物理的存储设备上记录下你的分区信息,已确保断电保持。

FAL 占 ROM ,LPM 占 RAM。

区别二:

FAL:读写字符设备,读写大小是一个字符
LPM:读写块设备,每次读写都是一整个块

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants