option.h
资源名称:uCOS-II.rar [点击查看]
上传用户:jinguanrq
上传日期:2022-06-04
资源大小:724k
文件大小:1k
源码类别:
uCOS
开发平台:
C/C++
- #ifndef __OPTION_H__
- #define __OPTION_H__
- // ************* OPTIONS **************
- #define MCLK 64000000
- #define WRBUFOPT (0x8) //write_buf_on
- #define SYSCFG_0KB (0x0|WRBUFOPT)
- #define SYSCFG_4KB (0x2|WRBUFOPT)
- #define SYSCFG_8KB (0x6|WRBUFOPT)
- #define DRAM 1 //In case DRAM is used
- #define SDRAM 2 //In case SDRAM is used
- #define BDRAMTYPE SDRAM //used in power.c,44blib.c
- //BUSWIDTH; 16,32
- #define BUSWIDTH (16)
- #define CACHECFG SYSCFG_8KB
- #define _RAM_STARTADDRESS 0xc000000
- #define _ISR_STARTADDRESS 0xc7fff00 //GCS6:64M DRAM/SDRAM
- #define Non_Cache_Start (0x2000000)
- #define Non_Cache_End (0xc000000)
- // NOTE: rom.mak,option.a have to be changed
- #endif /*__OPTION_H__*/