Cortex-M3 MPU port is raw (compile error)

anonymous wrote on Monday, 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

rtel wrote on Monday, 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.

anonymous wrote on Tuesday, March 27, 2012:

Seems like you didn’t tested it properly. I’m afraid using it :slight_smile:

anonymous wrote on Tuesday, 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.

rtel wrote on Tuesday, 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.

anonymous wrote on Wednesday, March 28, 2012:

Ok. I misunderstanded past tense of “This issue will have been introduced…”.