Jus GoodFun wrote:
> 
> I develop in 'C' within the Windows version of the Eclipse
> Environement producing embedded systems focused on the Motorola
> ColdFire Processors specifically the MCF5282.
> 
> The target operating system is The uC/OS which is a preemptive
> multitasking RTOS.
> 

You will probably need to start with the preprocessed source and 
implement your own OS support files. The SQLite core supports unix, 
windows, and OS2. You will have to write your own support modules for 
uC/OS.

You can get the preprocessed source files at 
http://www.sqlite.org/sqlite-source-3_5_7.zip You should probably start 
by looking at the source files os.h and mutex.h

If you compile the amalgamation with SQLITE_MUTEX_APPDEF defined, then 
the builtin mutex code for all the supported OS's are disabled, and you 
will have to supply suitable functions for SQLite to call. If you don't 
need mutual exclusion (i.e. you are writing multithreaded code), then 
you can define SQLITE_MUTEX_NOOP to included a set of macros that 
effectively remove all mutex calls from SQLite.

HTH
Dennis Cote

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to