This is the HCC Embedded Product Documentation.

HCC Embedded Main Website   |   HCC Documentation Home Page

 

 

The test suite is provided for exercising the file system and ensuring that it is working correctly. Most of the operational features of the file system are exercised by this program, including file read/write/append/seek/file content, directory and file manipulation functions.

The test program requires the functions that are defined and implemented (as samples) in the file testport_ram_s.c. This is part of the fs_safe base package. The full path of this file is src/safe-flash/test/testport_ram_s.c.

Port the functions to your system. Refer to the comments and simple code for reference.

To use the test program, call the following to execute the test code:

void f_dotest( void )