OSDN Git Service

Update samples to nxtOSEK_v212.zip (I did not check their licenses.)
[nxt-jsp/etrobo-atk.git] / nxtOSEK / samples_c++ / cpp / BTConnection / sample.oil
diff --git a/nxtOSEK/samples_c++/cpp/BTConnection/sample.oil b/nxtOSEK/samples_c++/cpp/BTConnection/sample.oil
new file mode 100644 (file)
index 0000000..a4e3f30
--- /dev/null
@@ -0,0 +1,34 @@
+#include "implementation.oil"\r
+\r
+CPU ATMEL_AT91SAM7S256\r
+{\r
+  OS LEJOS_OSEK\r
+  {\r
+    STATUS = EXTENDED;\r
+    STARTUPHOOK = FALSE;\r
+    ERRORHOOK = FALSE;\r
+    SHUTDOWNHOOK = FALSE;\r
+    PRETASKHOOK = FALSE;\r
+    POSTTASKHOOK = FALSE;\r
+    USEGETSERVICEID = FALSE;\r
+    USEPARAMETERACCESS = FALSE;\r
+    USERESSCHEDULER = FALSE;\r
+  };\r
+\r
+  /* Definition of application mode */\r
+  APPMODE appmode1{}; \r
+\r
+  /* Definition of TaskMain */\r
+  TASK TaskMain\r
+  {\r
+    AUTOSTART = TRUE\r
+    {\r
+      APPMODE = appmode1;\r
+    };\r
+    PRIORITY = 1; /* lowest priority */\r
+    ACTIVATION = 1;\r
+    SCHEDULE = FULL;\r
+    STACKSIZE = 512;\r
+  };\r
+};\r
+\r