X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=examples%2Fdevelgps%2Fcfg%2Fcfg_dc_motor.h;fp=examples%2Fdevelgps%2Fcfg%2Fcfg_dc_motor.h;h=409badda2e7046072af4e09ad97a13ed7fa0a803;hb=ab03b5b37726fb8b39a6f6c915f8668bddd779ee;hp=0000000000000000000000000000000000000000;hpb=ec4804af8993aaf53193c71abdf890f7283fe5fb;p=bertos.git diff --git a/examples/develgps/cfg/cfg_dc_motor.h b/examples/develgps/cfg/cfg_dc_motor.h new file mode 100644 index 00000000..409badda --- /dev/null +++ b/examples/develgps/cfg/cfg_dc_motor.h @@ -0,0 +1,67 @@ +/** + * \file + * + * + * \brief Configuration file for DC motor module. + * + * \version $Id$ + * + * \author Daniele Basile + */ + +#ifndef CFG_DC_MOTOR_H +#define CFG_DC_MOTOR_H + +/** + * Number of the DC motors to manage. + * + * $WIZ$ type = "int" + * $WIZ$ min = 1 + */ +#define CONFIG_NUM_DC_MOTOR 4 + +/** + * Module logging level. + * + * $WIZ$ type = "enum" + * $WIZ$ value_list = "log_level" + */ +#define DC_MOTOR_LOG_LEVEL LOG_LVL_WARN + +/** + * Module logging format. + * + * $WIZ$ type = "enum" + * $WIZ$ value_list = "log_format" + */ +#define DC_MOTOR_LOG_FORMAT LOG_FMT_TERSE + +#endif /* CFG_DC_MOTOR_H */