FreeRTOS + newlib

chrismorgan wrote on Sunday, June 02, 2013:

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

rtel wrote on Sunday, June 02, 2013:

Please add a link to the same post in the SourceForge feature request tracker.

Regards.

chrismorgan wrote on Sunday, June 02, 2013:

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

davedoors wrote on Sunday, June 02, 2013:

Google newlib-nano and you will find something. I think its also included in the official Cortex-M GCC distributed from Launchpad.com.

chrismorgan wrote on Sunday, June 02, 2013:

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

rtel wrote on Sunday, June 02, 2013:

Please post the same link you have already posted here to the feature request tracker, rather than posting a patch.

Thanks and regards.

chrismorgan wrote on Sunday, June 02, 2013:

Hi Richard.

Added to the feature request tracker.

Chris

carlnorum wrote on Thursday, June 06, 2013:

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.