Adding older Typedef to True studio
Hope someone can help me here .
I am trying to add the following typedef implementation into truestudio, because quite a lot of my older code was built in coocox and i would like to re use it with Attolic. The Problem i am experiencing is that u8,u16 and u32 typedefs are not supported, also i noticed if a uint8_t type is used in a H file the compiler also don recognize the variable , but it only recognizes the standard int and char types in the H files .
typedef long unsigned int u32;
typedef short unsigned int u16;
typedef unsigned char u8;
i added the above to the default system file _default_types.h ,but this did not solve the problem either .
Has anyone looked at this before ?