I easily found the definition which comes from the config tool:
#define OS_MAX_PRIORITIES 5
looks quite normal to me.
Here the line in FreeRTOSConfig.h:
#define configMAX_PRIORITIES ( ( unsigned portBASE_TYPE ) OS_MAX_PRIORITIES )
Ok, I am not a C language guru but I learned that better but paranthesis around everything, the tools (preprocessor) arn’t that good. I will try.
Doesn’t help, sorry:
So, here the new line:
#define configMAX_PRIORITIES ( ( unsigned portBASE_TYPE ) ( OS_MAX_PRIORITIES ) )
But omitting the cast do the job:
#define configMAX_PRIORITIES ( OS_MAX_PRIORITIES )
works now. Ok, is this a solution or only a hack? I think, the guy who put in the cast knows why.
ok, will check this in the meantime maybe some troubles can be solved this way.
Now I get other errors (business as usual), but it is just a missing file. Maybe the versioning issue, I think I can solve this easily.
And give new errors a chance …
Thanks all for helping.