ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts  1.0
ESP8266ILI9341DisplayProject
Functions
fatfs_tests.c File Reference
#include "user_config.h"
#include "fatfs.h"
#include "lib/time.h"
#include "lib/stringsup.h"
#include "printf/mathio.h"

Go to the source code of this file.

Functions

MEMSPACE void fatfs_help (int full)
 Display FatFs test diagnostics help menu. More...
 
MEMSPACE int fatfs_tests (int argc, char *argv[])
 FatFs test parser. More...
 
MEMSPACE void mmc_test (void)
 Perform key FatFs diagnostics tests. More...
 
MEMSPACE void fatfs_ls (char *name)
 

Function Documentation

MEMSPACE void fatfs_help ( int  full)

Display FatFs test diagnostics help menu.

Returns
void

Definition at line 46 of file fatfs_tests.c.

Referenced by fatfs_tests(), and user_help().

MEMSPACE void fatfs_ls ( char *  name)
  • Credit: part of FatFs avr example project (C)ChaN, 2013.
Parameters
[in]ptrpathname of directory to list
See also
fatfs_filinfo_list().
Returns
void.

Definition at line 313 of file fatfs_tests.c.

Referenced by fatfs_tests(), and mmc_test().

MEMSPACE int fatfs_tests ( int  argc,
char *  argv[] 
)

FatFs test parser.

  • Keywords and arguments are matched against fatfs test functions If ther are matched the function along with its argements are called.
Parameters
[in]strUser supplied command line with FatFs test and arguments.
Returns
1 The ruturn code indicates a command matched.
0 if no rules matched

Definition at line 101 of file fatfs_tests.c.

Referenced by user_tests().

MEMSPACE void mmc_test ( void  )

Perform key FatFs diagnostics tests.

  • Perform all basic file tests
  • Assumes the device is formatted
Returns
void

Definition at line 271 of file fatfs_tests.c.

Referenced by fatfs_tests().