X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fcfg_debug.h;h=10639848f13d4d660778b5b0f542fad3dbbba055;hb=e5dbc5ca1aa5b9dcdacd0b736ee40c15546fcee0;hp=f4d2c83fb582431de563851e76cd13c426c724fd;hpb=e80b8410edc8e74e94662722194d1cfddbb19ec5;p=bertos.git diff --git a/bertos/cfg/cfg_debug.h b/bertos/cfg/cfg_debug.h index f4d2c83f..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 */ @@ -48,8 +47,24 @@ /** * Baudrate for the debug console. - * $WIZ$ type = "int"; min = 0 + * $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 */