From eea7432ba4a196ccbaba981b96af8ff8af0d86d0 Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 22 Sep 2011 18:28:42 +0000 Subject: TIFF library now passes its unit test git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3970 42af7a65-404d-4744-a932-0658087f49c3 --- apps/examples/README.txt | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) (limited to 'apps/examples/README.txt') diff --git a/apps/examples/README.txt b/apps/examples/README.txt index 027b0a669..5252a40c4 100644 --- a/apps/examples/README.txt +++ b/apps/examples/README.txt @@ -735,10 +735,26 @@ examples/tiff This is a simple unit test for the TIFF creation library at apps/graphic/tiff. It is configured to work in the Linux user-mode simulation and has not been - tested in any other environment. + tested in any other environment. Since the example also depends on some + other logic to mount a file system, currently it will only work as an NSH + built-on, i.e., if the following is defined: - At a miniumum, you would probably have to change the hard-coded pathes to - the TIFF files defined in the example to run in an embedded platform. + CONFIG_NSH_BUILTIN_APPS=y + CONFIG_EXAMPLES_TIFF_BUILTIN=y + + At a miniumum, to run in an embedded environment, you will probably have to + change the configured paths to the TIFF files defined in the example. + + CONFIG_EXAMPLES_TIFF_OUTFILE - Name of the resulting TIFF file. Default is + "/tmp/result.tif" + CONFIG_EXAMPLES_TIFF_TMPFILE1/2 - Names of two temporaries files that + will be used in the file creation. Defaults are "/tmp/tmpfile1.dat" and + "/tmp/tmpfile2.dat" + + The following must also be defined in your appconfig file: + + CONFIGURED_APPS += examples/tiff + CONFIGURED_APPS += graphics/tiff examples/udp ^^^^^^^^^^^^ -- cgit v1.2.3