|
|
|
@ -76,12 +76,23 @@ uint8_t test2_stack[1024];
|
|
|
|
uint8_t test3_stack[1024];
|
|
|
|
uint8_t test3_stack[1024];
|
|
|
|
uint8_t test4_stack[1024];
|
|
|
|
uint8_t test4_stack[1024];
|
|
|
|
uint8_t test5_stack[1024];
|
|
|
|
uint8_t test5_stack[1024];
|
|
|
|
|
|
|
|
uint8_t test6_stack[1024];
|
|
|
|
|
|
|
|
uint8_t test7_stack[1024];
|
|
|
|
|
|
|
|
uint8_t test8_stack[1024];
|
|
|
|
|
|
|
|
uint8_t test9_stack[1024];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//Thread test1_thread = Thread(&test1_stack[sizeof(test1_stack)-1]);
|
|
|
|
//Thread test1_thread = Thread(&test1_stack[sizeof(test1_stack)-1]);
|
|
|
|
Application application1 = Application(&test1_stack[sizeof(test1_stack)-1]);
|
|
|
|
Application application1 = Application(&test1_stack[sizeof(test1_stack)-1]);
|
|
|
|
Application application2 = Application(&test2_stack[sizeof(test2_stack)-1]);
|
|
|
|
Application application2 = Application(&test2_stack[sizeof(test2_stack)-1]);
|
|
|
|
Application application3 = Application(&test3_stack[sizeof(test3_stack)-1]);
|
|
|
|
Application application3 = Application(&test3_stack[sizeof(test3_stack)-1]);
|
|
|
|
Application application4 = Application(&test4_stack[sizeof(test4_stack)-1]);
|
|
|
|
Application application4 = Application(&test4_stack[sizeof(test4_stack)-1]);
|
|
|
|
Application application5 = Application(&test5_stack[sizeof(test5_stack)-1]);
|
|
|
|
Application application5 = Application(&test5_stack[sizeof(test5_stack)-1]);
|
|
|
|
|
|
|
|
Application application6 = Application(&test6_stack[sizeof(test5_stack)-1]);
|
|
|
|
|
|
|
|
Application application7 = Application(&test7_stack[sizeof(test5_stack)-1]);
|
|
|
|
|
|
|
|
Application application8 = Application(&test8_stack[sizeof(test5_stack)-1]);
|
|
|
|
|
|
|
|
Application application9 = Application(&test9_stack[sizeof(test5_stack)-1]);
|
|
|
|
|
|
|
|
|
|
|
|
//Context test2;
|
|
|
|
//Context test2;
|
|
|
|
//uint8_t test2_stack[256];
|
|
|
|
//uint8_t test2_stack[256];
|
|
|
|
@ -127,6 +138,10 @@ extern "C" int main() {
|
|
|
|
sch.ready(&application3);
|
|
|
|
sch.ready(&application3);
|
|
|
|
sch.ready(&application4);
|
|
|
|
sch.ready(&application4);
|
|
|
|
sch.ready(&application5);
|
|
|
|
sch.ready(&application5);
|
|
|
|
|
|
|
|
sch.ready(&application6);
|
|
|
|
|
|
|
|
sch.ready(&application7);
|
|
|
|
|
|
|
|
sch.ready(&application8);
|
|
|
|
|
|
|
|
sch.ready(&application9);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
ApplicationProcessor::boot();
|
|
|
|
ApplicationProcessor::boot();
|
|
|
|
|