X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fcfg_stepper.h;h=590e3c574dd93e4529d067eaf0af163c06bcb9ad;hb=6eb6ebb5ae5953a27977f0ef66a36344462b949a;hp=fbe7a3e8d67cda08dc837edcee9a2b63e8fe540a;hpb=e0960b1b787503b712e42776f980d792836992fd;p=bertos.git diff --git a/bertos/cfg/cfg_stepper.h b/bertos/cfg/cfg_stepper.h index fbe7a3e8..590e3c57 100644 --- a/bertos/cfg/cfg_stepper.h +++ b/bertos/cfg/cfg_stepper.h @@ -27,21 +27,28 @@ * 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 -/// Number of usable stepper motor. -#define CONFIG_NUM_STEPPER_MOTORS 1 +/// Module logging level. +#define STEPPER_LOG_LEVEL LOG_LVL_INFO -#endif /* CFG_STEPPER_H */ +/// Module logging format. +#define STEPPER_LOG_FORMAT LOG_FMT_TERSE +/// Max number of the stepper motor. +#define CONFIG_NUM_STEPPER_MOTORS 6 + +/// Max number of the timer usable on target to drive stepper motor. +#define CONFIG_TC_STEPPER_MAX_NUM 6 + +#endif /* CFG_STEPPER_H */