Quantcast
Channel: Keil Discussion Forum RSS Feed
Viewing all articles
Browse latest Browse all 3049

ARM: osPoolDef instead of _declare_box in a typedef struct

$
0
0
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

Viewing all articles
Browse latest Browse all 3049

Trending Articles