X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=boards%2Farduino-mega%2Fhw%2Fhw_ser.h;fp=boards%2Farduino-mega%2Fhw%2Fhw_ser.h;h=2489c433bb95a1819964a74e9904569537e38faa;hb=450741a2b0b851ba6f71cb6e87fd5f61fe311beb;hp=0000000000000000000000000000000000000000;hpb=fc82096bbc71c4197171bdfa33584df6b69038f6;p=bertos.git diff --git a/boards/arduino-mega/hw/hw_ser.h b/boards/arduino-mega/hw/hw_ser.h new file mode 100644 index 00000000..2489c433 --- /dev/null +++ b/boards/arduino-mega/hw/hw_ser.h @@ -0,0 +1,53 @@ +/** + * \file + * + * + * \brief Serial hardware-specific definitions + * + * \version $Id$ + * + * \author Daniele Basile + */ + +#ifndef HW_SER_H +#define HW_SER_H + +#include "cfg/cfg_ser.h" + +#if CONFIG_SER_STROBE + #warning FIXME: this is an example implementation, you must implement it + + #define SER_STROBE_INIT do { /* implement me */ } while (0) + #define SER_STROBE_ON do { /* implement me */ } while (0) + #define SER_STROBE_OFF do { /* implement me */ } while (0) +#endif + +#endif /* HW_SER_H */