X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fflash25.h;h=921e1b5cf6560a12373530baca559d68f1af772d;hb=911d2706a86d326786bfe721dcc3d63aeade7f28;hp=e3fd3e9dfc6c049f9d22d254a3bad9d4e8f3f857;hpb=f44390327c7adef19c91192d1cab83b682c5ae3b;p=bertos.git diff --git a/bertos/drv/flash25.h b/bertos/drv/flash25.h index e3fd3e9d..921e1b5c 100644 --- a/bertos/drv/flash25.h +++ b/bertos/drv/flash25.h @@ -33,14 +33,11 @@ * \brief Function library for serial Flash memory. * * - * \version $Id$ * \author Daniele Basile * - * $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" */ @@ -50,7 +47,7 @@ #include "cfg/cfg_flash25.h" #include -#include +#include /** * Type definition for serial flash memory. @@ -90,9 +87,7 @@ INLINE Flash25 * FLASH25_CAST(KFile *fd) * 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 @@ -104,7 +99,7 @@ INLINE Flash25 * FLASH25_CAST(KFile *fd) #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