What is a open source data store for bare metal Cortex M3 without OS

倾然丶 夕夏残阳落幕 提交于 2019-12-04 23:59:10

问题


I am looking for suggestions for a data store written in C that will compile for ARM Cortex M3 without any operating system.

I want it to be:

  • written in C
  • preferably free and/or open source
  • able to be compiled with GCC
  • works on bare metal processor without operating system or file system support

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.)

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).


回答1:


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.



来源:https://stackoverflow.com/questions/11604902/what-is-a-open-source-data-store-for-bare-metal-cortex-m3-without-os

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!