From f8960639c8d01324afca9ab8f731b4e26b4fee07 Mon Sep 17 00:00:00 2001 From: Manas Dalakoti <knightxer...@gmail.com> Date: Sun, 5 Jul 2020 18:18:28 +0530 Subject: [PATCH] Gsoc First Patch
Signed-off-by: Manas Dalakoti <knightxer...@gmail.com> --- hello.doc | 9 +++++++++ hello.scn | 3 +++ init.c | 44 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 56 insertions(+) create mode 100644 hello.doc create mode 100644 hello.scn create mode 100644 init.c diff --git a/hello.doc b/hello.doc new file mode 100644 index 0000000..9812864 --- /dev/null +++ b/hello.doc @@ -0,0 +1,9 @@ +# COPYRIGHT (c) 1989-1999. +# 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. +# + + diff --git a/hello.scn b/hello.scn new file mode 100644 index 0000000..d9e92d8 --- /dev/null +++ b/hello.scn @@ -0,0 +1,3 @@ +*** HELLO WORLD TEST *** +Hello World +*** END OF HELLO WORLD TEST *** diff --git a/init.c b/init.c new file mode 100644 index 0000000..f2516f6 --- /dev/null +++ b/init.c @@ -0,0 +1,44 @@ +/* + * 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.h> +#include <tmacros.h> + +const char rtems_test_name[] = "HELLO WORLD"; + +static rtems_task Init( + rtems_task_argument ignored +) +{ + rtems_print_printer_fprintf_putc(&rtems_test_printer); + TEST_BEGIN(); + printf( "\n 01001000 01100101 01101100 01101100 01101111 00100000 01010111 01101111 01110010 01101100 01100100 \n" ); + TEST_END(); + rtems_test_exit( 0 ); +} + + +/* NOTICE: the clock driver is explicitly disabled */ +#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 1 + +#define CONFIGURE_RTEMS_INIT_TASKS_TABLE + +#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT + +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + +#define CONFIGURE_INIT +#include <rtems/confdefs.h> -- 2.27.0