# This is Doxygen configuration file
#
# Doxygen provides over 260 configuration statements
# To make this file easier to follow,
# it contains only statements that are non-default
#
# NOTE:
# It is recommended not to change defaults unless specifically required
# Test any changes how they affect generated documentation
# Make sure that correct warnings are generated to flag issues with documented code
#
# For the complete list of configuration statements see:
# https://www.stack.nl/~dimitri/doxygen/manual/config.html


PROJECT_NAME = "ESP32 Programming Guide"

## The 'INPUT' statement below is used as input by script 'gen-df-input.py'
## to automatically generate API reference list files heder_file.inc
## These files are placed in '_inc' directory
## and used to include in API reference documentation

INPUT = \
    ../../components/mespnow/include/mespnow.h \
    ../../components/mcommon/include/mdf_event_loop.h \
    ../../components/mcommon/include/mdf_mem.h \
    ../../components/mcommon/include/mdf_common.h \
    ../../components/mcommon/include/mdf_err.h \
    ../../components/mcommon/include/mdf_info_store.h \
    ../../components/mwifi/include/mwifi.h \
    ../../components/mconfig/include/mconfig_queue.h \
    ../../components/mconfig/include/mconfig_blufi.h \
    ../../components/mconfig/include/mconfig_chain.h \
    ../../components/mconfig/include/mconfig_security.h \
    ../../components/mupgrade/include/mupgrade.h \
    ../../components/mlink/include/mlink.h \
    ../../components/mlink/include/mlink_json.h \
    ../../components/mlink/include/mlink_utils.h \
    ../../components/mlink/include/mlink_notice.h \
    ../../components/mlink/include/mlink_httpd.h \
    ../../components/mlink/include/mlink_trigger.h \
    ../../components/mlink/include/mlink_espnow.h \
    ../../components/mlink/include/mlink_handle.h


## Get warnings for functions that have no documentation for their parameters or return value
##
WARN_NO_PARAMDOC = YES

## Enable preprocessing and remove __attribute__(...) expressions from the INPUT files
##
ENABLE_PREPROCESSING   = YES
MACRO_EXPANSION        = YES
EXPAND_ONLY_PREDEF     = YES
PREDEFINED             = \
    __attribute__(x)= \
    IRAM_ATTR= \
    configSUPPORT_DYNAMIC_ALLOCATION=1 \
    configSUPPORT_STATIC_ALLOCATION=1 \
    configQUEUE_REGISTRY_SIZE=1 \
    configUSE_RECURSIVE_MUTEXES=1 \
    configTHREAD_LOCAL_STORAGE_DELETE_CALLBACKS=1 \
    configNUM_THREAD_LOCAL_STORAGE_POINTERS=1 \
    configUSE_APPLICATION_TASK_TAG=1 \
    configTASKLIST_INCLUDE_COREID=1

## Do not complain about not having dot
##
HAVE_DOT = NO

## Generate XML that is required for Breathe
##
GENERATE_XML    = YES
XML_OUTPUT      = xml

GENERATE_HTML   = NO
HAVE_DOT        = NO
GENERATE_LATEX  = NO
GENERATE_MAN    = YES
GENERATE_RTF    = NO

## Skip distracting progress messages
##
QUIET = YES
## Log warnings in a file for further review
##
WARN_LOGFILE = "doxygen-warning-log.txt"

