Quality RTOS & Embedded Software

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


Loading

Cortex-M3 MPU port is raw (compile error)

Posted by JBlackArty on March 26, 2012
Authors of Cortex-M3 MPU port, did you tried compile it with configUSE_MUTEXES = 1 ?

port.c: In function 'MPU_xQueueCreateMutex':
port.c:973:3: error: too few arguments to function 'xQueueCreateMutex'
\FreeRTOS\include/queue.h:1227:14: note: declared here

RE: Cortex-M3 MPU port is raw (compile error)

Posted by Richard on March 26, 2012
Thank you for pointing this out. This issue will have been introduced in the latest FreeRTOS release which had some internal (not visible to end users) changes to better support the FreeRTOS+Trace tool. I will fix it.

Regards.

RE: Cortex-M3 MPU port is raw (compile error)

Posted by JBlackArty on March 27, 2012
Seems like you didn't tested it properly. I'm afraid using it :)

RE: Cortex-M3 MPU port is raw (compile error)

Posted by JBlackArty on March 27, 2012
configUSE_COUNTING_SEMAPHORES = 1

port.c: In function 'MPU_xQueueCreateCountingSemaphore':
port.c:986:13: error: expected expression before 'xQueueHandle'


Seems like you created MPU port by highspeed copypastying without basic verify against compilation even.

RE: Cortex-M3 MPU port is raw (compile error)

Posted by Richard on March 27, 2012
The MPU port was fully tested when it was created. The reason you are seeing these problems is mentioned in post two in this thread - and relates to changes to the prototype of the queue create function in the last release.

Regards.

RE: Cortex-M3 MPU port is raw (compile error)

Posted by JBlackArty on March 28, 2012
Ok. I misunderstanded past tense of "This issue will have been introduced...".


[ 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