Files
Linux-microcontroller-GPIO/CH32V003/funconfig.h
T
2026-10-23 10:48:05 +02:00

17 lines
380 B
C

/* 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