Quality RTOS & Embedded Software

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


Loading

Inlining with gcc 3.4.3

Posted by Jörg Krein on April 18, 2005
Hi,
I don't know if previous version of gcc behave different but
with newest WinAVR i can see warnings like:
task.h:922: warning: inlining failed in call to 'vTaskSwitchContext': function body not available



RE: Inlining with gcc 3.4.3

Posted by Richard on April 18, 2005
The inlining is a little optimistic. It only has an effect with one of the x86 ports (one of the original ports). Previously I doubt very much it actually got inlined anyway so it is probably only the generation of the warning that has changed.

However, I am using gcc V3.4.3 and do not see the warning. Are you using the files as downloaded?

To remove the warning you can add the line:

#define inline


at the bottom of the portmacro.h file you are using. This will #define away all the inlines without actually changing the compiler output.


Incidentally, V3.0.0 of FreeRTOS no longer uses the batch files to build the AVR demo. Improvements in the debug support within WinAVR means they are no longer required.

Regards.

RE: Inlining with gcc 3.4.3

Posted by Nobody/Anonymous on April 19, 2005
I use the -Winline option to see if my own inlines are working
I didn't use the batch files


[ 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