/**
 * @file tasks_s7.oil
 *
 * @section desc File description
 *
 * @section copyright Copyright
 *
 * Trampoline Test Suite
 *
 * Trampoline Test Suite is copyright (c) IRCCyN 2005-2007
 * Trampoline Test Suite is protected by the French intellectual property law.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; version 2
 * of the License.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 *
 * @section infos File informations
 *
 * $Date$
 * $Rev$
 * $Author$
 * $URL$
 */

OIL_VERSION = "2.5" : "tasks_s7";

#include <arch.oil>

IMPLEMENTATION trampoline {
  TASK {
    UINT32 [1..10] PRIORITY = 1;
  };
};

CPU test {
  OS config {
    STATUS = STANDARD;
    BUILD = TRUE {
      APP_SRC = "tasks_s7.c";
      APP_SRC = "task1_instance1.c";
      APP_SRC = "task1_instance2.c";
      APP_SRC = "task1_instance3.c";
      APP_SRC = "task2_instance1.c";
      APP_SRC = "task2_instance2.c";
      APP_SRC = "task3_instance1.c";
      APP_SRC = "task3_instance2.c";
      TRAMPOLINE_BASE_PATH = "../../..";
      APP_NAME = "tasks_s7_exe";
    };
    SHUTDOWNHOOK = TRUE;
  };

  APPMODE std {};

  TASK t1 {
    AUTOSTART = TRUE { APPMODE = std; };
    PRIORITY = 1;
    ACTIVATION = 2;
    SCHEDULE = NON;
  };

  TASK t2 {
    AUTOSTART = FALSE;
    PRIORITY = 2;
    ACTIVATION = 2;
    SCHEDULE = NON;
  };

  TASK t3 {
    AUTOSTART = FALSE;
    PRIORITY = 3;
    ACTIVATION = 2;
    SCHEDULE = NON;
  };
};

/* End of file tasks_s7.oil */