* \brief Function library for serial Flash memory.
*
*
- * \version $Id$
* \author Daniele Basile <asterix@develer.com>
*
- * $wizard_module = {
- * "name" : "flash25",
- * "depends" : ["kfile"],
- * "configuration" : "bertos/cfg/cfg_flash25.h"
- * }
+ * $WIZ$ module_name = "flash25"
+ * $WIZ$ module_depends = "kfile"
+ * $WIZ$ module_configuration = "bertos/cfg/cfg_flash25.h"
*/
#include "cfg/cfg_flash25.h"
#include <cfg/compiler.h>
-#include <kern/kfile.h>
+#include <io/kfile.h>
/**
* Type definition for serial flash memory.
* this drive. Every time we call flash25_init() function we check
* if memory defined are right (see flash25.c form more detail).
*
- * $WIZARD_LIST = {
- * "flash25_list" : ["FLASH25_AT25F2048"]
- * }
+ * $WIZ$ flash25_list = "FLASH25_AT25F2048"
*/
#define FLASH25_AT25F2048 1
#define FLASH25_SECTOR_SIZE 65536UL // Section size in byte
#define FLASH25_MEM_SIZE FLASH25_NUM_SECTOR * FLASH25_SECTOR_SIZE
#define FLASH25_NUM_PAGE FLASH25_MEM_SIZE / FLASH25_PAGE_SIZE
-#elif
+#else
#error Nothing memory defined in CONFIG_FLASH25 are support.
#endif