X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fcfg_debug.h;h=10639848f13d4d660778b5b0f542fad3dbbba055;hb=e20ef58e930f87b527795830660b7084ac5e22a1;hp=f7596ca1e24a7c924141ec805bce2f23f70ca8fd;hpb=a68e8a225a683ef7847f92ab89d8a202cf27973f;p=bertos.git diff --git a/bertos/cfg/cfg_debug.h b/bertos/cfg/cfg_debug.h index f7596ca1..10639848 100644 --- a/bertos/cfg/cfg_debug.h +++ b/bertos/cfg/cfg_debug.h @@ -32,7 +32,6 @@ * * \brief Configuration file for Debug module. * - * \version $Id$ * * \author Daniele Basile */ @@ -52,4 +51,20 @@ */ #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 */