doxygen: Fix some warnings

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>
This commit is contained in:
Benoît Thébaudeau 2015-06-20 03:04:37 +02:00
parent 0b1a0d2bd9
commit 2eef189a0a
9 changed files with 35 additions and 28 deletions

View File

@ -34,17 +34,17 @@
*/ */
/** /**
* @defgroup Cortex_M0 * @defgroup Cortex_M0 Cortex-M0
* @ingroup cmsis * @ingroup cmsis
*/ */
/** /**
* @defgroup Cortex_M3 * @defgroup Cortex_M3 Cortex-M3
* @ingroup cmsis * @ingroup cmsis
*/ */
/** /**
* @defgroup Cortex_M4 * @defgroup Cortex_M4 Cortex-M4
* @ingroup cmsis * @ingroup cmsis
*/ */

View File

@ -170,7 +170,7 @@
* \addtogroup avr * \addtogroup avr
* @{ */ * @{ */
/*! /*!
* \defgroup xgSmscRegs * \defgroup xgSmscRegs SMSC Registers
* *
* @{ */ * @{ */
@ -1203,6 +1203,7 @@ PROCESS_THREAD(lanc111_process, ev, data)
PROCESS_END(); PROCESS_END();
} }
#endif /* 0 */ #endif /* 0 */
#if 0
/*! /*!
* \brief Send Ethernet packet. * \brief Send Ethernet packet.
* *
@ -1213,7 +1214,6 @@ PROCESS_THREAD(lanc111_process, ev, data)
* *
* \return 0 on success, -1 in case of any errors. * \return 0 on success, -1 in case of any errors.
*/ */
#if 0
int LancOutput(NUTDEVICE * dev, NETBUF * nb) int LancOutput(NUTDEVICE * dev, NETBUF * nb)
{ {
static u_long mx_wait = 5000; static u_long mx_wait = 5000;

View File

@ -544,6 +544,7 @@ hal_frame_write(uint8_t *write_buffer, uint8_t length)
} }
/*----------------------------------------------------------------------------*/ /*----------------------------------------------------------------------------*/
#if 0 //Uses 80 bytes (on Raven) omit unless needed
/** \brief Read SRAM /** \brief Read SRAM
* *
* This function reads from the SRAM of the radio transceiver. * This function reads from the SRAM of the radio transceiver.
@ -552,7 +553,6 @@ hal_frame_write(uint8_t *write_buffer, uint8_t length)
* \param length Length of the read burst * \param length Length of the read burst
* \param data Pointer to buffer where data is stored. * \param data Pointer to buffer where data is stored.
*/ */
#if 0 //Uses 80 bytes (on Raven) omit unless needed
void void
hal_sram_read(uint8_t address, uint8_t length, uint8_t *data) hal_sram_read(uint8_t address, uint8_t length, uint8_t *data)
{ {
@ -576,6 +576,7 @@ hal_sram_read(uint8_t address, uint8_t length, uint8_t *data)
} }
#endif #endif
/*----------------------------------------------------------------------------*/ /*----------------------------------------------------------------------------*/
#if 0 //omit unless needed
/** \brief Write SRAM /** \brief Write SRAM
* *
* This function writes into the SRAM of the radio transceiver. It can reduce * This function writes into the SRAM of the radio transceiver. It can reduce
@ -585,7 +586,6 @@ hal_sram_read(uint8_t address, uint8_t length, uint8_t *data)
* \param length Length of the write burst * \param length Length of the write burst
* \param data Pointer to an array of bytes that should be written * \param data Pointer to an array of bytes that should be written
*/ */
#if 0 //omit unless needed
void void
hal_sram_write(uint8_t address, uint8_t length, uint8_t *data) hal_sram_write(uint8_t address, uint8_t length, uint8_t *data)
{ {

View File

@ -486,7 +486,7 @@ DEFINE_ERROR(ERR_FLASH_VERIFY_FAILED, 0x47)
#ifdef DOXYGEN_SHOULD_SKIP_THIS #ifdef DOXYGEN_SHOULD_SKIP_THIS
/** /**
* @description A fatal error has occured while trying to write data to the * @brief A fatal error has occured while trying to write data to the
* flash, possibly due to write protection or an invalid address. The data in * flash, possibly due to write protection or an invalid address. The data in
* the flash cannot be trusted after this error, and it is possible this error * the flash cannot be trusted after this error, and it is possible this error
* is the result of exceeding the life cycles of the flash. * is the result of exceeding the life cycles of the flash.
@ -499,7 +499,7 @@ DEFINE_ERROR(ERR_FLASH_PROG_FAIL, 0x4B)
#ifdef DOXYGEN_SHOULD_SKIP_THIS #ifdef DOXYGEN_SHOULD_SKIP_THIS
/** /**
* @description A fatal error has occured while trying to erase flash, possibly * @brief A fatal error has occured while trying to erase flash, possibly
* due to write protection. The data in the flash cannot be trusted after * due to write protection. The data in the flash cannot be trusted after
* this error, and it is possible this error is the result of exceeding the * this error, and it is possible this error is the result of exceeding the
* life cycles of the flash. * life cycles of the flash.
@ -1274,7 +1274,9 @@ DEFINE_ERROR( APPLICATION_ERROR_14, 0xFE)
DEFINE_ERROR( APPLICATION_ERROR_15, 0xFF) DEFINE_ERROR( APPLICATION_ERROR_15, 0xFF)
#endif //DOXYGEN_SHOULD_SKIP_THIS #endif //DOXYGEN_SHOULD_SKIP_THIS
/** @} */ // END name group /** @} */
/** @} END defgroup */
/** @} END addtogroup */ /** @} END addtogroup */

View File

@ -7,7 +7,7 @@
* @addtogroup stm32w-cpu * @addtogroup stm32w-cpu
* @{ */ * @{ */
/** @defgroup gnu /** @defgroup gnu GNU
* @brief Compiler and Platform specific definitions and typedefs for the * @brief Compiler and Platform specific definitions and typedefs for the
* GNU C ARM compiler. * GNU C ARM compiler.
* *

View File

@ -8,7 +8,7 @@
* @addtogroup stm32w-cpu * @addtogroup stm32w-cpu
* @{ */ * @{ */
/** @defgroup iar /** @defgroup iar IAR
* @brief Compiler and Platform specific definitions and typedefs for the * @brief Compiler and Platform specific definitions and typedefs for the
* IAR ARM C compiler. * IAR ARM C compiler.
* *

View File

@ -9,7 +9,7 @@
* @addtogroup stm32w-cpu * @addtogroup stm32w-cpu
* @{ */ * @{ */
/** @defgroup micro /** @defgroup micro Micro
* Many of the supplied example applications use these microcontroller functions. * Many of the supplied example applications use these microcontroller functions.
* See hal/micro/micro-common.h for source code. * See hal/micro/micro-common.h for source code.
* *

View File

@ -1918,14 +1918,14 @@ MACRO_EXPANSION = YES
# The default value is: NO. # The default value is: NO.
# This tag requires that the tag ENABLE_PREPROCESSING is set to YES. # This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
EXPAND_ONLY_PREDEF = NO EXPAND_ONLY_PREDEF = YES
# If the SEARCH_INCLUDES tag is set to YES the includes files in the # If the SEARCH_INCLUDES tag is set to YES the includes files in the
# INCLUDE_PATH will be searched if a #include is found. # INCLUDE_PATH will be searched if a #include is found.
# The default value is: YES. # The default value is: YES.
# This tag requires that the tag ENABLE_PREPROCESSING is set to YES. # This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
SEARCH_INCLUDES = YES SEARCH_INCLUDES = NO
# The INCLUDE_PATH tag can be used to specify one or more directories that # The INCLUDE_PATH tag can be used to specify one or more directories that
# contain include files that are not input files but should be processed by the # contain include files that are not input files but should be processed by the
@ -1950,17 +1950,23 @@ INCLUDE_FILE_PATTERNS =
# recursively expanded use the := operator instead of the = operator. # recursively expanded use the := operator instead of the = operator.
# This tag requires that the tag ENABLE_PREPROCESSING is set to YES. # This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
PREDEFINED = CC_FUNCTION_POINTER_ARGS \ PREDEFINED = CC_FUNCTION_POINTER_ARGS:=1 \
NETSTACK_CONF_WITH_RIME \ NETSTACK_CONF_WITH_RIME:=1 \
NETSTACK_CONF_WITH_IPV4 \ NETSTACK_CONF_WITH_IPV4:=1 \
NETSTACK_CONF_WITH_IPV6 \ NETSTACK_CONF_WITH_IPV6:=1 \
UIP_CONF_IPV6_RPL \ UIP_CONF_IPV6_RPL:=1 \
UIP_TCP \ UIP_TCP:=1 \
UIP_UDP \ UIP_UDP:=1 \
UIP_CONF_ICMP6 \ UIP_CONF_ICMP6:=1 \
WITH_LOADER_ARCH \ WITH_LOADER_ARCH:=1 \
DOXYGEN \ __attribute__(x):= \
"ASCCMD(name, flags, args)=void CMD_ASCII(name)" CC_ALIGN_ATTR(n):= \
HTTPD_STRING_ATTR:= \
PROGMEM:= \
EEMEM:= \
DOXYGEN:=1 \
DOXYGEN_SHOULD_SKIP_THIS:=1 \
"ASCCMD(name, flags, args):=void CMD_ASCII(name)"
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this
# tag can be used to specify a list of macro names that should be expanded. The # tag can be used to specify a list of macro names that should be expanded. The

View File

@ -1,2 +1 @@
209 154