📄 verctrl.h
字号:
/****************************************************************************************************
* 文 件 名: verctrl.h
* 功能介绍: some compiler options , for controling BIOS's using
*
* 说 明: 1、four parts:
* machine type
* debug option
* system clock
* BIOS version
* 2、FOLLOWING IS VERY IMPORTANT, PLEASE NOTE:
* You may change "machine type" and "debug option",
* but don't change "system clock" and "BIOS version".
*
* 作 者: Shi liangcai
*
* 创建时间: 2002.11.14
* 修改记录:
***************************************************************************************************/
#ifndef VERCTRL_H
#define VERCTRL_H
///////////////////////////////////////////////////////////////////////////////////////
// 1.resolving
// only one of following is selected to become active
// 注意:高低分辨率标识,BOOT本身不区分高低分辨率,但是自升级程序区分
// makerfile中,使用LOW选项来区分。即maker -DLOW,那么就自动定义了RESOLVING_640_480
///// //////////////////////////////////////////////////////////////////////////////////
// #define RESOLVING_800_600
// #define RESOLVING_640_480
//////////////////////////////////////////////////////////////////////////////////
// 2.debug option
//////////////////////////////////////////////////////////////////////////////////
// open BIOS_DEBUG option, and display some debug info
// #define BIOS_DEBUG
// open BIOS_NOT_ENTER_MAIN, don't enter main system,
// #define BIOS_NOT_ENTER_MAIN
// open BIOS_TEST_PORT option, during update, only receive and send data, don't transcat
// #define BIOS_TEST_PORT
// open BIOS_TEST_MODULE, don't enter main system, and test module update
// #define BIOS_TEST_MODULE
// open BIOS_TEST_FLASH_4M, ONLY test 4M flash
// #define BIOS_TEST_FLASH_4M
// open BIOS_TEST_EEPROM, ONLY test eeprom(mbus)
//#define BIOS_TEST_EEPROM
//////////////////////////////////////////////////////////////////////////////////
// 3.machine type and port type
// refer to the document of <<FLAG DEFINATION>>
//////////////////////////////////////////////////////////////////////////////////
#define UT_SELF_VALUE 0x40
#define MT_PM_NET_COMMON 0x3d
//////////////////////////////////////////////////////////////////////////////////
// 4.BIOS version and checksum
//////////////////////////////////////////////////////////////////////////////////
#define BIOS_VER 21
#define BIOS_STRING "02.01.00" /*use this for bin2txt*/
///////////////////////////////////////////////////////////////////////////////////
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -