13 lines
308 B
C
13 lines
308 B
C
#ifndef _FUNCONFIG_H
|
|
#define _FUNCONFIG_H
|
|
|
|
#define CH32V003 1
|
|
|
|
// Default system clock to 48MHz
|
|
#define FUNCONF_SYSTEM_CORE_CLOCK 48000000
|
|
|
|
// support "printf-over-single-wire" at about 400kBaud on the SWIO pin (PD1)
|
|
#define FUNCONF_USE_DEBUGPRINTF 1
|
|
#define FUNCONF_USE_UARTPRINTF 0
|
|
|
|
#endif // _FUNCONFIG_H
|