mirror of https://github.com/ARMmbed/mbed-os.git
Enable doxygen to use the pre-processor
Best way to enable MBED_DEPRICATED APIs to be properly rendered requires using the doxygen preprocessor. This means all device_has labels need to also be defined or the default DOXYGEN_ONLY label applied to the API headers which this commit does. ASYNCH currently exluded.pull/4111/head
parent
cba75f467d
commit
26b9a1f6a3
|
@ -18,7 +18,7 @@
|
|||
|
||||
#include "platform/platform.h"
|
||||
|
||||
#if DEVICE_ANALOGIN
|
||||
#if defined (DEVICE_ANALOGIN) || defined(DOXYGEN_ONLY)
|
||||
|
||||
#include "hal/analogin_api.h"
|
||||
#include "platform/SingletonPtr.h"
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
#include "platform/platform.h"
|
||||
|
||||
#if DEVICE_ANALOGOUT
|
||||
#if defined (DEVICE_ANALOGOUT) || defined(DOXYGEN_ONLY)
|
||||
|
||||
#include "hal/analogout_api.h"
|
||||
#include "platform/PlatformMutex.h"
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
#include "platform/platform.h"
|
||||
|
||||
#if DEVICE_CAN
|
||||
#if defined (DEVICE_CAN) || defined(DOXYGEN_ONLY)
|
||||
|
||||
#include "hal/can_api.h"
|
||||
#include "platform/Callback.h"
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
#include "platform/platform.h"
|
||||
|
||||
#if DEVICE_ETHERNET
|
||||
#if defined (DEVICE_ETHERNET) || defined(DOXYGEN_ONLY)
|
||||
|
||||
namespace mbed {
|
||||
/** \addtogroup drivers */
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#ifndef MBED_FLASHIAP_H
|
||||
#define MBED_FLASHIAP_H
|
||||
|
||||
#ifdef DEVICE_FLASH
|
||||
#if defined (DEVICE_FLASH) || defined(DOXYGEN_ONLY)
|
||||
|
||||
#include "flash_api.h"
|
||||
#include "platform/SingletonPtr.h"
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
#include "platform/platform.h"
|
||||
|
||||
#if DEVICE_I2C
|
||||
#if defined (DEVICE_I2C) || defined(DOXYGEN_ONLY)
|
||||
|
||||
#include "hal/i2c_api.h"
|
||||
#include "platform/SingletonPtr.h"
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
#include "platform/platform.h"
|
||||
|
||||
#if DEVICE_I2CSLAVE
|
||||
#if defined (DEVICE_I2CSLAVE) || defined(DOXYGEN_ONLY)
|
||||
|
||||
#include "hal/i2c_api.h"
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
#include "platform/platform.h"
|
||||
|
||||
#if DEVICE_INTERRUPTIN
|
||||
#if defined (DEVICE_INTERRUPTIN) || defined(DOXYGEN_ONLY)
|
||||
|
||||
#include "hal/gpio_api.h"
|
||||
#include "hal/gpio_irq_api.h"
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#include "platform/platform.h"
|
||||
#include "drivers/Ticker.h"
|
||||
|
||||
#if DEVICE_LOWPOWERTIMER
|
||||
#if defined (DEVICE_LOWPOWERTIMER) || defined(DOXYGEN_ONLY)
|
||||
|
||||
#include "hal/lp_ticker_api.h"
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
#include "platform/platform.h"
|
||||
|
||||
#if DEVICE_LOWPOWERTIMER
|
||||
#if defined (DEVICE_LOWPOWERTIMER) || defined(DOXYGEN_ONLY)
|
||||
|
||||
#include "hal/lp_ticker_api.h"
|
||||
#include "drivers/LowPowerTicker.h"
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#include "platform/platform.h"
|
||||
#include "drivers/Timer.h"
|
||||
|
||||
#if DEVICE_LOWPOWERTIMER
|
||||
#if defined (DEVICE_LOWPOWERTIMER) || defined(DOXYGEN_ONLY)
|
||||
|
||||
#include "hal/lp_ticker_api.h"
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
#include "platform/platform.h"
|
||||
|
||||
#if DEVICE_PORTIN
|
||||
#if defined (DEVICE_PORTIN) || defined(DOXYGEN_ONLY)
|
||||
|
||||
#include "hal/port_api.h"
|
||||
#include "platform/mbed_critical.h"
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
#include "platform/platform.h"
|
||||
|
||||
#if DEVICE_PORTINOUT
|
||||
#if defined (DEVICE_PORTINOUT) || defined(DOXYGEN_ONLY)
|
||||
|
||||
#include "hal/port_api.h"
|
||||
#include "platform/mbed_critical.h"
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
#include "platform/platform.h"
|
||||
|
||||
#if DEVICE_PORTOUT
|
||||
#if defined (DEVICE_PORTOUT) || defined(DOXYGEN_ONLY)
|
||||
|
||||
#include "hal/port_api.h"
|
||||
#include "platform/mbed_critical.h"
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
#include "platform/platform.h"
|
||||
|
||||
#if DEVICE_PWMOUT
|
||||
#if defined (DEVICE_PWMOUT) || defined(DOXYGEN_ONLY)
|
||||
#include "hal/pwmout_api.h"
|
||||
#include "platform/mbed_critical.h"
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
#include "platform/platform.h"
|
||||
|
||||
#if DEVICE_SERIAL
|
||||
#if defined (DEVICE_SERIAL) || defined(DOXYGEN_ONLY)
|
||||
|
||||
#include "drivers/SerialBase.h"
|
||||
#include "hal/serial_api.h"
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
#include "platform/platform.h"
|
||||
|
||||
#if DEVICE_SPI
|
||||
#if defined (DEVICE_SPI) || defined(DOXYGEN_ONLY)
|
||||
|
||||
#include "platform/PlatformMutex.h"
|
||||
#include "hal/spi_api.h"
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
#include "platform/platform.h"
|
||||
|
||||
#if DEVICE_SPISLAVE
|
||||
#if defined (DEVICE_SPISLAVE) || defined(DOXYGEN_ONLY)
|
||||
|
||||
#include "hal/spi_api.h"
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
#include "platform/platform.h"
|
||||
|
||||
#if DEVICE_SERIAL
|
||||
#if defined (DEVICE_SERIAL) || defined(DOXYGEN_ONLY)
|
||||
|
||||
#include "Stream.h"
|
||||
#include "SerialBase.h"
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
#include "platform/platform.h"
|
||||
|
||||
#if DEVICE_SERIAL
|
||||
#if defined (DEVICE_SERIAL) || defined(DOXYGEN_ONLY)
|
||||
|
||||
#include "Stream.h"
|
||||
#include "Callback.h"
|
||||
|
|
Loading…
Reference in New Issue