问题描述
我正在寻找一个小型libc,用于ARM7微控制器上的freertos嵌入式使用。
我看过newlib,但对我的需求来说有点太复杂了。 Newlib在
a函数中调用malloc()函数(例如printf()),这对于小型嵌入式实时系统来说是不利的。
I am looking for a small libc for embedded use with freertos on a ARM7 microcontroller.I have looked at newlib, but it is a bit too complex for my needs. Newlib calls malloc() ina number of functions (e.g. printf()), which is not good for small embedded realtime systems.
有没有人知道小巧便携的开源libc实现,将适合我的应用程序?
Does anyone know of a small, portable, open source libc implementation that will fit my application?
推荐答案
可能符合您的需求。尽管如此, 可能需要更多的真实世界测试。其作者在这里是。
PDCLib might fit your needs. It's still incomplete [broken link], though, and probably in need of a lot more real-world testing. Its author goes by DevSolar here on SO.
更新2012-11-01:截至2012-08-14,开发已由Owen Shepherd接管,其中包含一个和 [破碎链接,请使用] 。
update 2012-11-01: As of 2012-08-14, development has been taken over by Owen Shepherd, complete with a new homepage and bitbucket repository [broken link, use this one].
更新2015-10-31:专用网站似乎已经死了,但代码仍然可以找到。最后一次提交到该资料库发生在2014-11-24。
update 2015-10-31: The dedicated website seems to be dead, but the code can still be found on bitbucket. The last commit to that repository happened 2014-11-24.
更新2016-07-12:网站备份,DevSolar在2016-03-01开始重新提交。
update 2016-07-12: The website is back up, and DevSolar started committing again on 2016-03-01.
这篇关于嵌入式系统的小型libc的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!