Friedrich-Alexander-Universität Erlangen-Nürnberg  /   Technische Fakultät  /   Department Informatik

 

Check

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

◆ CHECK_ENUM_SIZE

#define CHECK_ENUM_SIZE (   VAR,
  LEN 
)

Aborts compilation if the size of VAR is not euqal LEN

◆ F_CPU

#define F_CPU

◆ STR

#define STR (   s)

◆ XSTR

#define XSTR (   s)