added firmware section
This commit is contained in:
13
firmware/funconfig.h
Normal file
13
firmware/funconfig.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user