cocoOS  5.0.1
os_defines.h File Reference
#include <stdint.h>

Go to the source code of this file.

Macros

#define N_TASKS   10
 
#define N_QUEUES   2
 
#define N_SEMAPHORES   50
 
#define N_EVENTS   50
 
#define NO_MSG_ID   0xff
 
#define ISR_TID   0xfe
 

Typedefs

typedef uint64_t Mem_t
 

Detailed Description

cocoOS user configuration

Macro Definition Documentation

#define N_EVENTS   50

Max number of used events

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

Max number of used message queues

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

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

Typedef Documentation

typedef uint64_t Mem_t

Round Robin scheduling

Remarks
If defined, tasks will be scheduled ignoring the priorities Memory size
Should be set to the size of address pointer