PanBadge/funconfig.h

14 lines
524 B
C

#ifndef _FUNCONFIG_H
#define _FUNCONFIG_H
// Configuration overrides go here. Defaults in ch32fun/ch32fun.h are fine for blink.
#define FUNCONF_USE_HSI 1 // internal 24 MHz RC oscillator (no external crystal needed)
// We do no console I/O, so disable both printf backends. This drops the
// debug-interface output path; combined with stubbing the I2C driver's lone
// printf (see tama.c) it lets the linker discard the ~1 KB printf formatter.
#define FUNCONF_USE_DEBUGPRINTF 0
#define FUNCONF_USE_UARTPRINTF 0
#endif