在嵌入式系统/微控制器中运行SQLITE的最低硬件规范 [英] Minimum hardware specification to run SQLITE in an Embedded System/Microcontroller

查看:169
本文介绍了在嵌入式系统/微控制器中运行SQLITE的最低硬件规范的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在嵌入式应用程序中运行sqlite。
为了维护数据库,能够运行sqlite的最低要求是什么?我正在考虑实现用于空间搜索的R *树。如果我可以得出解释说明的要求,这将是有帮助的。

一个皮质M0 / cortex M3与大约32kb的ram是否足够?我需要多少闪存?

我正在将数据库本身存储在SD卡上。

解决方案

关于SQLite


... SQLite库的大小可以减少到300KiB以下。 SQLite
也可以在最小堆栈空间(4KiB)和非常小的
堆(100KiB)中运行...



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.

解决方案

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)...

这篇关于在嵌入式系统/微控制器中运行SQLITE的最低硬件规范的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆