Changeset a26bba5 in examples-v2


Ignore:
Timestamp:
Mar 3, 2011, 6:00:34 PM (8 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 286403d7a3d0e521179e677c0d2fd7549c9ceab4
Children:
337f820
Parents:
c882040
Message:

2011-03-03 Joel Sherrill <joel.sherrilL@…>

  • event_server/init.c, msg_server/init.c, sem_server/init.c, timer/init.c, timer_server/init.c: Example clean up.
Location:
led
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • led/ChangeLog

    rc882040 ra26bba5  
     12011-03-03      Joel Sherrill <joel.sherrilL@OARcorp.com>
     2
     3        * event_server/init.c, msg_server/init.c, sem_server/init.c,
     4        timer/init.c, timer_server/init.c: Example clean up.
     5
    162010-04-29      Joel Sherrill <joel.sherrilL@OARcorp.com>
    27
  • led/event_server/init.c

    rc882040 ra26bba5  
    4141  }
    4242}
    43 
    4443
    4544rtems_task Init(
  • led/msg_server/init.c

    rc882040 ra26bba5  
    5656  LED_INIT();
    5757
     58  status = rtems_message_queue_create(
     59    rtems_build_name( 'Q', '1', ' ', ' ' ),
     60    1,
     61    sizeof(uint32_t),
     62    RTEMS_DEFAULT_ATTRIBUTES,
     63    &Queue_id
     64  );
     65
    5866  task_name = rtems_build_name( 'T', 'A', '1', ' ' );
    5967
     
    6472
    6573  status = rtems_task_start( task_id, Test_task, 1 );
    66 
    67   status = rtems_message_queue_create(
    68     rtems_build_name( 'Q', '1', ' ', ' ' ),
    69     1,
    70     sizeof(uint32_t),
    71     RTEMS_DEFAULT_ATTRIBUTES,
    72     &Queue_id
    73   );
    7474
    7575  for (count=0; ; count++) {
  • led/sem_server/init.c

    rc882040 ra26bba5  
    5959  LED_INIT();
    6060
    61   task_name = rtems_build_name( 'T', 'A', '1', ' ' );
    62 
    6361  status = rtems_semaphore_create(
    6462    rtems_build_name( 'S', 'E', 'M', ' ' ),
     
    6967  );
    7068  assert( status == RTEMS_SUCCESSFUL );
     69
     70  task_name = rtems_build_name( 'T', 'A', '1', ' ' );
    7171
    7272  status = rtems_task_create(
     
    106106
    107107/**************** START OF CONFIGURATION INFORMATION ****************/
    108 
    109 #define CONFIGURE_INIT
    110108#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
    111109#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
     
    118116#define CONFIGURE_EXTRA_TASK_STACKS         (3 * RTEMS_MINIMUM_STACK_SIZE)
    119117
     118#define CONFIGURE_INIT
    120119#include <rtems/confdefs.h>
    121 
    122120/****************  END OF CONFIGURATION INFORMATION  ****************/
  • led/timer/init.c

    rc882040 ra26bba5  
    9393/**************** START OF CONFIGURATION INFORMATION ****************/
    9494
    95 #define CONFIGURE_INIT
    9695#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
    9796#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
     
    104103#define CONFIGURE_EXTRA_TASK_STACKS         (3 * RTEMS_MINIMUM_STACK_SIZE)
    105104
     105#define CONFIGURE_INIT
    106106#include <rtems/confdefs.h>
    107 
    108107/****************  END OF CONFIGURATION INFORMATION  ****************/
  • led/timer_server/init.c

    rc882040 ra26bba5  
    7474/**************** START OF CONFIGURATION INFORMATION ****************/
    7575
    76 #define CONFIGURE_INIT
    7776#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
    7877#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
     
    8584#define CONFIGURE_EXTRA_TASK_STACKS         (3 * RTEMS_MINIMUM_STACK_SIZE)
    8685
     86#define CONFIGURE_INIT
    8787#include <rtems/confdefs.h>
    88 
    8988/****************  END OF CONFIGURATION INFORMATION  ****************/
Note: See TracChangeset for help on using the changeset viewer.