This commit is contained in:
2026-10-23 10:48:05 +02:00
commit 9615b5d42f
10 changed files with 529 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
/* SPDX-License-Identifier: MIT */
#ifndef _FUNCONFIG_H
#define _FUNCONFIG_H
/* CH32V003: 48 MHz from the internal HSI + PLL. */
#define FUNCONF_USE_HSI 1
#define FUNCONF_USE_PLL 1
#define FUNCONF_SYSTEM_CORE_CLOCK 48000000
/*
* printf() goes to the SWIO debug channel by default.
* Use `make monitor` (minichlink -T) to view it.
*/
#define FUNCONF_USE_DEBUGPRINTF 1
#endif