Go to the documentation of this file.
18 #if defined(EXTERNAL_CONFIG)
19 #include EXTERNAL_CONFIG
22 #define OS_CONFIG_HOOK_STARTUP true
23 #define OS_CONFIG_HOOK_SHUTDOWN true
24 #define OS_CONFIG_HOOK_PRE_TASK true
25 #define OS_CONFIG_HOOK_POST_TASK true
26 #define OS_CONFIG_HOOK_ERROR true
27 #define OS_CONFIG_HOOK_PROTECTION false
29 #define OS_CONFIG_EXTENDED true
31 #define OS_CONFIG_MAX_ERROR_PARAM 3
33 #define OS_CONFIG_STACK_MONITORING 3
36 #define OS_CONFIG_SIM false
65 #if defined (OS_CONFIG_SIM) && OS_CONFIG_SIM == true
@ ALARM_ACTION_COUNTER
Alarm increments counter on expiration.
#define OS_CONFIG_SCHEDULE_TABLE_EXPIRY_POINT_DEF_END
Ending of expiry point definition.
#define OS_CONFIG_ALARM_END
End of alarm definitions.
#define OS_CONFIG_SCHEDULE_TABLE_EVENT_ACTIONS_BEGIN
Beginning of event actions definitions.
OS_CONFIG_INTERNAL_RESOURCE_BEGIN OS_CONFIG_INTERNAL_RESOURCE_END OS_CONFIG_TASK_BEGIN OS_CONFIG_TASK_END OS_CONFIG_INT_BEGIN OS_CONFIG_INT_END OS_CONFIG_RESOURCE_BEGIN OS_CONFIG_RESOURCE_END OS_CONFIG_COUNTER_BEGIN OS_CONFIG_COUNTER_END OS_CONFIG_ALARM_CALLBACK(AlarmCb)
@ EXTENDED
The task is a extended task.
#define OS_CONFIG_RESOURCE_END
End of resource definitions.
#define OS_CONFIG_INT_END
Ending of interrupt definitions.
#define OS_CONFIG_TASK_END
Ending of task definitions.
@ SOFTWARE
Counter is implemented in software.
@ PREEMPTIVE
The task may be preempted by another task.
#define OS_CONFIG_INTERNAL_RESOURCE_BEGIN
Beginning of internal resource definitions.
#define OS_CONFIG_SCHEDULE_TABLE_BEGIN
Beginning of schedule tables definitions.
#define OS_CONFIG_INTERNAL_RESOURCE_END
End of internal resource definitions.
@ ALARM_ACTION_CALLBACK
Alarm calls callback on expiration.
#define OS_CONFIG_COUNTER_END
End of counter definitions.
#define OS_CONFIG_SCHEDULE_TABLE_DEF_BEGIN(Name, Counter, AutoStart, Cyclic, FinalDelay)
Beginning schedule table definition.
#define OS_CONFIG_COUNTER_BEGIN
Begin of counter definitions.
@ AUTOSTART
Autostart task.
#define OS_CONFIG_ALARM_DEF(Name, Base, AutoStart, Event, Type, Action, Expiration, Cycle)
Alarm definition.
#define OS_CONFIG_ALARM_BEGIN
Begin of alarm definitions.
#define OS_CONFIG_SCHEDULE_TABLE_EXPIRY_POINTS_END
Ending of expiry points definitions.
@ ALARM_ACTION_TASK
Alarm activates task on expiration.
#define OS_CONFIG_COUNTER_DEF(Name, MaxAllowedValue, MinCycle, TicksPerBase, Type, SecondsPerTick)
Counter definition.
#define OS_CONFIG_SYSTEM_STACK(Size)
Specify size of system stack.
#define OS_CONFIG_INTERNAL_RESOURCE_DEF(Name, Prio)
Internal resource definition.
#define OS_CONFIG_SCHEDULE_TABLE_TASK_ACTIONS_END
Ending of task actions definitions.
@ BASIC
The task is a basic task, thus unable to wait on an event.
Macros used for generation of system.
#define OS_CONFIG_SCHEDULE_TABLE_DEF_END
Ending of schedule table definition.
#define OS_CONFIG_TASK_BEGIN
Beginning of task definitions.
#define OS_CONFIG_RESOURCE_DEF(Name, Prio)
Resource definition.
#define OS_CONFIG_SCHEDULE_TABLE_END
End of schedule table definitions.
@ NON_PREEMPTIVE
The task may not be preempted.
#define OS_CONFIG_SCHEDULE_TABLE_EVENT_ACTIONS_END
Ending of event actions definitions.
#define OS_CONFIG_RESOURCE_BEGIN
Beginning of resource definitions.
@ ALARM_ACTION_EVENT
Alarm sets event on expiration.
#define OS_CONFIG_SCHEDULE_TABLE_EXPIRY_POINTS_BEGIN(NumExpiryPoints)
Beginning of expiry points definition.
@ NO_AUTOSTART
Do not autostart task.
#define OS_CONFIG_INT_BEGIN
Beginning of interrupt definitions.
#define OS_CONFIG_INT_DEF(Name, Prio)
Interrupt definition.
#define OS_CONFIG_SCHEDULE_TABLE_TASK_ACTION_DEF(Task)
Definition of task action.
#define OS_CONFIG_SCHEDULE_TABLE_TASK_ACTIONS_BEGIN
Beginning of task actions definitions.
#define OS_CONFIG_SCHEDULE_TABLE_EXPIRY_POINT_DEF_BEGIN(Offset, NumTaskActions, NumEventActions)
Beginning of expiry point definition.
#define OS_CONFIG_TASK_DEF(Name, Prio, StackSize, NumberOfActivations, Autostart, TaskType, TaskSchedule, Res, Events)
Task definition.
#define OS_CONFIG_SCHEDULE_TABLE_EVENT_ACTION_DEF(Task, Event)
Definition of event action.