ada-examples-4-10-branch
Last change
on this file since 964021d was
58ff82d,
checked in by Joel Sherrill <joel.sherrill@…>, on 07/08/08 at 15:33:39
|
2008-07-08 Joel Sherrill <joel.sherrill@…>
- gen-soccon.c, gsocket.h, init.c: Update.
|
-
Property mode set to
100644
|
File size:
566 bytes
|
Line | |
---|
1 | /* |
---|
2 | * Simple main wrapper for RTEMS with configuration |
---|
3 | */ |
---|
4 | |
---|
5 | #include <bsp.h> |
---|
6 | |
---|
7 | #include <stdlib.h> |
---|
8 | |
---|
9 | rtems_task Init( |
---|
10 | rtems_task_argument ignored |
---|
11 | ) |
---|
12 | { |
---|
13 | extern int main( int, char ** ); |
---|
14 | main( 0, NULL ); |
---|
15 | exit( 0 ); |
---|
16 | } |
---|
17 | |
---|
18 | /* configuration information */ |
---|
19 | |
---|
20 | /* NOTICE: the clock driver is explicitly disabled */ |
---|
21 | #define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER |
---|
22 | |
---|
23 | #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER |
---|
24 | |
---|
25 | #define CONFIGURE_RTEMS_INIT_TASKS_TABLE |
---|
26 | |
---|
27 | #define CONFIGURE_MAXIMUM_TASKS 1 |
---|
28 | |
---|
29 | #define CONFIGURE_INIT |
---|
30 | |
---|
31 | #include <rtems/confdefs.h> |
---|
32 | |
---|
33 | /* end of file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.