#include "cfg/cfg_emb_flash.h"
#include <cfg/macros.h>
+#include <cfg/compiler.h>
#include <io/kblock.h>
#include <io/kfile.h>
#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) ///<
+#define FLASH_WR_TIMEOUT BV(3) ///< Timeout while writing
+#define FLASH_WR_ERR BV(4) ///< Invalid command and/or a bad keywords
struct FlashHardware;
flash_hw_initUnbuffered(fls);
}
+#include CPU_HEADER(flash)
#endif /* DRV_FLASH_H */