X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fcfg_stepper.h;h=1efeef26d83b929669e4a0baf64a2ccb928d65cf;hb=4128f7132429072564952d3244d41e92bd3cfd46;hp=fbe7a3e8d67cda08dc837edcee9a2b63e8fe540a;hpb=e0960b1b787503b712e42776f980d792836992fd;p=bertos.git diff --git a/bertos/cfg/cfg_stepper.h b/bertos/cfg/cfg_stepper.h index fbe7a3e8..1efeef26 100644 --- a/bertos/cfg/cfg_stepper.h +++ b/bertos/cfg/cfg_stepper.h @@ -40,8 +40,28 @@ #ifndef CFG_STEPPER_H #define CFG_STEPPER_H -/// Number of usable stepper motor. -#define CONFIG_NUM_STEPPER_MOTORS 1 +/** + * Logging level definition. + * + * Use 0 to log only the error messages + * Use 1 to log the error and warning messages + * Use 2 to log all messages + */ +#define STEPPER_LOG_LEVEL 2 + +/** + * Set logging verbosity. + * + * If verbosity is zero print short log messages. + */ +#define STEPPER_LOG_VERBOSITY 0 + + +/// 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 */