Files
lishanpi/config/config.h
T
hm fc10ef2e10 Initial commit: LSPi (LiangShanPi) project
GD32F470ZGT6 based project with full peripheral support:
- SDRAM (W9825G6KH) via EXMC
- LCD NT35510 (480x800) via EXMC NOR/PSRAM
- Flash (W25Q64) via SPI
- UART (USART0) debug console
- LED indicators
- CMSIS-DAP debug interface
- CMake + ARM GCC toolchain build system
2026-04-26 16:24:42 +08:00

19 lines
339 B
C

#ifndef __CONFIG_H__
#define __CONFIG_H__
#define DEBUG_ENABLED 1
#define SYSTEM_CLOCK_FREQ 16000000
#define UART_BAUDRATE 9600
#define I2C_SPEED 400000
#define SPI_SPEED 10000000
#define ADC_RESOLUTION 12
#define ADC_REF_VOLTAGE 3.3f
#define FSMC_DATA_WIDTH 16
#define FSMC_ADDRESS_SETUP_TIME 2
#define FSMC_DATA_SETUP_TIME 3
#endif