Update triface example and fix nightly tests
[bertos.git] / boards / triface / examples / triface / cfg / cfg_debug.h
index 20fec2d397d9af88c3b9f9316b26528e5b490789..c31b4523ac9fc58b40888c47adceec083fe5b142 100644 (file)
@@ -32,6 +32,7 @@
  *
  * \brief Configuration file for Debug module.
  *
+ *
  * \author Daniele Basile <asterix@develer.com>
  */
 
  */
 #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 */