BeRTOS
Defines
cfg_debug.h File Reference

Configuration file for Debug module. More...

Go to the source code of this file.

Defines

#define CONFIG_KDEBUG_PORT   0
 Debug console port.
#define CONFIG_KDEBUG_BAUDRATE   115200UL
 Baudrate for the debug console.
#define CONFIG_KDEBUG_CLOCK_SOURCE   KDBG_UART_SMCLK
 Clock source for the UART module.
#define CONFIG_KDEBUG_CLOCK_FREQ   0UL
 Clock frequency.

Detailed Description

Configuration file for Debug module.

Author:
Daniele Basile <asterix@develer.com>

Definition in file cfg_debug.h.


Define Documentation

#define CONFIG_KDEBUG_CLOCK_FREQ   0UL

Clock frequency.

(Only if different from MCLK's frequency, otherwise leave it zero)

Definition at line 68 of file cfg_debug.h.

#define CONFIG_KDEBUG_CLOCK_SOURCE   KDBG_UART_SMCLK

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().

Definition at line 61 of file cfg_debug.h.