/*------------------------------------------------------------------------------ * MDK Middleware - Component ::File System * Copyright (c) 2004-2019 Arm Limited (or its affiliates). All rights reserved. *------------------------------------------------------------------------------ * Name: FS_Config.c * Purpose: File System Configuration * Rev.: V6.3.0 *----------------------------------------------------------------------------*/ //-------- <<< Use Configuration Wizard in Context Menu >>> -------------------- // FAT File System // Define FAT File System parameters // Number of open files <1-16> // Define number of files that can be opened at the same time. // Default: 4 #define FAT_MAX_OPEN_FILES 4 // // Embedded File System // Define Embedded File System parameters // Number of open files <1-16> // Define number of files that can be opened at the same time. // Default: 4 #define EFS_MAX_OPEN_FILES 4 // // Initial Current Drive <0=>F0: <1=>F1: // <2=>M0: <3=>M1: // <4=>N0: <5=>N1: // <6=>R0: <9=>R1: // <7=>U0: <8=>U1: // Set initial setting for current drive. Current drive is used for File System functions // that are invoked with the "" string and can be altered anytime during run-time. #define FS_INITIAL_CDRIVE 2 #include "RTE_Components.h" #ifdef RTE_FileSystem_Drive_RAM_0 #include "FS_Config_RAM_0.h" #endif #ifdef RTE_FileSystem_Drive_RAM_1 #include "FS_Config_RAM_1.h" #endif #ifdef RTE_FileSystem_Drive_NOR_0 #include "FS_Config_NOR_0.h" #endif #ifdef RTE_FileSystem_Drive_NOR_1 #include "FS_Config_NOR_1.h" #endif #ifdef RTE_FileSystem_Drive_NAND_0 #include "FS_Config_NAND_0.h" #endif #ifdef RTE_FileSystem_Drive_NAND_1 #include "FS_Config_NAND_1.h" #endif #ifdef RTE_FileSystem_Drive_MC_0 #include "FS_Config_MC_0.h" #endif #ifdef RTE_FileSystem_Drive_MC_1 #include "FS_Config_MC_1.h" #endif #ifdef RTE_FileSystem_Drive_USB_0 #include "FS_Config_USB_0.h" #endif #ifdef RTE_FileSystem_Drive_USB_1 #include "FS_Config_USB_1.h" #endif #include "fs_config.h"