Hello Everyone,
I'm doing migration from RTX to CMSIS-RTOS following the apnt_264.
In the RTX case I declared a box inside a typedef struct as in the following code:
typedef struct mystruct_s { _declare_box(name_box, sizeof(type_t), QUEUE_SIZE); }mystruct_t;
and this compiles correctly.
In the CMSIS-RTOS case I substituted the previous code with this:
typedef struct mystruct_s { osPoolDef (name_box, QUEUE_SIZE, type_t); }mystruct_t;
but it does not compile and I have the following message:
error: expected ';' at the end of declaration list
Do you know why it happens and how to solve it?
Regards Dario