From: asterix Date: Mon, 9 Feb 2009 13:07:48 +0000 (+0000) Subject: Add wizard info. X-Git-Tag: 2.1.0~352 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=54c0cbfcd383f860eb4d69c91eb7dee9e3615a1f;p=bertos.git Add wizard info. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2330 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cfg/cfg_xmodem.h b/bertos/cfg/cfg_xmodem.h index 129a2118..bedde762 100644 --- a/bertos/cfg/cfg_xmodem.h +++ b/bertos/cfg/cfg_xmodem.h @@ -40,19 +40,19 @@ #ifndef CFG_XMODEM_H #define CFG_XMODEM_H -/// Enable Rx +/// Enable Rx. $WIZARD = { "type" : "boolean" } #define CONFIG_XMODEM_RECV 1 -/// Enable TX +/// Enable TX. $WIZARD = { "type" : "boolean" } #define CONFIG_XMODEM_SEND 1 -/// Allow a Rx/Tx of 1Kbyte block +/// Allow a Rx/Tx of 1Kbyte block. $WIZARD = { "type" : "boolean" } #define CONFIG_XMODEM_1KCRC 1 -/// Max retries before giving up +/// Max retries before giving up. $WIZARD = { "type" : "int", "min" : "0" } #define CONFIG_XMODEM_MAXRETRIES 15 -/// Max retries before switching to BCC +/// Max retries before switching to BCC. $WIZARD = { "type" : "int", "min" : "0" } #define CONFIG_XMODEM_MAXCRCRETRIES 7 #endif /* CFG_XMODEM_H */ diff --git a/bertos/net/xmodem.h b/bertos/net/xmodem.h index 897a7bc0..14f354e8 100644 --- a/bertos/net/xmodem.h +++ b/bertos/net/xmodem.h @@ -30,11 +30,17 @@ * Copyright 1999, 2001 Bernie Innocenti * * --> - * \brief X-Modem serial transmission protocol (interface) + * \brief X-Modem serial transmission protocol. * * \version $Id$ * \author Bernie Innocenti * \author Francesco Sacchi + * + * $WIZARD_MODULE = { + * "name" : "xmodem", + * "depends" : ["kfile"], + * "configuration" : "bertos/cfg/cfg_xmodem.h" + * } */