APPLICATION DESIGN
The ultimate goal of the application is to verify the usability
of SQLite database on μC/OS-II. This application tests the
common functions, including the commands of create
(construction of a table), insert, delete, update and so on, but
not all the functions in the database are tested. The application
also checks the availability of μC / FS.
This design achieves the above functions with the following
methods: firstly the user’s command is received, secondly the
type of the command is determined according to the first string,
thirdly an appropriate function according to this type of
command is called to process this command. If the command is
about file operations, the corresponding function in μC / FS
will be called, and if a database operation, a function in SQLite
will be called. And if an error happens, the appropriate
information will be output.