📄 targetconfig.h
字号:
/*******************************************************************************
* Copyright 2004-2005 - Software Design Solutions, Inc. All rights reserved.
*
* Portions of this work have been provided under license with Texas
* Instruments Inc.
*
* Target specific initialization details
* C6713 DSK with 256K x 16 AMD Am29LV400B Flash at byte address 0x9000_0000
*
******************************************************************************/
#ifndef _TARGETCONFIG_H
#define _TARGETCONFIG_H
#include "type.h"
/*
* Empty definition for TARGET_INITIALIZE()
*/
#define TARGET_INITIALIZE()
#define EDITFLASHPERMIT 0 /* 1 - allow FBTC to edit individual flash
memory locations */
#define BYTESPERMAU 1 /* How many bytes in an addressable unit of
data memory */
#define ERASEESTIMATE 4 /* Number of seconds to erase the entire
flash */
/**
* Type of data that the flash contains
* C6713 program memory is 8 bit bytes
*/
typedef u8 FLASH_DATA_TYPE;
/**
* Type of data that is contained in the FBTC message buffer
* C6713 expects the message buffer to contain 8 bit bytes of data
*/
typedef u8 MSG_DATA_TYPE;
/**
* An integer that is the same size as a pointer. Solely used for
* casting from larger ints to pointer without generating a warning.
* Use with caution.
*/
typedef u32 PTR_SIZED_INT;
/**
* FLASH ADDRESSING (byte Addresses)
* 0x9000_0000 - 0x9007_ffff
*/
#define FLBASE 0x90000000
#define FLSIZEBYTES 0x00080000
#endif // __TARGET_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -