The compiler fails with "Data types are not defined! Please check compiler definition."
C compilers for embedded targets often don't have a standard representation for certain data types (e.g. int
can be 16-bit or 32-bit). The header file compiler.h defines data types (via typedef
) that are used in all CANpie sources. The compiler type and version is evaluated via a pre-defined symbol. When you get this error message, your compiler/version is not recognized in the compiler.h file, so you have to adapt it to your compiler.