From d77cf6341f11dcd2afb319a91f5cdbeb9df6f00c Mon Sep 17 00:00:00 2001 From: asterix Date: Thu, 5 Feb 2009 12:06:45 +0000 Subject: [PATCH] Add info for wizard. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2271 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cfg/cfg_stepper.h | 8 ++++---- bertos/drv/stepper.h | 5 +++++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/bertos/cfg/cfg_stepper.h b/bertos/cfg/cfg_stepper.h index 590e3c57..1a1dcd2d 100644 --- a/bertos/cfg/cfg_stepper.h +++ b/bertos/cfg/cfg_stepper.h @@ -39,16 +39,16 @@ #ifndef CFG_STEPPER_H #define CFG_STEPPER_H -/// Module logging level. +/// Module logging level. $WIZARD = { "type" : "enum", "value_list" : "log_level" } #define STEPPER_LOG_LEVEL LOG_LVL_INFO -/// Module logging format. +/// Module logging format. $WIZARD = { "type" : "enum", "value_list" : "log_format" } #define STEPPER_LOG_FORMAT LOG_FMT_TERSE -/// Max number of the stepper motor. +/// Max number of the stepper motor. $WIZARD = { "type" : "int", "min" : "0" } #define CONFIG_NUM_STEPPER_MOTORS 6 -/// Max number of the timer usable on target to drive stepper motor. +/// Max number of the timer usable on target to drive stepper motor. $WIZARD = { "type" : "int", "min" : "0" } #define CONFIG_TC_STEPPER_MAX_NUM 6 #endif /* CFG_STEPPER_H */ diff --git a/bertos/drv/stepper.h b/bertos/drv/stepper.h index a68903ff..afa70d8b 100644 --- a/bertos/drv/stepper.h +++ b/bertos/drv/stepper.h @@ -15,6 +15,11 @@ * \author Simone Zinanni * \author Daniele Basile * + * $WIZARD_MODULE = { + * "name" : "stepper", + * "depends" : ["timer", "ramp"], + * "configuration" : "bertos/cfg/cfg_stepper.h" + * } */ #ifndef DRV_STEPPER_H -- 2.25.1