filerdback (file read-back) sample app

Gene Smith gds at chartertn.net
Tue Sep 2 16:04:14 UTC 2008


Joel Sherrill wrote:
> Runs now.  It was an old user bug report and hadn't been updated
> to have a correct configuration.  It had a couple of obvious things
> to correct.

Yes, obvious to the casual observer :)  I had added the IMFS thing but 
not the file descriptors. Thanks works now. Also, don't have to enable 
posix. I was just looking for a simple example of using IMFS.

> 
> Index: test.c
> ===================================================================
> RCS file: /usr1/CVS/examples/filerdback/test.c,v
> retrieving revision 1.6
> retrieving revision 1.7
> diff -u -r1.6 -r1.7
> --- test.c      23 Apr 2008 13:52:05 -0000      1.6
> +++ test.c      2 Sep 2008 13:17:20 -0000       1.7
> @@ -54,6 +54,8 @@
>  #define CONFIGURE_RTEMS_INIT_TASKS_TABLE
>  
>  #define CONFIGURE_MAXIMUM_TASKS 1
> +#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
> +#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 4
>  
>  #define CONFIGURE_INIT
> 




More information about the users mailing list