Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:24:40

0001 /*
0002  * COPYRIGHT (c) 2019.
0003  * On-Line Applications Research Corporation (OAR).
0004  *
0005  * SPDX-License-Identifier: BSD-2-Clause
0006  */
0007 
0008 #include <rtems.h>
0009 #include <stdlib.h>
0010 
0011 int main(int argc, char **argv);
0012 
0013 static char *argv_list[] = {
0014   "report",
0015   ""
0016 };
0017 static rtems_task Init(rtems_task_argument arg)
0018 {
0019   (void) arg;  /* deliberately ignored */
0020 
0021   /*
0022    * Initialize optional services
0023    */
0024 
0025   /*
0026    * Could get arguments from command line or have a static set.
0027    */
0028   (void) main(1, argv_list);
0029 
0030   exit(0);
0031 }
0032 
0033 #include <bsp.h> /* for device driver prototypes */
0034 
0035 /* NOTICE: the clock driver is explicitly disabled */
0036 #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
0037 #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
0038 
0039 #define CONFIGURE_RTEMS_INIT_TASKS_TABLE
0040 
0041 #define CONFIGURE_UNLIMITED_OBJECTS
0042 #define CONFIGURE_UNIFIED_WORK_AREAS
0043 
0044 #define CONFIGURE_INIT
0045 #include <rtems/confdefs.h>