📄 ebos_cfg.h
字号:
#if !defined(__EBOS_CFG_H)
#define __EBOS_CFG_H
/*
*********************************************************************************************************
* DATA TYPES
* (Compiler Specific)
*********************************************************************************************************
*/
/*
*********************************************************************************************************
*
*********************************************************************************************************
*/
#define STACK_CHECK FALSE
#define DEBUG FALSE
#define ENABLE_SIGNAL_HANDLE TRUE
#define DIRECT_SCHED TRUE
#define ENABLE_MEM TRUE
#define WAIT_QUEUE_ALLOC_MODE FALSE
#define MAX_WAIT_QUEUE_SIZE 20
#define SYS_POOL_SIZE 32000
#define EVENT_POOL_SIZE 1024
#define MAX_TASK_NUM 5
#define MAX_HISR_NUM 5
#define MAX_EVENT_NUM 5
#define MAX_QUEUE_NUM 5
#define MAX_POOL_NUM 5
#define MAX_MAILBOX_NUM 5
#define MAX_SEM_NUM 20
#define MAX_APPTIMER_NUM 5
#define MAX_DEVICE_NUM 5
#define MAX_TIMER_NUM 5
#define MAX_PIPE_NUM 5
/*NET CONFIG */
#define MAX_SOCKET_NUM 128
#define SOCKET_MAX_CONN 5
#define NET_INTERFACE_NUM 2
#define EP_PACKET_POOL_SIZE 820
#define SND_BUFFER_POOL_SIZE 5120
#define TCP_PACKET_SIZE 512
#define LARGE_PACKET_SIZE 2048
#define ARP_ENTRY_NUM 10 /* ARP cache size */
#define TCB_TABLE_SIZE 5
#define DEFAULT_QUEUE_SIZE 5
#define UDP_PORTS 5
#define RT_TABLE_SIZE 4 /* these are pointers; it's cheap */
#define USE_SOCKET TRUE
#define TCP_WND_CONTROL FALSE
#define BSDURG FALSE
#define GATEWAY TRUE
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -