source: rtems-eclipse-plug-in/org.rtems.cdt.toolchain/templates/hello/src/system.h @ f124b04

Last change on this file since f124b04 was f124b04, checked in by Daron Chabot <daron.chabot@…>, on 11/24/08 at 03:01:03

Clean up of plugin.xml and addition of simpler, "Hello World" template.

Removed shared-lib option from c/c++ linker tools: RTEMS doesn't support shared libs.

Removed -D_REENTRANT flag. I've no idea where that came from: it's not in RTEMS or newlib.

Added more stringent test for empty RTEMS_BSP_DEFINED_SYMBOLS environment variable.
NOTE: none of the defs (provided by Robert) for this variable are necessary.

  • Property mode set to 100644
File size: 911 bytes
RevLine 
[f124b04]1/*  system.h
2 *
3 *  This include file contains information that is included in every
4 *  function in the test set.
5 *
6 *  COPYRIGHT (c) 1989-1999.
7 *  On-Line Applications Research Corporation (OAR).
8 *
9 *  The license and distribution terms for this file may be
10 *  found in the file LICENSE in this distribution or at
11 *  http://www.rtems.com/license/LICENSE.
12 *
13 *  $Id$
14 */
15
16#include <rtems.h>
17
18/* functions */
19
20rtems_task Init(
21  rtems_task_argument argument
22);
23
24/* configuration information */
25
26#include <bsp.h> /* for device driver prototypes */
27
28/* NOTICE: the clock driver is explicitly disabled */
29#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
30#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
31
32#define CONFIGURE_MAXIMUM_TASKS            1
33
34#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
35
36#define CONFIGURE_USE_MINIIMFS_AS_BASE_FILESYSTEM
37
38#include <rtems/confdefs.h>
39
40/* end of include file */
Note: See TracBrowser for help on using the repository browser.