Page 1 of 1

NIL OSAL multiply typedefs eventflags_t

Posted: Thu Nov 10, 2016 8:32 pm
by awygle
The NIL OSAL (osal.h) contains a typedef for the eventflags_t type, which has been moved into chtypes.h. This still works on the STM32 chips because the NIL typedef is for a uint32_t and that's what eventflags_t is for STM32, but it may not be for other ports and it's fragile if that type changes in the future.

The same code is in the RT OSAL but it's #if 0'd out.

Re: NIL OSAL multiply typedefs eventflags_t

Posted: Tue Nov 15, 2016 10:57 am
by Giovanni
Hi,

Fixed in trunk.

Giovanni