Squashed commit of the following: commit 5f16309f629b9928d2134b85ae64af69bc3ebbcd Author: kuwoyuki <kuwoyuki@cock.li> Date: Sun Nov 24 22:55:15 2024 +0600 fix: Makefile, improve onewire retries commit 55496a3bda941b52ff349dc75c9c06eb5a37c07d Author: kuwoyuki <kuwoyuki@cock.li> Date: Mon Nov 18 00:41:18 2024 +0600 fix: make onewire validity less strict commit 3428a9bc9792508972ce3e7e4e35a64f047bca10 Author: kuwoyuki <kuwoyuki@cock.li> Date: Sun Nov 17 23:57:55 2024 +0600 chore: rm bins commit 1594e5ed430522b15466c8afa62ff7fb1b28947c Author: kuwoyuki <kuwoyuki@cock.li> Date: Sun Nov 17 23:32:01 2024 +0600 chore: unplatformiofy
18 lines
549 B
C
18 lines
549 B
C
#ifndef _FUNCONFIG_H
|
|
#define _FUNCONFIG_H
|
|
|
|
#define CH32V20x 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.
|
|
#define FUNCONF_USE_CLK_SEC 1
|
|
#define FUNCONF_SYSTICK_USE_HCLK 1
|
|
#define FUNCONF_DEBUG 1
|
|
|
|
#endif
|