params.c
来自「motorola 针对coldfire 5275 评估板的Dbug bootlo」· C语言 代码 · 共 52 行
C
52 行
/*
* File: proj/m5275evb/src/params.c
* Purpose: Initial values for parameters stored in Flash
*
* Notes:
*
*/
#include "src/include/dbug.h"
#include "proj/common/setget.h"
/********************************************************************/
/*
* Factory Settings
*/
#ifndef DEBUG
const PARAM params =
{
19200,
#ifdef DBUG_NETWORK
{ 0, 0, 0, 0},
{ 0, 0, 0, 0},
{ 0, 0, 0, 0},
{255,255,255, 0},
{0,0,UIF_DLIO_SREC,0},
{0x00,0xCF,0x52,0x75,0xCF,0x01},
"test.s19"
#endif
};
/********************************************************************/
/*
* Alternate Parameters
*/
#else
const PARAM params =
{
19200,
#ifdef DBUG_NETWORK
{ 10, 81, 65,217},
{ 10, 81, 65,216},
{ 10, 81, 67,254},
{255,255,252, 0},
{0,0,UIF_DLIO_IMAGE,0},
{0x00,0xCF,0x52,0x75,0xCF,0x01},
"image.bin"
#endif
};
/********************************************************************/
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?