FAT configuration file.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
#include "compiler.h"
Macros | |
#define | FS_ASCII true |
The explorer may support either the ASCII or the UNICODE string format, or both. More... | |
#define | FS_FAT_12 true |
Supported FATs (true or false ). More... | |
#define | FS_FAT_16 true |
#define | FS_FAT_32 true |
#define | FS_LEVEL_FEATURES (FSFEATURE_READ | FSFEATURE_WRITE_COMPLET) |
Level of features. More... | |
#define | FS_MULTI_PARTITION false |
The navigator may support only the first partition (false ), or multiple partitions (true ). More... | |
#define | FS_NB_CACHE_CLUSLIST 1 |
Number of caches used to store a cluster list of files (interesting in case of many `open file'). More... | |
#define | FS_NB_NAVIGATOR 2 |
Maximal number of simultaneous navigators. More... | |
#define | FS_NB_RESERVED_NAV 0 |
Number of reserved navigators (ids from 0 to (FS_NB_RESERVED_NAVIGATOR - 1) ). More... | |
#define | FS_UNICODE false |
#define | LIB_CTRLACCESS "ctrl_access.h" |
#define | LIB_MEM <string.h> |
Include files and compile options (do not change these settings). More... | |
#define | MAX_CONFIG_FILE_SIZE 110 |
Maximal size of configuration file. More... | |
#define | MAX_FILE_PATH_LENGTH 30 |
Maximal number of characters in file path. More... | |
Navigator Affiliations | |
Define the affiliations of the navigators.
| |
#define | FS_NAV_ID_COPYFILE 1 |
The explorer uses the navigator ID 1 to open the `copy file' and the ID 0 to open the `paste file'. More... | |
#define | FS_NAV_ID_USHELL_CMD 0 |
Playlist Configuration | |
#define | pl_cache_path g_buffer |
Cache to store the path of a file (here, mapped onto a global buffer). More... | |
#define | PL_CACHE_PATH_MAX_SIZE sizeof(g_buffer) |
Size of cache to store the path of a file. More... | |
#define | PL_UNICODE false |
Playlist format: false for ASCII or true for UNICODE. More... | |
#define FS_ASCII true |
The explorer may support either the ASCII or the UNICODE string format, or both.
#define FS_FAT_12 true |
Supported FATs (true
or false
).
#define FS_FAT_16 true |
#define FS_FAT_32 true |
#define FS_LEVEL_FEATURES (FSFEATURE_READ | FSFEATURE_WRITE_COMPLET) |
Level of features.
Select among:
FSFEATURE_READ:
All read functions.FSFEATURE_WRITE:
nav_file_copy(), nav_file_paste(), nav_file_del(), file_create(), file_open(MODE_WRITE), file_write(), file_putc().FSFEATURE_WRITE_COMPLET:
FSFEATURE_WRITE functions and nav_drive_format(), nav_dir_make(), nav_file_rename(), nav_file_dateset(), nav_file_attributset().FSFEATURE_ALL:
All functions. #define FS_MULTI_PARTITION false |
The navigator may support only the first partition (false
), or multiple partitions (true
).
#define FS_NAV_ID_COPYFILE 1 |
The explorer uses the navigator ID 1 to open the `copy file' and the ID 0 to open the `paste file'.
Referenced by nav_file_copy(), nav_file_paste_start(), and nav_file_paste_state().
#define FS_NAV_ID_USHELL_CMD 0 |
#define FS_NB_CACHE_CLUSLIST 1 |
Number of caches used to store a cluster list of files (interesting in case of many `open file').
In player mode, 1 is OK (shall be > 0).
Referenced by fat_cache_clusterlist_reset(), fat_cache_clusterlist_update_read(), fat_cache_clusterlist_update_select(), and fat_cache_clusterlist_update_start().
#define FS_NB_NAVIGATOR 2 |
Maximal number of simultaneous navigators.
Referenced by fat_check_device(), fat_check_nav_access_file(), nav_exit(), nav_reset(), and nav_select().
#define FS_NB_RESERVED_NAV 0 |
Number of reserved navigators (ids from 0
to (FS_NB_RESERVED_NAVIGATOR - 1)
).
#define FS_UNICODE false |
#define LIB_CTRLACCESS "ctrl_access.h" |
#define LIB_MEM <string.h> |
Include files and compile options (do not change these settings).
#define MAX_CONFIG_FILE_SIZE 110 |
Maximal size of configuration file.
#define MAX_FILE_PATH_LENGTH 30 |
Maximal number of characters in file path.
#define pl_cache_path g_buffer |
Cache to store the path of a file (here, mapped onto a global buffer).
#define PL_CACHE_PATH_MAX_SIZE sizeof(g_buffer) |
Size of cache to store the path of a file.
#define PL_UNICODE false |
Playlist format: false
for ASCII or true
for UNICODE.