2012-04-02 10:59:00 +02:00
|
|
|
/* ----------------------------------------------------------------------------
|
2012-04-28 09:46:35 +02:00
|
|
|
* TWI (I2C) : exports
|
|
|
|
*
|
|
|
|
* Code specific to different development boards is used by modifying a
|
|
|
|
* variable in the makefile.
|
2012-04-02 10:59:00 +02:00
|
|
|
* ----------------------------------------------------------------------------
|
|
|
|
* Copyright (c) 2012 Ben Blazak <benblazak.dev@gmail.com>
|
|
|
|
* Released under The MIT License (MIT) (see "license.md")
|
|
|
|
* Project located at <https://github.com/benblazak/ergodox-firmware>
|
|
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
|
|
|
|
|
2012-04-28 10:23:51 +02:00
|
|
|
#undef _str
|
|
|
|
#undef _expstr
|
|
|
|
#undef _inc
|
|
|
|
#define _str(s) #s // stringify
|
|
|
|
#define _expstr(s) _str(s) // expand -> stringify
|
2012-04-29 08:40:00 +02:00
|
|
|
#define _inc _expstr(twi/MAKEFILE_BOARD.h) // inc(lude)
|
2012-04-28 10:23:51 +02:00
|
|
|
#include _inc
|
|
|
|
#undef _str
|
|
|
|
#undef _expstr
|
|
|
|
#undef _inc
|
2012-04-02 10:59:00 +02:00
|
|
|
|