option.h

来自「s3c6410基于USB OTG下载内核至NORFLASH的源代码」· C头文件 代码 · 共 66 行

H
66
字号
/**************************************************************************************
* 
*	Project Name : S3C6410 Validation
*
*	Copyright 2006 by Samsung Electronics, Inc.
*	All rights reserved.
*
*	Project Description :
*		This software is only for validating functions of the S3C6410.
*		Anybody can use this software without our permission.
*  
*--------------------------------------------------------------------------------------
* 
*	File Name : option.h
*  
*	File Description : This file defines basic setting and configuration.
*
*	Author : Haksoo,Kim
*	Dept. : AP Development Team
*	Created Date : 2006/11/08
*	Version : 0.1 
* 
*	History
*	- Created(Haksoo,Kim 2006/11/08)
*  
**************************************************************************************/

#ifndef __OPTION_H__
#define __OPTION_H__

#ifdef __cplusplus
extern "C" {
#endif

#include "def.h"

#define	SEMIHOSTING					FALSE

#define	FIN							12000000

#define	DMC0						(FALSE)
#define	DMC1						(!(DMC0))
#if	(DMC0)
#define	_DRAM_BaseAddress			0x40000000
#elif (DMC1)
#define	_DRAM_BaseAddress			0x50000000
#endif

#define	_DRAM0_BaseAddress			0x40000000


#define	_Exception_Vector			(_DRAM_BaseAddress+0x07ffff00)
#define	_MMUTT_BaseAddress			(_DRAM_BaseAddress+0x07ff8000)
#define	DefaultDownloadAddress		(_DRAM_BaseAddress+0x00200000)

#define ONLY_ICACHE_ENABLED			FALSE	//FALSE means MMU_Init

//#define VIC_INT						FALSE

#ifdef __cplusplus
}
#endif

#endif /*__OPTION_H__*/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?