16 lines
533 B
C
16 lines
533 B
C
#ifndef _FUNCONFIG_H
|
|
#define _FUNCONFIG_H
|
|
|
|
// board definition file will already take care of this
|
|
//#define CH32V003 1
|
|
|
|
#define FUNCONF_USE_HSI 0 // Use HSI Internal Oscillator
|
|
#define FUNCONF_USE_HSE 1 // Use External Oscillator
|
|
#define FUNCONF_SYSTEM_CORE_CLOCK 144000000 // System Core Clock in Hz
|
|
#define FUNCONF_USE_DEBUGPRINTF 0
|
|
#define FUNCONF_USE_UARTPRINTF 0
|
|
#define FUNCONF_UART_PRINTF_BAUD 115200 // Only used if FUNCONF_USE_UARTPRINTF is set.
|
|
#define FUNCONF_USE_CLK_SEC 0
|
|
|
|
#endif
|