Quality RTOS & Embedded Software

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


Loading

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.

Regards.

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