• Typedef __xxx struct? Defines?
    Hi guys, I have a piece of code that I copied from another source but I don't understand what it means and the Keil compiler doesn't either. The code looks like that: #if _MSC_VER >= 1000...
  • Typedef __xxx struct? Defines?
    Hi guys, I have a piece of code that I copied from another source but I don't understand what it means and the Keil compiler doesn't either. The code looks like that: #if _MSC_VER >= 1000...
  • osPoolDef instead of _declare_box in a typedef struct
    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...
  • osPoolDef instead of _declare_box in a typedef struct
    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...
  • Circular Typedefs
    Structs can easily have circular references: struct ATag { struct BTag* pB; }; struct BTag { struct ATag* pA; }; Can the same thing be done with typedefs? typedef struct { BType* pB; } AType;...