-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconf.oil
68 lines (57 loc) · 1.32 KB
/
conf.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
OIL_VERSION = "2.5" : "test" ;
CPU test {
OS config {
STATUS = STANDARD;
BUILD = TRUE {
TRAMPOLINE_BASE_PATH = "../../trampoline";
APP_NAME = "MorseTwitter";
APP_SRC = "src/code.cpp";
APP_SRC = "src/task.cpp";
APP_SRC = "src/comm_fnct.cpp";
APP_SRC = "src/callback.cpp";
CPPCOMPILER = "avr-g++";
COMPILER = "avr-gcc";
LINKER = "avr-gcc";
ASSEMBLER = "avr-gcc";
COPIER = "avr-objcopy";
SYSTEM = PYTHON;
//CFLAGS = "-D DEBUG"; // Uncomment this line if you want to read debug info from serial port
//LIBRARY = serial; // Uncomment this line if you want to read debug info from serial port
};
SYSTEM_CALL = TRUE;
};
APPMODE stdAppmode {};
EVENT EVTGeneralOneShot {
MASK = 0x01;
};
TASK TaskTwitterer {
PRIORITY = 0x1;
AUTOSTART = TRUE {
APPMODE = stdAppmode;
};
SCHEDULE = NON;
ACTIVATION = 1;
STACKSIZE = 80;
EVENT = EVTGeneralOneShot;
};
COUNTER SystemCounter {
MINCYCLE = 1;
MAXALLOWEDVALUE = 0xffffff;
TICKSPERBASE = 1;
};
ALARM ALARMGeneralOneShot {
COUNTER = SystemCounter;
AUTOSTART = FALSE;
ACTION = SETEVENT {
TASK = TaskTwitterer;
EVENT = EVTGeneralOneShot;
};
};
ALARM ALARMStopDisplay {
COUNTER = SystemCounter;
AUTOSTART = FALSE;
ACTION = ALARMCALLBACK {
ALARMCALLBACKNAME = "ALARMStopDisplay";
};
};
};