config.h
来自「YL9200开发板的BIOS9200源码」· C头文件 代码 · 共 32 行
H
32 行
#ifndef CONFIG_H
#define CONFIG_H
/*
//#define PROCESSOR_CLOCK 180000000
#define PROCESSOR_CLOCK 200000000
#if (PROCESSOR_CLOCK == 200000000)
#define AT91C_MASTER_CLOCK 66000000 // set master clock 60MHz
#elif (PROCESSOR_CLOCK == 180000000)
#define AT91C_MASTER_CLOCK 60000000 // set master clock 60MHz
#endif
#define DRAM_BANKS 1
#define DRAM_BASE 0x20000000
#define DRAM_SIZE 0x2000000 //32M
typedef struct {
unsigned long base;
unsigned long size;
}DRAM_PARAMS;
#define UART_BAUD_RATE 115200*/
#include "../include/config.h"
//#define IIC_SUPPORT
#define XMODEM_SUPPORT
#ifndef SELF_BOOT
//#define NAND_SUPPORT
//#define NOR_SUPPORT
//#define TFTP_SUPPORT
#endif
#endif /* __CONFIG_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?