salvocfg.h
来自「嵌入式操作系统Salvo 在单片机C8051F350上的移植」· C头文件 代码 · 共 72 行
H
72 行
/************************************************************
Copyright (C) 1995-2002 Pumpkin, Inc. and its
Licensor(s). Freely distributable.
$Source: C:\\RCS\\D\\salvo\\tutorial\\tu2\\sysi\\salvocfg.h,v $
$Author: aek $
$Revision: 1.0 $
$Date: 2001-11-09 20:54:59-08 $
Header file for tutorial programs.
************************************************************/
#if defined(MAKE_WITH_FREE_LIB)
/* */
/* Salvo Lite build */
/* */
#define OSUSE_LIBRARY TRUE
#define OSLIBRARY_TYPE OSF
#define OSLIBRARY_GLOBALS OSD
#define OSLIBRARY_CONFIG OSA
#define OSLIBRARY_VARIANT OSB
#define OSEVENTS 5
#define OSEVENT_FLAGS 0
#define OSMESSAGE_QUEUES 0
#define OSTASKS 3
#elif defined(MAKE_WITH_STD_LIB)
/* */
/* Salvo LE & Pro library build */
/* */
#define OSUSE_LIBRARY TRUE
#define OSLIBRARY_TYPE OSL
#define OSLIBRARY_GLOBALS OSD
#define OSLIBRARY_CONFIG OSA
#define OSLIBRARY_VARIANT OSB
#define OSEVENTS 5
#define OSEVENT_FLAGS 0
#define OSMESSAGE_QUEUES 0
#define OSTASKS 3
#elif defined(MAKE_WITH_SOURCE)
/* */
/* Salvo Pro source-code build */
/* */
#define OSBYTES_OF_DELAYS 1
#define OSENABLE_MESSAGES TRUE
#define OSEVENTS 5
#define OSLOC_ALL data
#define OSPRESERVE_INTERRUPT_MASK FALSE /* same as b-variant library */
#define OSTASKS 3
#else
#error No MAKE_WITH_??? symbol defined. See salvocfg.h.
#endif
#if !defined(SYSI)
#error SYSI must be defined for this Cx51 tutorial project ...
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?