X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fek-lm3s1968%2Fexamples%2Fgps%2Fcfg%2Fcfg_dc_motor.h;fp=boards%2Fek-lm3s1968%2Fexamples%2Fgps%2Fcfg%2Fcfg_dc_motor.h;h=409badda2e7046072af4e09ad97a13ed7fa0a803;hb=e9ccb7d4eec1b5e4d3fc670336828caa52df8056;hp=0000000000000000000000000000000000000000;hpb=bcf97d564b47214ec01b938524e11875ebb7239a;p=bertos.git diff --git a/boards/ek-lm3s1968/examples/gps/cfg/cfg_dc_motor.h b/boards/ek-lm3s1968/examples/gps/cfg/cfg_dc_motor.h new file mode 100644 index 00000000..409badda --- /dev/null +++ b/boards/ek-lm3s1968/examples/gps/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 */