Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Loading

FreeRTOS + newlib

Posted by Chris Morgan on June 2, 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

RE: FreeRTOS + newlib

Posted by Richard on June 2, 2013
Please add a link to the same post in the SourceForge feature request tracker.

[Personally I try and avoid using Newlib at all cost as it is, in my humble opinion, not suited to the majority of microcontroller work. If you are using ARM architectures then ARM provide a micro lib for GCC now, which is always going to be preferable. However, as FreeRTOS gets used on larger and larger processors adding this functionality becomes more appropriate]

Regards.

RE: FreeRTOS + newlib

Posted by Chris Morgan on June 2, 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

RE: FreeRTOS + newlib

Posted by Dave on June 2, 2013
Google newlib-nano and you will find something. I think its also included in the official Cortex-M GCC distributed from Launchpad.com.

RE: FreeRTOS + newlib

Posted by Chris Morgan on June 2, 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

RE: FreeRTOS + newlib

Posted by Richard on June 2, 2013
Please post the same link you have already posted here to the feature request tracker, rather than posting a patch.

Thanks and regards.

RE: FreeRTOS + newlib

Posted by Chris Morgan on June 2, 2013
Hi Richard.

Added to the feature request tracker.

Chris

RE: FreeRTOS + newlib

Posted by Carl Norum on June 6, 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.


[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]


Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner