How to know which board is being compiled to be used with an #ifdef

Hi!

I need to include a specific .h for each board. How can I know, in compiling time, which board is being compiled?

Something like:

#ifdef BOARD_A
#include "board-a.h"
#endif

Thanks!

Pedro.

Parents Reply Children
No Data
Related