Golem  v0.1.1
Generic Operating system Libraries for Embedded Multitasking
 All Data Structures Files Functions Variables Pages
/home/ruud/Engineering/software/projects/golem-project-code/trunk/glm_conf.h
Go to the documentation of this file.
1 
20 #ifndef _GLM_CONF_H_
21 #define _GLM_CONF_H_
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
27 /* USER-ADDED INCLUDES ***********************************************/
28 #include "../timer.h"
29 
30 #include "../taskB.h"
31 
32 
33 /* DEFINES & CONSTANTS ***********************************************/
34 /* Core Configuration ************************************************/
35 // Mandatory:
36 #define CORE_64BIT
37 #define CORE_TICK_FREQ_HZ 1000
38 // Optional:
39 #define CORE_TMR_FREQ_HZ CLOCKS_PER_SEC
40 #define CORE_SUBTICK_FUNC timer_subtick
41 
42 /* Scheduler Configuration *******************************************/
43 // Mandatory:
44 #define SCHEDULER_SLOT_SIZE_TICKS 1
45 // Optional:
46 //#define SCHEDULER_IDLE_FUNC_TH 5
47 //#define SCHEDULER_IDLE_ENTER_FUNC
48 //#define SCHEDULER_IDLE_LEAVE_FUNC
49 
50 
51 #ifdef __cplusplus
52 }
53 #endif
54 
55 #endif /* _GLM_CONF_H_ */
56