projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add -fomit-frame-pointer when we are not in debug mode.
[bertos.git]
/
bertos
/
cfg
/
cfg_stepper.h
diff --git
a/bertos/cfg/cfg_stepper.h
b/bertos/cfg/cfg_stepper.h
index 1efeef26d83b929669e4a0baf64a2ccb928d65cf..e086065cadffa948ba46d7f73760c8796e66365f 100644
(file)
--- a/
bertos/cfg/cfg_stepper.h
+++ b/
bertos/cfg/cfg_stepper.h
@@
-27,13
+27,12
@@
* the GNU General Public License.
*
* Copyright 2008 Develer S.r.l. (http://www.develer.com/)
* 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$
* -->
*
* \brief Configuration file for stepper motor module.
*
* \version $Id$
- *
* \author Daniele Basile <asterix@develer.com>
*/
* \author Daniele Basile <asterix@develer.com>
*/
@@
-41,27
+40,31
@@
#define CFG_STEPPER_H
/**
#define CFG_STEPPER_H
/**
- * 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
+ * Module logging level.
+ * $WIZ$ type = "enum"
+ * $WIZ$ value_list = "log_level"
*/
*/
-#define STEPPER_LOG_LEVEL
2
+#define STEPPER_LOG_LEVEL
LOG_LVL_INFO
/**
/**
- *
Set logging verbosity
.
- *
- *
If verbosity is zero print short log messages.
+ *
Module logging format
.
+ *
$WIZ$ type = "enum"
+ *
$WIZ$ value_list = "log_format"
*/
*/
-#define STEPPER_LOG_VERBOSITY 0
-
+#define STEPPER_LOG_FORMAT LOG_FMT_TERSE
-/// Max number of the stepper motor.
+/**
+ * Max number of the stepper motor.
+ * $WIZ$ type = "int"
+ * $WIZ$ min = 1
+ */
#define CONFIG_NUM_STEPPER_MOTORS 6
#define CONFIG_NUM_STEPPER_MOTORS 6
-/// Max number of the timer usable on target to drive stepper motor.
+/**
+ * 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 */
#define CONFIG_TC_STEPPER_MAX_NUM 6
#endif /* CFG_STEPPER_H */
-