119 lines
3.1 KiB
C
119 lines
3.1 KiB
C
/*
|
|
ChibiOS - Copyright (C) 2006..2020 Giovanni Di Sirio
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
/**
|
|
* @file templates/vfsconf.h
|
|
* @brief VFS configuration header.
|
|
*
|
|
* @addtogroup VFS_CONF
|
|
* @{
|
|
*/
|
|
|
|
#ifndef VFSCONF_H
|
|
#define VFSCONF_H
|
|
|
|
#define _CHIBIOS_VFS_CONF_
|
|
#define _CHIBIOS_VFS_CONF_VER_1_0_
|
|
|
|
/*===========================================================================*/
|
|
/**
|
|
* @name VFS general settings
|
|
* @{
|
|
*/
|
|
/*===========================================================================*/
|
|
|
|
/**
|
|
* @brief Maximum filename length.
|
|
*/
|
|
#if !defined(VFS_CFG_MAX_NAMELEN) || defined(__DOXYGEN__)
|
|
#define VFS_CFG_MAX_NAMELEN 15
|
|
#endif
|
|
|
|
/** @} */
|
|
|
|
/*===========================================================================*/
|
|
/**
|
|
* @name Overlay driver settings
|
|
* @{
|
|
*/
|
|
/*===========================================================================*/
|
|
|
|
/**
|
|
* @brief Maximum number of overlay directories.
|
|
*/
|
|
#if !defined(DRV_CFG_OVERLAY_DRV_MAX) || defined(__DOXYGEN__)
|
|
#define DRV_CFG_OVERLAY_DRV_MAX 2
|
|
#endif
|
|
|
|
/**
|
|
* @brief Number of directory nodes pre-allocated in the pool.
|
|
*/
|
|
#if !defined(DRV_CFG_OVERLAY_NODES_NUM) || defined(__DOXYGEN__)
|
|
#define DRV_CFG_OVERLAY_DIR_NODES_NUM 1
|
|
#endif
|
|
|
|
/** @} */
|
|
|
|
/*===========================================================================*/
|
|
/**
|
|
* @name Streams driver settings
|
|
* @{
|
|
*/
|
|
/*===========================================================================*/
|
|
|
|
/**
|
|
* @brief Number of directory nodes pre-allocated in the pool.
|
|
*/
|
|
#if !defined(DRV_CFG_STREAMS_DIR_NODES_NUM) || defined(__DOXYGEN__)
|
|
#define DRV_CFG_STREAMS_DIR_NODES_NUM 1
|
|
#endif
|
|
|
|
/**
|
|
* @brief Number of file nodes pre-allocated in the pool.
|
|
*/
|
|
#if !defined(DRV_CFG_STREAMS_FILE_NODES_NUM) || defined(__DOXYGEN__)
|
|
#define DRV_CFG_STREAMS_FILE_NODES_NUM 2
|
|
#endif
|
|
|
|
/** @} */
|
|
|
|
/*===========================================================================*/
|
|
/**
|
|
* @name FatFS driver settings
|
|
* @{
|
|
*/
|
|
/*===========================================================================*/
|
|
|
|
/**
|
|
* @brief Number of directory nodes pre-allocated in the pool.
|
|
*/
|
|
#if !defined(DRV_CFG_FATFS_DIR_NODES_NUM) || defined(__DOXYGEN__)
|
|
#define DRV_CFG_FATFS_DIR_NODES_NUM 1
|
|
#endif
|
|
|
|
/**
|
|
* @brief Number of file nodes pre-allocated in the pool.
|
|
*/
|
|
#if !defined(DRV_CFG_FATFS_FILE_NODES_NUM) || defined(__DOXYGEN__)
|
|
#define DRV_CFG_FATFS_FILE_NODES_NUM 2
|
|
#endif
|
|
|
|
/** @} */
|
|
|
|
#endif /* VFSCONF_H */
|
|
|
|
/** @} */
|