Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training




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 ]    [ Sitemap ]    [ ]




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

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

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

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

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists