rtconfig.h.in

来自「RT-Thread是发展中的下一代微内核嵌入式实时操作系统」· IN 代码 · 共 54 行

IN
54
字号
#ifndef __RTT_KERNEL_H__
#define __RTT_KERNEL_H__

/* the maximun length of name */
#define RT_NAME_MAX		8

/* the align size in memory */
#define RT_ALIGN_SIZE		4

/* the maximun priority level of thread */
#define RT_THREAD_PRIORITY_MAX		256

/* the tick number per one second */
#define RT_TICK_PER_SECOND		100

/* the debug options */
/* thread debug */
/* #define RT_THREAD_DEBUG */

/* the debug options */
#define RT_USING_HOOK

/* the IPC features */
/* using semaphore feature */
#define RT_USING_SEMAPHORE
/* using mutex feature */
#define RT_USING_MUTEX
/* using event feature */
#define RT_USING_EVENT
/* using faset event feature */
/* #define RT_USING_FASTEVENT */
/* using mailbox feature */
#define RT_USING_MAILBOX
/* using message queue feature */
#define RT_USING_MESSAGEQUEUE

/* the method of memory management */
/* using memory pool feature */
#define RT_USING_MEMPOOL
/* using dynamic heap management feature */
#define RT_USING_HEAP
/* using virtual memory management feature (must have MMU) */
/* #define RT_USING_VM */

/* support device system in kernel */
/* using device system feature in kernel */
#define RT_USING_DEVICE

/* the option for console */
/* the buffer size which is used in rt_kprintf */
#define RT_CONSOLEBUF_SIZE		128

#endif

⌨️ 快捷键说明

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