From e80b8410edc8e74e94662722194d1cfddbb19ec5 Mon Sep 17 00:00:00 2001 From: batt Date: Mon, 23 Mar 2009 14:48:52 +0000 Subject: [PATCH] Add some modules. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2402 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cfg/cfg_debug.h | 12 +++++++++--- bertos/cfg/cfg_formatwr.h | 7 ++++--- bertos/cfg/debug.h | 5 +++++ bertos/mware/formatwr.h | 5 +++++ bertos/mware/hex.h | 1 + 5 files changed, 24 insertions(+), 6 deletions(-) diff --git a/bertos/cfg/cfg_debug.h b/bertos/cfg/cfg_debug.h index 25b25858..f4d2c83f 100644 --- a/bertos/cfg/cfg_debug.h +++ b/bertos/cfg/cfg_debug.h @@ -40,10 +40,16 @@ #ifndef CFG_DEBUG_H #define CFG_DEBUG_H -/// kdebug console. +/** + * Debug console port. + * $WIZ$ type = "int"; min = 0 + */ #define CONFIG_KDEBUG_PORT 0 -/// Baud-rate for the kdebug console. -#define CONFIG_KDEBUG_BAUDRATE 115200 +/** + * Baudrate for the debug console. + * $WIZ$ type = "int"; min = 0 + */ +#define CONFIG_KDEBUG_BAUDRATE 115200UL #endif /* CFG_DEBUG_H */ diff --git a/bertos/cfg/cfg_formatwr.h b/bertos/cfg/cfg_formatwr.h index a3cf6f62..bafad70b 100644 --- a/bertos/cfg/cfg_formatwr.h +++ b/bertos/cfg/cfg_formatwr.h @@ -37,11 +37,12 @@ * \author Daniele Basile */ -#ifndef CFG_FORMTWR_H -#define CFG_FORMTWR_H +#ifndef CFG_FORMATWR_H +#define CFG_FORMATWR_H /** * printf()-style formatter configuration. + * $WIZ$ type = "enum"; value_list = "printf_list" * * \sa PRINTF_DISABLED * \sa PRINTF_NOMODIFIERS @@ -52,5 +53,5 @@ #define CONFIG_PRINTF PRINTF_FULL -#endif /* CFG_FORMTWR_H */ +#endif /* CFG_FORMATWR_H */ diff --git a/bertos/cfg/debug.h b/bertos/cfg/debug.h index 4aa33639..2850bbb2 100644 --- a/bertos/cfg/debug.h +++ b/bertos/cfg/debug.h @@ -38,6 +38,11 @@ * * \version $Id$ * \author Bernie Innocenti + * + * $WIZ$ module_name = "debug" + * $WIZ$ module_configuration = "bertos/cfg/cfg_debug.h" + * $WIZ$ DEBUG = 1 + * $WIZ$ module_depends = "formatwr" */ #ifndef BERTOS_DEBUG_H diff --git a/bertos/mware/formatwr.h b/bertos/mware/formatwr.h index bd66b7e7..00304617 100644 --- a/bertos/mware/formatwr.h +++ b/bertos/mware/formatwr.h @@ -33,6 +33,10 @@ * \version $Id$ * * \brief Basic "printf", "sprintf" and "fprintf" formatter. + * + * $WIZ$ module_name = "formatwr" + * $WIZ$ module_configuration = "bertos/cfg/cfg_formatwr.h" + * $WIZ$ module_depends = "hex" */ #ifndef MWARE_FORMATWR_H @@ -46,6 +50,7 @@ /** * \name _formatted_write() configuration + * $WIZ$ printf_list = "PRINTF_DISABLED", "PRINTF_NOMODIFIERS", "PRINTF_REDUCED", "PRINTF_NOFLOAT", "PRINTF_FULL" * \{ */ #define PRINTF_DISABLED 0 diff --git a/bertos/mware/hex.h b/bertos/mware/hex.h index 5e036dfe..aafc2f12 100644 --- a/bertos/mware/hex.h +++ b/bertos/mware/hex.h @@ -35,6 +35,7 @@ * \version $Id$ * * \author Bernie Innocenti + * $WIZ$ module_name = "hex" */ #ifndef MWARE_HEX_H -- 2.25.1