How to design Embedded database system by using stm32 ?
A database is only a table.
the question is only about saving the file at every adjustment.
Where will you save the file ?
Well. I want to save data in SD card with embedded database such as sqllite.
The answer ranges from easy to I.possible, depending on your definition of "database".
Is it possible to save with sqllite or mysql embedded database
SqlLite is not so light that it will fit in a uController. maybe you could find an OpenSql.
you would have to disassemble the file structure an mimic the SqlLite functionality.
A Database is a record based Table.
Every entry is the same length.
then append your new record to the end of the file.
Well said. Could you give some example to develop embedded database with stm32 microcontroller by opensql.
I cant do your work, did you look for an open SQL ?
how many elements in your database ?
How many entries ?
How much RAM do you have ?
How can you sort the table, if you don't have enough RAM ?
You have issues with such a small RAM footprint.
in my server code, I created a 6MByte scratch area to sort tables.
Yes and no, depending on your ability to port.
a few simple ways:
1) port your database of choice to stm32;
2) port your operating system of choice (Windows, unix or linux, etc.) to stm32 and run your database from inside.
whether ***you*** can get any of that done is entirely up to your skills and dedication.
Retrieving data ...