X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fsam3x-ek%2Fexamples%2Fsam3x-ek_tcp_server%2Fcfg%2Fcfg_debug.h;fp=boards%2Fsam3x-ek%2Fexamples%2Fsam3x-ek_tcp_server%2Fcfg%2Fcfg_debug.h;h=10639848f13d4d660778b5b0f542fad3dbbba055;hb=2f4f8a91630ed4019ef0cb166cd3c93270b7a28e;hp=0000000000000000000000000000000000000000;hpb=36f86286c51f1bcfb9097d477d5b32e4b8c11563;p=bertos.git diff --git a/boards/sam3x-ek/examples/sam3x-ek_tcp_server/cfg/cfg_debug.h b/boards/sam3x-ek/examples/sam3x-ek_tcp_server/cfg/cfg_debug.h new file mode 100644 index 00000000..10639848 --- /dev/null +++ b/boards/sam3x-ek/examples/sam3x-ek_tcp_server/cfg/cfg_debug.h @@ -0,0 +1,70 @@ +/** + * \file + * + * + * \brief Configuration file for Debug module. + * + * + * \author Daniele Basile + */ + +#ifndef CFG_DEBUG_H +#define CFG_DEBUG_H + +/** + * Debug console port. + * $WIZ$ type = "int"; min = 0 + */ +#define CONFIG_KDEBUG_PORT 0 + +/** + * Baudrate for the debug console. + * $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 */