how to tailor the RTEMS application?
red-eye at 263.net
red-eye at 263.net
Thu May 24 15:02:07 UTC 2001
i am using ERC32CCS,i compiler the "hello-world" sample
the exe file without debug information was 115k bytes
it is too big ,how can i make it more small?
has the config using confdefs.h in the "hello-world" already tailor the RTOS to the smallest?
/*
* Simple test program -- simplified version of sample test hello.
*/
#define TEST_INIT
#include <bsp.h>
#include <stdio.h>
rtems_task Init(
rtems_task_argument ignored
)
{
printf( "\n\n*** HELLO WORLD TEST ***\n" );
printf( "Hello World\n" );
printf( "*** END OF HELLO WORLD TEST ***\n" );
exit( 0 );
}
/* configuration information */
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT
#include <confdefs.h>
/* end of file */
is the confdefs.h the only way to tailor RTEMS?
thaks alot
_____________________________________________
ÊýÂë²úÆ·ÐÂÉÏÊУ¬¿á http://shopping.263.net/category21.htm
¾«Æ·Ð¡¼ÒµçÓÏÄÈÈÂô http://shopping.263.net/category23.htm
More information about the users
mailing list