Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

c

datastore

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

like image 306
Josh Petitt Avatar asked Jul 22 '12 23:07

Josh Petitt


1 Answers

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.

like image 150
Some programmer dude Avatar answered Oct 16 '22 06:10

Some programmer dude