-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.oil
90 lines (79 loc) · 1.47 KB
/
default.oil
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
/*
* This is a OIL file generated by OILGenerator by Joost Mertens
* Generated on: 2018-06-27 14:06:59.727000
* just call goil a first time using the command line:
* goil --target=avr/arduino/mega --templates=../../../../goil/templates/ file_name_placeholder.oil
*/
OIL_VERSION = "2.5" : "test";
CPU test {
OS OSConfig {
STATUS = STANDARD;
BUILD = TRUE {
TRAMPOLINE_BASE_PATH = "../../../..";
APP_NAME = "programmingFile";
APP_SRC = "default.cpp";
CPPCOMPILER = "avr-g++";
COMPILER = "avr-gcc";
LINKER = "avr-gcc";
ASSEMBLER = "avr-gcc";
COPIER = "avr-objcopy";
SYSTEM = PYTHON;
LIBRARY = matlab;
};
};
APPMODE stdAppmode {DEFAULT = TRUE;};
ALARM DebounceAlarm {
COUNTER = SystemCounter;
ACTION = ACTIVATETASK {
TASK = Debounce;
};
AUTOSTART = TRUE {
ALARMTIME = 10;
CYCLETIME = 10;
APPMODE = stdAppmode;
};
};
ALARM Window_ControlAlarm {
COUNTER = SystemCounter;
ACTION = ACTIVATETASK {
TASK = Window_Control;
};
AUTOSTART = TRUE {
ALARMTIME = 25;
CYCLETIME = 25;
APPMODE = stdAppmode;
};
};
TASK Debounce {
PRIORITY = 2;
AUTOSTART = TRUE {
APPMODE = stdAppmode;
};
ACTIVATION = 1;
SCHEDULE = FULL;
STACKSIZE = 512;
};
TASK Window_Control {
PRIORITY = 5;
AUTOSTART = TRUE {
APPMODE = stdAppmode;
};
ACTIVATION = 1;
SCHEDULE = FULL;
STACKSIZE = 512;
};
ISR Down{
CATEGORY = 2;
PRIORITY = 15;
STACKSIZE = 512;
SOURCE = Triggered
Subsystem1;
};
ISR Up{
CATEGORY = 2;
PRIORITY = 15;
STACKSIZE = 512;
SOURCE = Triggered
Subsystem;
};
};