X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fstm32-p103%2Fbenchmark%2Fcontext_switch%2Fcfg%2Fcfg_debug.h;h=10639848f13d4d660778b5b0f542fad3dbbba055;hb=470f5cb37d5adce8fa5efd0092b2885528d7fb32;hp=f7596ca1e24a7c924141ec805bce2f23f70ca8fd;hpb=a256e501c16b63a423267f8621d6bdcda20d3f3a;p=bertos.git diff --git a/boards/stm32-p103/benchmark/context_switch/cfg/cfg_debug.h b/boards/stm32-p103/benchmark/context_switch/cfg/cfg_debug.h index f7596ca1..10639848 100644 --- a/boards/stm32-p103/benchmark/context_switch/cfg/cfg_debug.h +++ b/boards/stm32-p103/benchmark/context_switch/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 */