Quality RTOS & Embedded Software

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


Licensing and portmacro.h

Posted by Darren H on September 30, 2009

Sorry for the silly question but are the macros in portmacro.h part of the API as far as the licensing GPL-exceptions are concerned?

I need to yield to a higher priority task after sending to a queue in an ISR. The example in xQueueSendFromISR () uses taskYIELD_FROM_ISR () but notes it's port-specific.

In the NIOS II port the correct macro seems to be portEND_SWITCHING_ISR () - but that's not part of the published API as far as I can tell. Though, as far as I can tell, neither was taskYIELD_FROM_ISR() ...


RE: Licensing and portmacro.h

Posted by Richard on September 30, 2009
There is a lot of inconsistency in the naming of the macro that performs that particular piece of functionality between the various ports. Please consider both to be part of the API - its not a problem.


RE: Licensing and portmacro.h

Posted by Darren H on September 30, 2009
Thanks for the clarification. I appreciate it!


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

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

Latest News

Version 10.1.0 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.


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


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