什么是裸机的Cortex M3一个开源的数据存储,而不OS [英] What is a open source data store for bare metal Cortex M3 without OS
问题描述
我要寻找的C语言编写的一个数据存储的建议,会为的ARM Cortex M3编译无需任何操作系统。
I am looking for suggestions for a data store written in C that will compile for ARM Cortex M3 without any operating system.
我希望它是:
- C语言编写的
- preferably免费和/或开源
- 能与GCC编译
- 在裸机处理器的工作没有操作系统或文件系统的支持
有可以是SQL或没有。我想是这样的MongoDB是用JSON兼容(即纯C语言字符缓冲区可以通过JSON序列化。)
It can be SQL or not. I would like something like MongoDB that is compatible with with JSON (i.e. can serialize via JSON in plain C char buffers.)
数据存储的需求将是从固定的内存分配的管理RAM中的数据。没有动态分配(即不malloc的)。
The needs of the datastore would be to manage data in RAM from a fixed allocation of memory. No "dynamic" allocation (i.e. no malloc).
推荐答案
sqlite3的是一个很好的竞争者,但如果你只是寻找一个小而简单的键/值存储的,你也应该仰望的 GDBM 。
SQLite3 is a very good contender, but if you a just looking for a small and simple key/value store the you should also look up gdbm.
这篇关于什么是裸机的Cortex M3一个开源的数据存储,而不OS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!