X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fstm32-p103%2Fbenchmark%2Fcontext_switch%2Fcfg%2Fcfg_debug.h;h=10639848f13d4d660778b5b0f542fad3dbbba055;hb=546d20f6b54a7b06e8aa0a5e1e04e9c0304891c4;hp=7ea52a0b72df7be900b58330a237448bd32ed094;hpb=28e78f23f7c56356f1d0d8b21d7705b4e9f08856;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 7ea52a0b..10639848 100644 --- a/boards/stm32-p103/benchmark/context_switch/cfg/cfg_debug.h +++ b/boards/stm32-p103/benchmark/context_switch/cfg/cfg_debug.h @@ -51,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 */