summaryrefslogtreecommitdiff
path: root/software/mpu/src/boot.c
diff options
context:
space:
mode:
Diffstat (limited to 'software/mpu/src/boot.c')
-rw-r--r--software/mpu/src/boot.c57
1 files changed, 57 insertions, 0 deletions
diff --git a/software/mpu/src/boot.c b/software/mpu/src/boot.c
new file mode 100644
index 0000000..1f18918
--- /dev/null
+++ b/software/mpu/src/boot.c
@@ -0,0 +1,57 @@
+/*
+ * boot.c
+ *
+ * Created on: 13.09.2011
+ * Author: Roland
+ */
+
+#include "Types.h"
+#include "FreeRTOS.h"
+#include "task.h"
+#include "queue.h"
+
+//static void kernel_Process_Task(void *Param);
+//static xTaskHandle *pkernel_TaskHandle;
+//static Task_Param_t kernel_Param;
+
+Status_t kernel_Init_Kernel(xQueueHandle * pxQueue);
+
+Status_t boot_Init_Kernel(xQueueHandle * pxQueue)
+{
+ return kernel_Init_Kernel( pxQueue );
+}
+Status_t boot_Init_Camera(xQueueHandle * pxQueue)
+{
+ return STATUS_OK;
+}
+Status_t boot_Init_LightSens(xQueueHandle * pxQueue)
+{
+ return STATUS_OK;
+}
+
+Status_t boot_CreateQueues( xQueueHandle *pxQueue_Kernel,
+ xQueueHandle *pxQueue_Camera,
+ xQueueHandle *pxQueue_LightSens)
+{
+ return STATUS_OK;
+}
+void boot_Main(void)
+{
+ /*
+ *
+ * */
+ Status_t Status;
+ xQueueHandle * pxQueue_Kernel = NULL,
+ * pxQueue_Camera = NULL,
+ * pxQueue_LightSens = NULL;
+
+ Status = boot_CreateQueues(pxQueue_Kernel, pxQueue_Camera, pxQueue_LightSens);
+
+ Status = boot_Init_Kernel(pxQueue_Kernel);
+ Status = boot_Init_Camera(pxQueue_Camera);
+ Status = boot_Init_LightSens(pxQueue_LightSens);
+
+ /* Start the tasks. */
+ vTaskStartScheduler();
+}
+