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


Free RTOS incompatible with reentrant newlib?

Posted by Tenacious Techhunter on August 14, 2011
While I know this is similar to my other thread, I really want that thread to focus on which C Standard Libraries people are using, and why. I'd like to focus here on the compatibility issue I found in a web search with reentrant newlib and Yagarto. Is this an incompatibility that prevents Yagarto from shipping with fully reentrant newlib to this day? Is it not possible to use a fully reentrant C Standard Library with Free RTOS?

An example of the issue in question is here: https://sourceforge.net/projects/freertos/forums/forum/382005/topic/3234440

RE: Free RTOS incompatible with reentrant newlib?

Posted by Richard on August 14, 2011
I don't think the link you provided has anything to do with reentrancy as such, it is more to do with the application dependent functions that newlib expects you to provide yourself. With reference to reentrancy, I was referring more to newlibs use of struct _reent, as described here: http://vmlinux.org/crash/mirror/www.objsw.com/docs/libc_127.html

If you search this forum, or the web, you will (maybe) find some modifications to FreeRTOS done by a third party to add the necessary pointer into the FreeRTOS task TCB.


RE: Free RTOS incompatible with reentrant newlib?

Posted by Tenacious Techhunter on August 14, 2011
Your answers are a bit too subtle for me. Are you saying that standard FreeRTOS is incompatible with standard reentrant newlib? Are there other fully reentrant C Standard Libraries that don’t have this problem?

[ 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