0

I am trying to port SQLite to uCOS RTOS running in STM324xG_EVAL board. I am using micrium File system for making RAM based file system used by SQLite. I have tried with different build configurations and used sqlite3_config API to define different memory regions like heap, scratch and page memory. I am able to initialize (sqlite3_initialize) and open(sqlite3_open) DB. But when I am trying to create tables(sqlite3_exec), I am getting errors like "journal file not found", "out of memory". What may be the issue

Thanks, Shijo Thomas

  • You might already be doing so, but one thing to note: if you want to use certain of the `SQLITE_OMIT_xxxx` options to control which features are built in to the binary, you must be working from the "full source", not the single-file amalgamation (see **Building the Amalgamation** on [this page](https://www.sqlite.org/howtocompile.html)). – TripeHound Jun 29 '15 at 15:35
  • Thanks for your comment. – Shijo Thomas Jul 01 '15 at 11:38

0 Answers0