params.c
来自「Coldfire MCF5282 DBug bootloader」· C语言 代码 · 共 51 行
C
51 行
/*
* File: proj/m5282evb/src/params.c
* Purpose: Initial values for parameters stored in Flash
*
* Notes:
*
*/
#include "src/include/dbug.h"
#include "proj/common/param.h"
/********************************************************************/
/*
* Factory Settings
*/
#if 1
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,0x82,0xCF,0x01},
"test.s19"
#endif
};
/********************************************************************/
/*
* Alternate Parameters
*/
#else
const PARAM params =
{
19200,
#ifdef DBUG_NETWORK
{163, 10, 65, 85},
{163, 10, 65, 84},
{ 0, 0, 0, 0},
{255,255,255, 0},
{0,0,UIF_DLIO_IMAGE,0},
{0x00,0xCF,0x52,0x82,0xCF,0x01},
"test.s19"
#endif
};
/********************************************************************/
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?