first commit

This commit is contained in:
2024-10-10 00:45:09 +06:00
commit e56944bbcd
89 changed files with 31498 additions and 0 deletions

14
src/funconfig.h Normal file
View File

@@ -0,0 +1,14 @@
#ifndef _FUNCONFIG_H
#define _FUNCONFIG_H
// board definition file will already take care of this
//#define CH32V003 1
#define FUNCONF_USE_HSI 0 // Use HSI Internal Oscillator
#define FUNCONF_USE_HSE 1 // Use External Oscillator
#define FUNCONF_SYSTEM_CORE_CLOCK 144000000 // System Core Clock in Hz
#define FUNCONF_USE_DEBUGPRINTF 0
#define FUNCONF_USE_UARTPRINTF 0
#define FUNCONF_UART_PRINTF_BAUD 115200 // Only used if FUNCONF_USE_UARTPRINTF is set.
#endif