📄 config.h
字号:
/**************************************************************************************************
EDL RTOS Kernel
(c) Copyright 2005, Wu Jun
All Rights Reserved
For further information, please visit http://www.enjoydigitallife.com
* Description: None
* History:
Date Remarks
2005-01-06 Created initial version
2005-12-12 Finished the version 2.01
**************************************************************************************************/
#ifndef CONFIG_H
#define CONFIG_H
/**************************************************************************************************
* Configuration for Task Management Component
**************************************************************************************************/
/* Specifies the max number of priorities, which ranges from 1 to 512 */
#define TSK_MAX_PRIO_NUM 64
/* Specifies the max number of Task Control Block */
#define TSK_MAX_NUM 10
/**************************************************************************************************
* Configuration for Semaphore Management Component
**************************************************************************************************/
/* Specifies the max number of Semaphore Control Block */
#define SEM_MAX_NUM 10
/**************************************************************************************************
* Configuration for Mutex Management Component
**************************************************************************************************/
/* Specifies the max number of Mutex Control Block */
#define MU_MAX_NUM 10
/**************************************************************************************************
* Configuration for Memory Management Component
**************************************************************************************************/
#define K_ALLOC_ZONE_ID 0
#define K_ALLOC_PAGE_NUM 4
/* The unit size must be the multiple of 4(bytes) and be greater than 24 (bytes) */
#define K_ALLOC_UNIT_SIZE 100
#define K_ALLOC_MAX_UNIT_NBR 20
#define MSG_ALLOC_ZONE_ID 0
#define MSG_ALLOC_PAGE_NUM 16
/* The unit size must be the multiple of 4(bytes) and be greater than 24 (bytes) */
#define MSG_ALLOC_UNIT_SIZE 48
#define MSG_ALLOC_MAX_UNIT_NBR 20
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -