Coder Social home page Coder Social logo

sqlite移植stm32讨论 about rt-thread HOT 11 CLOSED

rt-thread avatar rt-thread commented on May 18, 2024
sqlite移植stm32讨论

from rt-thread.

Comments (11)

geniusgogo avatar geniusgogo commented on May 18, 2024

没看明白你的疑问是啥,首先你看到的一个sqlite的移植,是在哪里看到的?
RT-Thread已经有SQLite了,你是否已经用起来了?
SQLite这种纯软件组件和平台无关,当然,要考虑资源是否够组件使用。
STM32上对于SQLite来说资源不多,所以建议你多关注裁剪之类的。

在 2013年12月25日 下午8:04,qd213618 [email protected]写道:

看到一个sqlite的移植,但是搞不懂到底是怎么移植过去的,我的理解是直接把sqlite3.c文件放在目录里,编译掉,然后再调用finish的命令行,但是实际上编译sqlite3.c的时候遇到很多问题,所以猜想做着不是这么做的,但是又不清楚怎么弄,作者实在搞得太简洁了,初学者根本看不懂的说。。。。。求助个!


Reply to this email directly or view it on GitHubhttps://github.com//issues/222
.

from rt-thread.

rogerz avatar rogerz commented on May 18, 2024

这个难道不应该去邮件列表或者论坛里提吗?

from rt-thread.

qd213618 avatar qd213618 commented on May 18, 2024

就是你的移植啊,大哥,就想找你问问题呢!rtt已经有了?怎么用啊?有没有详细的教程,我想在stm32f103上跑,不晓得应该怎么做,求助

在 2013年12月25日 下午8:10,geniusgogo [email protected]写道:

没看明白你的疑问是啥,首先你看到的一个sqlite的移植,是在哪里看到的?
RT-Thread已经有SQLite了,你是否已经用起来了?
SQLite这种纯软件组件和平台无关,当然,要考虑资源是否够组件使用。
STM32上对于SQLite来说资源不多,所以建议你多关注裁剪之类的。

在 2013年12月25日 下午8:04,qd213618 [email protected]写道:

看到一个sqlite的移植,但是搞不懂到底是怎么移植过去的,我的理解是直接把sqlite3.c文件放在目录里,编译掉,然后再调用finish的命令行,但是实际上编译sqlite3.c的时候遇到很多问题,所以猜想做着不是这么做的,但是又不清楚怎么弄,作者实在搞得太简洁了,初学者根本看不懂的说。。。。。求助个!


Reply to this email directly or view it on GitHub<
https://github.com/RT-Thread/rt-thread/issues/222>
.


Reply to this email directly or view it on GitHubhttps://github.com//issues/222#issuecomment-31198162
.

from rt-thread.

qd213618 avatar qd213618 commented on May 18, 2024

……那么这里是什么,邮件列表还真没怎么用,也不晓得活跃不活跃

2013/12/25 Rogerz Zhang [email protected]

这个难道不应该去邮件列表或者论坛里提吗?


Reply to this email directly or view it on GitHubhttps://github.com//issues/222#issuecomment-31198165
.

from rt-thread.

qd213618 avatar qd213618 commented on May 18, 2024

其实还有个问题就是不晓得sqlite内存占用问题如何,驻留内存的话会消耗多少内存?我片内就64k,不晓得够用不够?
此外真心没看明白geniusgogo做的那个移植和那个移植说明是什么情况,是否能提供个工程文件或者是给个源码看看怎么运行这玩意?sqlite3.c和.h不要放进工程么?我现在放进工程以后编译就出错

from rt-thread.

aozima avatar aozima commented on May 18, 2024

103建议放弃。

在 2013年12月25日 下午8:19,qd213618 [email protected]写道:

其实还有个问题就是不晓得sqlite内存占用问题如何,驻留内存的话会消耗多少内存?我片内就64k,不晓得够用不够?

此外真心没看明白geniusgogo做的那个移植和那个移植说明是什么情况,是否能提供个工程文件或者是给个源码看看怎么运行这玩意?sqlite3.c和.h不要放进工程么?我现在放进工程以后编译就出错


Reply to this email directly or view it on GitHubhttps://github.com//issues/222#issuecomment-31198280
.

吴洋勇

from rt-thread.

geniusgogo avatar geniusgogo commented on May 18, 2024

http://www.rt-thread.org/node/36
http://www.rt-thread.org/phpBB3/topic3196.html
http://www.rt-thread.org/phpBB3/topic3289.html

在 2013年12月25日 下午8:21,aozima [email protected]写道:

103建议放弃。

在 2013年12月25日 下午8:19,qd213618 [email protected]写道:

其实还有个问题就是不晓得sqlite内存占用问题如何,驻留内存的话会消耗多少内存?我片内就64k,不晓得够用不够?

此外真心没看明白geniusgogo做的那个移植和那个移植说明是什么情况,是否能提供个工程文件或者是给个源码看看怎么运行这玩意?sqlite3.c和.h不要放进工程么?我现在放进工程以后编译就出错


Reply to this email directly or view it on GitHub<
https://github.com/RT-Thread/rt-thread/issues/222#issuecomment-31198280>
.

吴洋勇


Reply to this email directly or view it on GitHubhttps://github.com//issues/222#issuecomment-31198305
.

from rt-thread.

qd213618 avatar qd213618 commented on May 18, 2024

额,,我就想测试一下看看行不行,就是这个移植贴看不太明白……
你这里面没有提供工程文件是吧,最后用的是哪几个文件啊?我需要编译哪几个文件?按我的理解是SQLitelib里面的东西吧?[image:
内嵌图片 1]这几个都要放么?直接加入到工程里?都编译掉?然后改下rtconfig.h,再就是把test10放到工程里,这样finish就能调用test10了?我现在遇到的问题是sqlite3.c编译通不过,貌似有几个EINTR
的错误,还有就是几个函数错误,我想知不是要再包含进几个头啊?这里不是全的代码么?我用的keil,求指导

在 2013年12月25日 下午8:37,geniusgogo [email protected]写道:

http://www.rt-thread.org/node/36
http://www.rt-thread.org/phpBB3/topic3196.html
http://www.rt-thread.org/phpBB3/topic3289.html

在 2013年12月25日 下午8:21,aozima [email protected]写道:

103建议放弃。

在 2013年12月25日 下午8:19,qd213618 [email protected]写道:

其实还有个问题就是不晓得sqlite内存占用问题如何,驻留内存的话会消耗多少内存?我片内就64k,不晓得够用不够?

此外真心没看明白geniusgogo做的那个移植和那个移植说明是什么情况,是否能提供个工程文件或者是给个源码看看怎么运行这玩意?sqlite3.c和.h不要放进工程么?我现在放进工程以后编译就出错


Reply to this email directly or view it on GitHub<
https://github.com/RT-Thread/rt-thread/issues/222#issuecomment-31198280>

.

吴洋勇


Reply to this email directly or view it on GitHub<
https://github.com/RT-Thread/rt-thread/issues/222#issuecomment-31198305>
.


Reply to this email directly or view it on GitHubhttps://github.com//issues/222#issuecomment-31198558
.

from rt-thread.

geniusgogo avatar geniusgogo commented on May 18, 2024

只要在rtconfig.h定义那个宏就可以了,论坛开贴,或者邮件列表,谢谢……
在 2013-12-25 下午8:45,"qd213618" [email protected]写道:

额,,我就想测试一下看看行不行,就是这个移植贴看不太明白……
你这里面没有提供工程文件是吧,最后用的是哪几个文件啊?我需要编译哪几个文件?按我的理解是SQLitelib里面的东西吧?[image:
内嵌图片
1]这几个都要放么?直接加入到工程里?都编译掉?然后改下rtconfig.h,再就是把test10放到工程里,这样finish就能调用test10了?我现在遇到的问题是sqlite3.c编译通不过,貌似有几个EINTR

的错误,还有就是几个函数错误,我想知不是要再包含进几个头啊?这里不是全的代码么?我用的keil,求指导

在 2013年12月25日 下午8:37,geniusgogo [email protected]写道:

http://www.rt-thread.org/node/36
http://www.rt-thread.org/phpBB3/topic3196.html
http://www.rt-thread.org/phpBB3/topic3289.html

在 2013年12月25日 下午8:21,aozima [email protected]写道:

103建议放弃。

在 2013年12月25日 下午8:19,qd213618 [email protected]写道:

其实还有个问题就是不晓得sqlite内存占用问题如何,驻留内存的话会消耗多少内存?我片内就64k,不晓得够用不够?

此外真心没看明白geniusgogo做的那个移植和那个移植说明是什么情况,是否能提供个工程文件或者是给个源码看看怎么运行这玩意?sqlite3.c和.h不要放进工程么?我现在放进工程以后编译就出错


Reply to this email directly or view it on GitHub<

https://github.com/RT-Thread/rt-thread/issues/222#issuecomment-31198280>

.

吴洋勇


Reply to this email directly or view it on GitHub<
https://github.com/RT-Thread/rt-thread/issues/222#issuecomment-31198305>

.


Reply to this email directly or view it on GitHub<
https://github.com/RT-Thread/rt-thread/issues/222#issuecomment-31198558>
.


Reply to this email directly or view it on GitHubhttps://github.com//issues/222#issuecomment-31198646
.

from rt-thread.

qd213618 avatar qd213618 commented on May 18, 2024

论坛开贴了。。。。。

在 2013年12月25日 下午8:49,geniusgogo [email protected]写道:

只要在rtconfig.h定义那个宏就可以了,论坛开贴,或者邮件列表,谢谢……
在 2013-12-25 下午8:45,"qd213618" [email protected]写道:

额,,我就想测试一下看看行不行,就是这个移植贴看不太明白……
你这里面没有提供工程文件是吧,最后用的是哪几个文件啊?我需要编译哪几个文件?按我的理解是SQLitelib里面的东西吧?[image:
内嵌图片

1]这几个都要放么?直接加入到工程里?都编译掉?然后改下rtconfig.h,再就是把test10放到工程里,这样finish就能调用test10了?我现在遇到的问题是sqlite3.c编译通不过,貌似有几个EINTR

的错误,还有就是几个函数错误,我想知不是要再包含进几个头啊?这里不是全的代码么?我用的keil,求指导

在 2013年12月25日 下午8:37,geniusgogo [email protected]写道:

http://www.rt-thread.org/node/36
http://www.rt-thread.org/phpBB3/topic3196.html
http://www.rt-thread.org/phpBB3/topic3289.html

在 2013年12月25日 下午8:21,aozima [email protected]写道:

103建议放弃。

在 2013年12月25日 下午8:19,qd213618 [email protected]写道:

其实还有个问题就是不晓得sqlite内存占用问题如何,驻留内存的话会消耗多少内存?我片内就64k,不晓得够用不够?

此外真心没看明白geniusgogo做的那个移植和那个移植说明是什么情况,是否能提供个工程文件或者是给个源码看看怎么运行这玩意?sqlite3.c和.h不要放进工程么?我现在放进工程以后编译就出错


Reply to this email directly or view it on GitHub<

https://github.com/RT-Thread/rt-thread/issues/222#issuecomment-31198280>

.

吴洋勇


Reply to this email directly or view it on GitHub<

https://github.com/RT-Thread/rt-thread/issues/222#issuecomment-31198305>

.


Reply to this email directly or view it on GitHub<
https://github.com/RT-Thread/rt-thread/issues/222#issuecomment-31198558>

.


Reply to this email directly or view it on GitHub<
https://github.com/RT-Thread/rt-thread/issues/222#issuecomment-31198646>
.


Reply to this email directly or view it on GitHubhttps://github.com//issues/222#issuecomment-31198707
.

from rt-thread.

grissiom avatar grissiom commented on May 18, 2024

或许可以 close 了

from rt-thread.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.