/******************************************************************************* * C H A M E L E O N S. D. K. * ******************************************************************************* * $Archive:: /Chameleon.sdk/src/examples/hello/main.c $ * $Date:: 18/02/02 11:53 $ * $Revision:: 6 $ *-----------------------------------------------------------------------------* * This file is part of the Chameleon Software Development Kit * * * * Copyright (C) 2001-2002 Soundart * * www.soundart-hot.com * * support@soundart-hot.com * ******************************************************************************/ #include <stdlib.h>#include <stdio.h>#include <rtems.h>#include <chameleon.h> /******************************************************************************/#define WORKSPACE_SIZE 128*1024rtems_unsigned32 rtems_workspace_size = WORKSPACE_SIZE;rtems_unsigned32 rtems_workspace_start[WORKSPACE_SIZE];/******************************************************************************/ rtems_task rtems_main(rtems_task_argument ignored){ int panel; TRACE("Hello World/n"); panel = panel_init(); if (panel) { panel_out_lcd_print(panel, 0, 0, "HELLO "); panel_out_lcd_print(panel, 1, 0, "WORLD "); } rtems_task_delete(RTEMS_SELF);}