twl_wrapsdk/build/libraries/fatfs/ARM7/portmain.c
Shirait 4fe5688d29 add SD driver and FATFS library (tentative)
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/twl_wrapsdk/trunk@96 4ee2a332-4b2b-5046-8439-1ba90f034370
2007-05-30 10:22:28 +00:00

53 lines
1.7 KiB
C

/*
* EBS - RTFS (Real Time File Manager)
*
* Copyright Peter Van Oudenaren , 1993
* All rights reserved.
* This code may not be redistributed in source or linkable object form
* without the consent of its author.
*
*
* Implementation for the generic porting layer
*/
/*
*****************************************************************************
Portmain.c - Main entry point RTOS specific
This file contains the main entry point for the executable. It is
required only if building a stand alone application like our demo.
Several examples of entry point are provided for different operating
systems. The only requirement of the startup module is to call
rtfs_app_entry() from within the contents of a thread. (or of the
main thread for OS's like DOS or UNIX. (see rtfsdemo.c for rtfs_app_entry)
Note: All that is required to use ERTFS is to call pc_rtfs_init() before
using the API This file is required only if building the RTFS DEMO
program as a stand alone application.
If you wish to use the RTFS DEMO program from your existing framework
from your existing simply call rtfs_app_entry().
If you wish to use the RTFS library from your existing framework
from your existing simply call pc_rtfs_init() and then make calls
to the ERTFS API.
*****************************************************************************/
#include <rtfs.h>
// ********************************************************************
// THIS TASK IS THE MAIN PROGRAM
// ********************************************************************
void rtfs_app_entry(void);
/*
void main()
{
rtfs_app_entry();
}
*/
int main()
{
rtfs_app_entry();
return( 0);
}