53 lines
1.8 KiB
Plaintext
53 lines
1.8 KiB
Plaintext
# Licensed to the Apache Software Foundation (ASF) under one
|
|
# or more contributor license agreements. See the NOTICE file
|
|
# distributed with this work for additional information
|
|
# regarding copyright ownership. The ASF licenses this file
|
|
# to you 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.
|
|
|
|
menuconfig MCUMGR_CMD_FS_MGMT
|
|
bool
|
|
prompt "Enable mcumgr handlers for file management"
|
|
depends on FILE_SYSTEM
|
|
default n
|
|
help
|
|
Enables mcumgr handlers for file management
|
|
|
|
if MCUMGR_CMD_FS_MGMT
|
|
config FS_MGMT_UL_CHUNK_SIZE
|
|
int
|
|
prompt "Maximum chunk size for file uploads"
|
|
default 512
|
|
help
|
|
Limits the maximum chunk size for file uploads, in bytes. A buffer of
|
|
this size gets allocated on the stack during handling of a file upload command.
|
|
|
|
config FS_MGMT_DL_CHUNK_SIZE
|
|
int
|
|
prompt "Maximum chunk size for file downloads"
|
|
default 512
|
|
help
|
|
Limits the maximum chunk size for file downloads, in bytes. A buffer of
|
|
this size gets allocated on the stack during handling of a file download
|
|
command.
|
|
|
|
config FS_MGMT_PATH_SIZE
|
|
int
|
|
prompt "Maximum file path length"
|
|
default 64
|
|
help
|
|
Limits the maximum path length for file operations, in bytes. A buffer
|
|
of this size gets allocated on the stack during handling of file upload
|
|
and download commands.
|
|
endif
|