2011-06-03 01:45:31 +02:00
|
|
|
/****************************************************************************
|
|
|
|
* apps/netutils/ftpc/ftpc_config.h
|
|
|
|
*
|
2021-06-11 06:22:42 +02:00
|
|
|
* 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
|
2011-06-03 01:45:31 +02:00
|
|
|
*
|
2021-06-11 06:22:42 +02:00
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
2011-06-03 01:45:31 +02:00
|
|
|
*
|
2021-06-11 06:22:42 +02:00
|
|
|
* 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.
|
2011-06-03 01:45:31 +02:00
|
|
|
*
|
|
|
|
****************************************************************************/
|
|
|
|
|
|
|
|
#ifndef __APPS_NETUTILS_FTPC_FTPC_CONFIG_H
|
|
|
|
#define __APPS_NETUTILS_FTPC_FTPC_CONFIG_H
|
|
|
|
|
|
|
|
/****************************************************************************
|
|
|
|
* Included Files
|
|
|
|
****************************************************************************/
|
|
|
|
|
|
|
|
#include <nuttx/config.h>
|
|
|
|
|
|
|
|
/****************************************************************************
|
|
|
|
* Pre-processor Definitions
|
|
|
|
****************************************************************************/
|
2021-06-11 12:06:42 +02:00
|
|
|
|
2011-06-03 01:45:31 +02:00
|
|
|
/* This is a mindless little wrapper around include/nuttx/config.h. Every
|
|
|
|
* file in the ftpc directory includes this file at the very beginning of
|
|
|
|
* of the file (instead of include/nuttx/config.h). The only purpose of
|
|
|
|
* this file is to muck with some of the settings to support some debug
|
|
|
|
* features.
|
|
|
|
*
|
2016-06-11 19:55:38 +02:00
|
|
|
* The FPT client uses common networking debug macros (ndbg and ninfo).
|
2011-06-03 01:45:31 +02:00
|
|
|
* This can be overwhelming if there is a lot of networking debug output
|
|
|
|
* as well. But by defining CONFIG_DEBUG_FTPC, this file will force
|
|
|
|
* networking debug ON only for the files within this directory.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#if !defined(CONFIG_DEBUG_NET) && defined(CONFIG_DEBUG_FTPC)
|
2017-11-07 00:41:30 +01:00
|
|
|
# undef CONFIG_DEBUG_NET
|
2011-06-03 01:45:31 +02:00
|
|
|
# define CONFIG_DEBUG_NET 1
|
2017-11-07 00:41:30 +01:00
|
|
|
# undef CONFIG_DEBUG_NET_ERROR
|
|
|
|
# define CONFIG_DEBUG_NET_ERROR 1
|
|
|
|
# undef CONFIG_DEBUG_NET_WARN
|
|
|
|
# define CONFIG_DEBUG_NET_WARN 1
|
|
|
|
# undef CONFIG_DEBUG_NET_INFO
|
|
|
|
# define CONFIG_DEBUG_NET_INFO 1
|
2011-06-03 01:45:31 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/****************************************************************************
|
|
|
|
* Public Types
|
|
|
|
****************************************************************************/
|
|
|
|
|
|
|
|
/****************************************************************************
|
2021-06-11 12:06:42 +02:00
|
|
|
* Public Functions Prototypes
|
2011-06-03 01:45:31 +02:00
|
|
|
****************************************************************************/
|
|
|
|
|
|
|
|
#endif /* __APPS_NETUTILS_FTPC_FTPC_CONFIG_H */
|