Quality RTOS & Embedded Software

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




Loading

Mistype in port.c for GCC/ARM_CM3_MPU

Posted by kpp43 on January 13, 2016

I am definitely newbie in the comunity and for this reason I am not sure I write this report to the right place.

I have found just small mistype on line 914 of the port.c for GCC/ARMCM3MPU of the trunk version, but it cause, that the code is not possible to be compiled. Find it below marked with FIXME.

~~~~

if ( configUSETRACEFACILITY == 1 )
UBaseType_t MPU_uxTaskGetSystemState( TaskStatus_t *pxTaskStatusArray, UBaseType_t uxArraySize, uint32_t *pulTotalRunTime )
{
UBaseType_t uxReturn;
BaseType_t xRunningPrivileged = prvRaisePrivilege();

	uxReturn = uxTaskGetSystemState( pxTaskStatusArray, uxArraySize, pulTotalRunTime );
	portRESET_PRIVILEGE( xRunningPrivileged );
	return xReturn; /* FIXME - should return uxReturn */
}
endif

~~~~

Regards

Kamil Pipek


Mistype in port.c for GCC/ARM_CM3_MPU

Posted by rtel on January 13, 2016

Oops. Thanks for taking the time to report this. Fixed, but not yet checked in.


[ 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