FreeRTOS + newlib
Wanted to bring this thread up again, http://sourceware.org/ml/newlib/2008/msg00384.html, because I spent several hours debugging the issue. Even though I’m pretty well versed in this stuff it took a lot of effort to get to the root cause.
Any interest in me submitting patches for this support, along with a configuration setting for newlib and maybe some documentation?
Chris
FreeRTOS + newlib
Please add a link to the same post in the SourceForge feature request tracker.
Regards.
FreeRTOS + newlib
Hi Richard.
Which micro lib are you referring to for gcc on arm? I’m using an stm32f1 part. I wasn’t aware that there was one.
Presuming I go the newlib route, should I just submit the patches to the patch tracker here on sourceforge?
Chris
FreeRTOS + newlib
Google newlib-nano and you will find something. I think its also included in the official Cortex-M GCC distributed from Launchpad.com.
FreeRTOS + newlib
Hi Dave.
It looks like Bin Cheng is submitting the patches to newlib mainline. I’m not sure how easy it would be for me to pull in newlib-nano but maybe I’ll look at it at some point. Given that newlib is pulling in the changes from newlib-nano maybe it makes more sense for FreeRTOS to have support for newlib?
Chris
FreeRTOS + newlib
Please post the same link you have already posted here to the feature request tracker, rather than posting a patch.
Thanks and regards.
FreeRTOS + newlib
Hi Richard.
Added to the feature request tracker.
Chris
FreeRTOS + newlib
I’m using newlib-nano (with some local patches to fix up thread safety in stdio). Note that newlib-nano has broken malloc locking, so you’ll want to fix that too, probably.
Check my recent posts to the newlib list for some context.