+#include <cpu/attr.h>
+
+#if COMPILER_C99
+ #define flash_init(...) PP_CAT(flash_init ## _, COUNT_PARMS(__VA_ARGS__)) (__VA_ARGS__)
+#else
+ #define flash_init(args...) PP_CAT(flash_init ## _, COUNT_PARMS(args)) (args)
+#endif
+
+/*
+ * Embedded flash error flags
+ */
+#define FLASH_WR_OK 0 ///< Write ok.
+#define FLASH_NOT_ERASED BV(1) ///< Flash memory was not erased before to write it.
+#define FLASH_WR_PROTECT BV(2) ///< Write not allowed the flash memory was protected.
+#define FLASH_WR_TIMEOUT BV(3) ///< Timeout while writing
+#define FLASH_WR_ERR BV(4) ///< Invalid command and/or a bad keywords
+
+struct FlashHardware;