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

📄 oscfg.h

📁 还是arm7操作源码
💻 H
字号:
/******************************************************************************
   Copyright (c) 2006 by RockOS.
   All rights reserved.

   This software is supported by the Rock Software Workroom.

   Any bugs please contact the author with e-mail or QQ:
   E-mail : baobaoba520@yahoo.com.cn
       QQ : 59681888
*******************************************************************************
File name   : oscfg.h
Description : a demo tailer's options for RockOS as a template.
            :
            : 
Auther      : sunxinqiu
History     :
  2006-3-15   first release.
******************************************************************************/
#ifndef __OSCFG_H__
#define __OSCFG_H__

#ifdef __cplusplus
extern "C" {
#endif

/* tick interrupt frequance. */
#define TICKS_PER_SECOND        TICK_INT_FREQ

/* system object name length. */
#define MAX_NAME_LEN            31

/* memory block information. */
#define MEM_BLOCK_NUM           1024
#define MEM_BLOCK_SIZE          1024

/* fsm configuration. */
#define MAX_FSM_NUM             4

/* system object number. */
#define MAX_SYS_TASK            32
#define MAX_SYS_SEMA            32

/* msg packet. */
#define MINI_MSG_NUM            128
#define MINI_MSG_LEN            16

#define COMMON_MSG_NUM          64
#define COMMON_MSG_LEN          64

#define HUGE_MSG_NUM            16
#define HUGE_MSG_LEN            512


/* shell command. */
#define MAX_SHELL_CMD           128
#define MAX_CMD_LINE_LEN        1023

/* default task attributes. */
#define DEFAULT_MUTEX_Q_SIZE    16
#define DEFAULT_MSG_Q_SIZE      32
#define DEFAULT_STACK_SIZE      8192

/* for running dump. */
#define DUMP_TASK_FSM           0
#define DEFAULT_DUMP_MSG_LEN    8

#ifdef __cplusplus
}
#endif
#endif

⌨️ 快捷键说明

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