Quality RTOS & Embedded Software

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




Loading

Licensing and portmacro.h

Posted by Darren H on September 30, 2009
Hi,

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() ...

Thanks,
Darren.

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.

Regards.

RE: Licensing and portmacro.h

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

Darren.


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




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

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

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