FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [August 2016 Threads]
Hello:
I just switched over my code from 8.0.0 (compiled OK) to 9.0.0, where I am getting an error that I don't understand from the line number it's reporting.
I am using the ARM_CM3 version of portmacro.h in IAR EWARM. The compile error says this:
Error[Pe018]: expected a ")" C:UsersgrrDocumentsIAR Embedded WorkbenchFreeRTOSv9.0.0FreeRTOSSourceportableIARARM_CM3portmacro.h 144
I don't see anything wrong with that line, and the corresponding define in the FreeRTOS config looks OK, and it is compiling with 8.0.0.
Thanks for the assistance...
Line 144 is:
#if( configMAX_PRIORITIES > 32 )
so I'm going to guess the problem is with the definition of
configMAX_PRIORITIES in your FreeRTOSConfig.h file.
Ensure configMAX_PRIORITIES is just a number, without any casts.
Removing the cast fixed it. Worked Ok in 8.0.0. Thanks for your help !
.#define configMAXPRIORITIES ( ( unsigned portBASETYPE ) 5 )
Gary
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.