29 lines
678 B
C
29 lines
678 B
C
|
/**
|
||
|
****************************************************************************************
|
||
|
*
|
||
|
* @file cfg.h
|
||
|
*
|
||
|
* @brief App Configure MACRO, --preinclude
|
||
|
*
|
||
|
****************************************************************************************
|
||
|
*/
|
||
|
|
||
|
#ifndef _APP_CFG_H_
|
||
|
#define _APP_CFG_H_
|
||
|
|
||
|
/// System Clock(0=16MHz, 1=32MHz, 2=48MHz, 3=64MHz)
|
||
|
#define SYS_CLK (2)
|
||
|
|
||
|
/// Debug Mode: 0=Disable, 1=via UART, 2=RTT Viewer
|
||
|
#define DBG_MODE (1)
|
||
|
|
||
|
#define DBG_UART_TXD (8) // PA17
|
||
|
#define DBG_UART_RXD (9) // PA18
|
||
|
|
||
|
/// USB Debug Level: 0=Disable, 1=Error, 2=Warning
|
||
|
#if (DBG_MODE)
|
||
|
#define USB_DBG_LEVEL (1)
|
||
|
#endif
|
||
|
|
||
|
#endif //_APP_CFG_H_
|