A(rduino) OS
Simple Task Scheduler for Arduino Development Board
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
aos_config.h File Reference

This file stores some basic configuration variables for AOS. More...

Go to the source code of this file.

Macros

#define AOS_SCHED_TIMER   2
 which timer to use as a tick generator More...
 
#define AOS_COMMON_IDLE_TASK_STACK_SIZE   32
 stack size for the IDLE task More...
 
#define AOS_CHECK_FOR_STACK_CORRUPTION   1
 should aos check every tick if stack pointer of current task exceeded valid value range More...
 
#define AOS_IMPLEMENT_SYSTEM_HALTED   0
 implement support for system halted hook More...
 
#define AOS_SCHED_TASK_QUANTA_PRIORITY_HIGH   196
 number of quanta assigned for HIGH priority tasks More...
 
#define AOS_SCHED_TASK_QUANTA_PRIORITY_NORMAL   32
 number of quanta assigned for NORMAL priority tasks More...
 
#define AOS_SCHED_TASK_QUANTA_PRIORITY_LOW   8
 number of quanta assigned for LOW priority tasks More...
 
#define AOS_SCHED_TASK_QUANTA_PRIORITY_IDLE   2
 number of quanta assigned for IDLE priority tasks More...
 

Detailed Description

This file stores some basic configuration variables for AOS.

This file stores an AOS global options available to the user. One may customize this values without modifying the actual implementation.

Definition in file aos_config.h.

Macro Definition Documentation

#define AOS_CHECK_FOR_STACK_CORRUPTION   1

should aos check every tick if stack pointer of current task exceeded valid value range

Definition at line 50 of file aos_config.h.

#define AOS_COMMON_IDLE_TASK_STACK_SIZE   32

stack size for the IDLE task

Definition at line 45 of file aos_config.h.

#define AOS_IMPLEMENT_SYSTEM_HALTED   0

implement support for system halted hook

Definition at line 55 of file aos_config.h.

#define AOS_SCHED_TASK_QUANTA_PRIORITY_HIGH   196

number of quanta assigned for HIGH priority tasks

Definition at line 60 of file aos_config.h.

#define AOS_SCHED_TASK_QUANTA_PRIORITY_IDLE   2

number of quanta assigned for IDLE priority tasks

Definition at line 75 of file aos_config.h.

#define AOS_SCHED_TASK_QUANTA_PRIORITY_LOW   8

number of quanta assigned for LOW priority tasks

Definition at line 70 of file aos_config.h.

#define AOS_SCHED_TASK_QUANTA_PRIORITY_NORMAL   32

number of quanta assigned for NORMAL priority tasks

Definition at line 65 of file aos_config.h.

#define AOS_SCHED_TIMER   2

which timer to use as a tick generator

Definition at line 40 of file aos_config.h.