cocoOS  4.0.0
os_defines.h File Reference

Go to the source code of this file.

Macros

#define N_TASKS   10
 
#define N_QUEUES   20
 
#define N_SEMAPHORES   5
 
#define N_EVENTS   5
 
#define ROUND_ROBIN
 
#define NO_MSG_ID   0xff
 
#define ISR_TID   0xfe
 

Typedefs

typedef uint32_t Mem_t
 

Detailed Description

cocoOS user configuration

Macro Definition Documentation

#define N_EVENTS   5

Max number of used events

Remarks
Must be defined.
Allowed range: 0-254. Value must not be exceeded
#define N_QUEUES   20

Max number of used message queues

Remarks
Must be defined.
Allowed range: 0-254. Value must not be exceeded
#define N_SEMAPHORES   5

Max number of used semaphores

Remarks
Must be defined.
Allowed range: 0-254. Value must not be exceeded
#define N_TASKS   10

Max number of used tasks

Remarks
Must be defined.
Allowed range: 0-254. Value must not be exceeded
#define ROUND_ROBIN

Round Robin scheduling

Remarks
If defined, tasks will be scheduled ignoring the priorities

Typedef Documentation

typedef uint32_t Mem_t

Memory size

Remarks
Should be set to the size of address pointer