Minimum hardware specification to run SQLITE in an Embedded System/Microcontroller

試著忘記壹切 提交于 2019-11-30 16:11:10

问题


I want to run sqlite in an embedded application. What's the bare minimum requirement to be able to run sqlite for maintaining a database? I'm looking at implementing the R*tree for spatial searches. It would be helpful if I could get an explanation justifying the requirements.
Would a cortex M0/cortex M3 with with about 32kb of ram be enough? How much flash memory will i need?
I'm looking at storing the database itself on an SD card.


回答1:


From About SQLite

...the size of the SQLite library can be reduced below 300KiB. SQLite can also be made to run in minimal stack space (4KiB) and very little heap (100KiB)...



来源:https://stackoverflow.com/questions/28493309/minimum-hardware-specification-to-run-sqlite-in-an-embedded-system-microcontroll

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!