From: asterix Date: Fri, 6 Feb 2009 16:26:50 +0000 (+0000) Subject: Fix comment and add wizard info. X-Git-Tag: 2.1.0~375 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=f44390327c7adef19c91192d1cab83b682c5ae3b;p=bertos.git Fix comment and add wizard info. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2307 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cfg/cfg_flash25.h b/bertos/cfg/cfg_flash25.h index 361277a1..95a74e9f 100644 --- a/bertos/cfg/cfg_flash25.h +++ b/bertos/cfg/cfg_flash25.h @@ -40,6 +40,13 @@ #ifndef CFG_FLASH25_H #define CFG_FLASH25_H +/** + * + * $WIZARD = { + * "type" : "enum", + * "value_list" : "flash25_list" + * } + */ /// Eeprom memory type. #define CONFIG_FLASH25 FLASH25_AT25F2048 diff --git a/bertos/drv/flash25.h b/bertos/drv/flash25.h index 27c6411f..e3fd3e9d 100644 --- a/bertos/drv/flash25.h +++ b/bertos/drv/flash25.h @@ -35,14 +35,20 @@ * * \version $Id$ * \author Daniele Basile + * + * $wizard_module = { + * "name" : "flash25", + * "depends" : ["kfile"], + * "configuration" : "bertos/cfg/cfg_flash25.h" + * } */ #ifndef DRV_FLASH25_H #define DRV_FLASH25_H -#include #include "cfg/cfg_flash25.h" +#include #include @@ -83,7 +89,10 @@ INLINE Flash25 * FLASH25_CAST(KFile *fd) * \note Below are defined valid serial flash memory support to * 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"] + * } */ #define FLASH25_AT25F2048 1 @@ -100,7 +109,6 @@ INLINE Flash25 * FLASH25_CAST(KFile *fd) #endif #define RDY_BIT 0x1 // Statuts of write cycle -/* \} */ /** * Serial flash opcode commands.