SPiCboard
Check compiler settings. More...
Files | |
file | check.h |
Macros | |
#define | XSTR(s) |
#define | STR(s) |
#define | F_CPU |
#define | CHECK_ENUM_SIZE(VAR, LEN) |
Detailed Description
Check compiler settings.
Since GCC offers a bunch of different compiler settings, this header tries to help detecting possible bugs (during compile time) which would lead to incompatibility with the provided libspicboard.
Macro Definition Documentation
#define CHECK_ENUM_SIZE | ( | VAR, | |
LEN | |||
) |
Aborts compilation if the size of VAR is not euqal LEN
#define F_CPU |
#define STR | ( | s | ) |
#define XSTR | ( | s | ) |