X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fcfg_stepper.h;h=2925fb664783085cdff38e551f94ffa0e7b4597b;hb=7a613efa9f80222fa9642bfb6a249972c7ae6c6e;hp=b884bfc333d0e3cf9bc576fd420f982561142e5e;hpb=9bde379b39600b3023bc42ea7affdab4edc8cf18;p=bertos.git diff --git a/bertos/cfg/cfg_stepper.h b/bertos/cfg/cfg_stepper.h index b884bfc3..2925fb66 100644 --- a/bertos/cfg/cfg_stepper.h +++ b/bertos/cfg/cfg_stepper.h @@ -27,24 +27,43 @@ * the GNU General Public License. * * Copyright 2008 Develer S.r.l. (http://www.develer.com/) - * All Rights Reserved. + * * --> * * \brief Configuration file for stepper motor module. * - * \version $Id$ - * * \author Daniele Basile */ #ifndef CFG_STEPPER_H #define CFG_STEPPER_H -/// Max number of the stepper motor. -#define CONFIG_NUM_STEPPER_MOTORS 1 +/** + * Module logging level. + * $WIZ$ type = "enum" + * $WIZ$ value_list = "log_level" + */ +#define STEPPER_LOG_LEVEL LOG_LVL_INFO -/// Max number of the timer usable on target to drive stepper motor. -#define CONFIG_TC_STEPPER_MAX_NUM 6 +/** + * Module logging format. + * $WIZ$ type = "enum" + * $WIZ$ value_list = "log_format" + */ +#define STEPPER_LOG_FORMAT LOG_FMT_TERSE -#endif /* CFG_STEPPER_H */ +/** + * Max number of the stepper motor. + * $WIZ$ type = "int" + * $WIZ$ min = 1 + */ +#define CONFIG_NUM_STEPPER_MOTORS 6 + +/** + * Max number of the timer usable on target to drive stepper motor. + * $WIZ$ type = "int" + * $WIZ$ min = 1 + */ +#define CONFIG_TC_STEPPER_MAX_NUM 6 +#endif /* CFG_STEPPER_H */