source: rtems/testsuites/psxtests/psxstat/main.c @ e9588d5f

5
Last change on this file since e9588d5f was e9588d5f, checked in by Sebastian Huber <sebastian.huber@…>, on 01/19/18 at 09:03:53

psxstat: Use floating-point task

This test uses sprintf().

  • Property mode set to 100644
File size: 1.1 KB
Line 
1/*
2 *  COPYRIGHT (c) 1989-2012.
3 *  On-Line Applications Research Corporation (OAR).
4 *
5 *  The license and distribution terms for this file may be
6 *  found in the file LICENSE in this distribution or at
7 *  http://www.rtems.org/license/LICENSE.
8 */
9
10
11#ifdef HAVE_CONFIG_H
12#include "config.h"
13#endif
14
15#include <bsp.h>
16#include <pmacros.h>
17
18/* forward declarations to avoid warnings */
19rtems_task Init(rtems_task_argument ignored);
20void test_main(void);
21
22rtems_task Init(
23  rtems_task_argument ignored
24)
25{
26  test_main();
27  rtems_test_exit( 0 );
28}
29
30/* configuration information */
31
32#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER
33#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
34
35#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 10
36
37#define CONFIGURE_FILESYSTEM_IMFS
38
39#define CONFIGURE_MAXIMUM_TASKS 1
40
41#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
42
43#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
44#define CONFIGURE_INIT_TASK_STACK_SIZE    (RTEMS_MINIMUM_STACK_SIZE * 2)
45#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT
46
47#define CONFIGURE_INIT
48
49#include <rtems/confdefs.h>
50
51/* end of file */
Note: See TracBrowser for help on using the repository browser.