⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 common.h

📁 I wrote this code early this year using ColdFire MCF5213 in codewarrior IDE. The LCD is STN B/W 320x
💻 H
字号:
/*
 * File:		common.h
 * Purpose:		File to be included by all project files
 *
 * Notes:
 */

#ifndef _COMMON_H_
#define _COMMON_H_

/********************************************************************/

/*
 * Debug prints ON (#define) or OFF (#undef)
 */
#define DEBUG_PRINT

/* 
 * Include the generic CPU header file 
 */
#include "mcf5xxx.h"

/* 
 * Include the specific CPU header file 
 */
#include "mcf532x.h"

/* 
 * Include the board specific header file 
 */
#if (defined(PALLADIUM))
#include "src/boards/palladium/palladium.h"
#elif (defined(M5329EVB))
#include "src/boards/m5329evb/m5329evb.h"
#elif (defined(KOMODO))
#include "src/boards/komodo/komodo.h"
#endif

/* 
 * Include any toolchain specfic header files 
 */
#if (defined(__MWERKS__))
#include "build/mwerks/mwerks.h"
#elif (defined(__DCC__))
#include "build/wrs/diab.h"
#elif (defined(__ghs__))
#include "build/ghs/ghs.h"
#endif

/* 
 * Include common utilities
 */
#include "assert.h"
#include "io.h"
#include "stdlib.h"

/********************************************************************/

#endif /* _COMMON_H_ */

⌨️ 快捷键说明

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