Move unpack lwip ip address macro to macros module.
[bertos.git] / bertos / cfg / cfg_debug.h
index 539772af6e47a363e0ac4c125c501d26ce978d41..10639848f13d4d660778b5b0f542fad3dbbba055 100644 (file)
@@ -32,7 +32,6 @@
  *
  * \brief Configuration file for Debug module.
  *
- * \version $Id$
  *
  * \author Daniele Basile <asterix@develer.com>
  */
 #ifndef CFG_DEBUG_H
 #define CFG_DEBUG_H
 
-/// kdebug console.
+/**
+ * Debug console port.
+ * $WIZ$ type = "int"; min = 0
+ */
 #define CONFIG_KDEBUG_PORT 0
 
-/// Baud-rate for the kdebug console.
-#define CONFIG_KDEBUG_BAUDRATE  19200
+/**
+ * Baudrate for the debug console.
+ * $WIZ$ type = "int"; min = 300
+ */
+#define CONFIG_KDEBUG_BAUDRATE  115200UL
+
+/**
+ * Clock source for the UART module. You need to write the code to reprogram the respective clock at the required frequency in your project before calling kdbg_init().
+ *
+ * $WIZ$ type = "enum"
+ * $WIZ$ value_list = "kdbg_clk_src"
+ * $WIZ$ supports = "msp430"
+ */
+#define CONFIG_KDEBUG_CLOCK_SOURCE  KDBG_UART_SMCLK
+
+/**
+ * Clock frequency. (Only if different from MCLK's frequency, otherwise leave it zero)
+ * $WIZ$ type = "int"; min = 0
+ * $WIZ$ supports = "msp430"
+ */
+#define CONFIG_KDEBUG_CLOCK_FREQ 0UL
 
 #endif /* CFG_DEBUG_H */