Hello developers,

I am an embedded systems enthusiast and am looking forward to contributing to 
the RTEMS project and getting accepted into it for GSoC 2019.

Please find attached the files as per the 'Getting Started' tutorial for your 
reference.

Thank you,
Syed Humaid

From 47a1afa1a283d54641f67e34446b58fe9092f607 Mon Sep 17 00:00:00 2001
From: Ubuntu
 <s...@ubuntu1.4obxdks5shaudmr0jmg1ainqgb.bx.internal.cloudapp.net>
Date: Sun, 3 Mar 2019 12:59:17 +0000
Subject: [PATCH] GSOC RTEMS Getting Started Hello World Test

---
 init.c | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)
 create mode 100644 init.c

diff --git a/init.c b/init.c
new file mode 100644
index 0000000..8f0466e
--- /dev/null
+++ b/init.c
@@ -0,0 +1,49 @@
+/*
+ *  COPYRIGHT (c) 1989-2012.
+ *  On-Line Applications Research Corporation (OAR).
+ *
+ *  The license and distribution terms for this file may be
+ *  found in the file LICENSE in this distribution or at
+ *  http://www.rtems.org/license/LICENSE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <rtems/test.h>
+
+#include <bsp.h> /* for device driver prototypes */
+
+#include <stdio.h>
+#include <stdlib.h>
+
+/* forward declarations to avoid warnings */
+rtems_task Init(rtems_task_argument argument);
+
+const char rtems_test_name[] = "HELLO WORLD";
+
+rtems_task Init(
+  rtems_task_argument ignored
+)
+{
+  rtems_test_begin();
+  printf( "He110 GSOC 2019 World --- RTEMS !!!!\n" );
+  rtems_test_end();
+  exit( 0 );
+}
+
+
+/* NOTICE: the clock driver is explicitly disabled */
+#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
+#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
+
+#define CONFIGURE_MAXIMUM_TASKS            1
+#define CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM
+
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
+#define CONFIGURE_INIT
+#include <rtems/confdefs.h>
-- 
2.17.1


_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to