target.h

来自「CANopenNode source code with tutorials -」· C头文件 代码 · 共 61 行

H
61
字号
/****************************************************************************
* (C) 1999-2005 by BECK IPC GmbH
*
*  BECK IPC GmbH
*  Germany
*  
*  http://www.beck-ipc.com
*
* ---------------------------------------------------------------------------
* Module         : TARGET.H
* Function       : Target dependent compilation switches for
*                  Beck C-Library API functions
* ---------------------------------------------------------------------------

$Header: /cvsrepo/CANopenNode/_src/CANopen/BECK_SC1x+SJA1000/Clib/target.h,v 1.1 2006/03/08 11:29:44 jani Exp $

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

#ifndef _TARGET_H_
#define _TARGET_H_


////////////////////////////////////////////////////////////////////////
//  The Paradigm Beck IPC Edition compiler will define one of the
//  following target selectors.  This selection is controlled within
//  the Paradigm IDE with the Target Expert "Controller Hardware" 
//  selection.
//
//#define  SC12 
//#define  SC11 
//#define  SC13 
//#define  SC123 
//
//  At most one of these target selectors should be defined.
////////////////////////////////////////////////////////////////////////


// Paradigm Beck IPC Edition compiler defines the __ADDR24__ symbol
// when the -Y command line option ("Extended address space") is used.
#ifdef __ADDR24__
#ifndef SC123
#define  SC123
#endif
#endif

////////////////////////////////////////////////////////////////////////
//  Library Options:
////////////////////////////////////////////////////////////////////////

#ifdef SC123

#define TCPIP_STACK_V2    // New version of TCP/IP stack
    // See TCPIP.H library header file for variant library
    //  API selected due to this compilation switch.
#endif  // SC123



#endif // _TARGET_H_

// End of file TARGET.H

⌨️ 快捷键说明

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