added firmware section

This commit is contained in:
cpu
2026-05-18 21:55:20 +02:00
parent 6e62cb7b57
commit 68cb57af28
16 changed files with 22474 additions and 21132 deletions

13
firmware/funconfig.h Normal file
View 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