What's the meanings of MULTI & MONO in ERIKA!
Posted: Thu Jan 24, 2013 12:13 pm
Here, I found a question.
1. In ERIKA's ee.h, it states the condition to involve the TASK macro which is defined in ee_kernel.h. The codes list below:
So,if you wantta involve TASK macro, the cfg.h file should define the __OO__xx__.
However, in the examples/tricore1/demo_led:
The eecfg.h file doesno't define macros such as __OO_xx__, what's more, it defined the __MONO__. At the same time, the code.c file used the TASK macro to define task.
I followed its style and failed,because the TASK macro is not open.
So, My question:
If I wanta use TASK, must I define __OO__XX__ macro? If so, wy the example provided above doesn't do this (I read the makefile one by one that can influence the code, but didn't find OO definition such as __OO_XX__?
Thanks!
1. In ERIKA's ee.h, it states the condition to involve the TASK macro which is defined in ee_kernel.h. The codes list below:
Code: Select all
...
/* OO */
#if defined(__OO_BCC1__) || defined(__OO_BCC2__) || defined(__OO_ECC1__) || \
defined(__OO_ECC2__) || defined(__AS_SC4__)
#include "kernel/oo/inc/ee_kernel.h"
#endif
...
However, in the examples/tricore1/demo_led:
The eecfg.h file doesno't define macros such as __OO_xx__, what's more, it defined the __MONO__. At the same time, the code.c file used the TASK macro to define task.
I followed its style and failed,because the TASK macro is not open.
So, My question:
If I wanta use TASK, must I define __OO__XX__ macro? If so, wy the example provided above doesn't do this (I read the makefile one by one that can influence the code, but didn't find OO definition such as __OO_XX__?
Thanks!