mirror of
https://github.com/peteratebs/rtfsprofatfilesystem.git
synced 2025-06-19 09:15:41 -04:00
34 lines
2.0 KiB
C
34 lines
2.0 KiB
C
/* EBS - RTFS (Real Time File Manager)
|
|
*
|
|
* Copyright EBS inc, 2008
|
|
* All rights reserved.
|
|
* This code may not be redistributed in source or linkable object form
|
|
* without the consent of its author.
|
|
*******************************************************************************/
|
|
|
|
/* ================================== rtfsconfig.h ================================================ */
|
|
|
|
|
|
/*================================== defines to control general behavior of configuration section ======================== */
|
|
#define RTFS_CFG_SINGLE_THREADED 1 /* If 1, share user buffer and failsafe buffers */
|
|
#define RTFS_CFG_INIT_DYNAMIC_ALLOCATION 1 /* If 1 dynamically allocate system wide resources */
|
|
|
|
|
|
/*================================== defines to control system wide configuration ======================== */
|
|
|
|
#define RTFS_CFG_MAX_DRIVES 4 /* Maximum number of mounted volumes */
|
|
#define RTFS_CFG_MAX_FILES 20 /* Maximum number of open files */
|
|
#define RTFS_CFG_MAX_SCRATCH_BUFFERS 32 /* Minimum four see application notes */
|
|
#define RTFS_CFG_MAX_SCRATCH_DIRS 8 /* Minimum one see application notes */
|
|
#define RTFS_CFG_MAX_USER_CONTEXTS 3 /* Minimum 1 see application notes */
|
|
#define RTFS_CFG_MAX_REGION_BUFFERS 1000 /* See application notes */
|
|
#define RTFS_CFG_SINGLE_THREADED_USER_BUFFER_SIZE 64*2048 //32768 /* Only used if SAMPLE_APP_SINGLE_THREADED == 1*/
|
|
#define RTFS_CFG_SINGLE_THREADED_FAILSAFE_BUFFER_SIZE 32768 /* Only used if SAMPLE_APP_SINGLE_THREADED == 1*/
|
|
#define RTFS_CFG_DIRS_PER_DRIVE 16 /* Extra directory objects required for internal processing */
|
|
#define RTFS_CFG_DIRS_PER_USER_CONTEXT 4 /* Do not reduce unless application is fixed and can be verified */
|
|
|
|
|
|
|
|
|
|
/*================================== end rtfsconfig.h ================================================ */
|