aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/templates
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/templates')
-rw-r--r--os/hal/templates/adc_lld.c2
-rw-r--r--os/hal/templates/adc_lld.h2
-rw-r--r--os/hal/templates/can_lld.c2
-rw-r--r--os/hal/templates/can_lld.h2
-rw-r--r--os/hal/templates/mac_lld.c2
-rw-r--r--os/hal/templates/mac_lld.h2
-rw-r--r--os/hal/templates/pal_lld.c2
-rw-r--r--os/hal/templates/pal_lld.h2
-rw-r--r--os/hal/templates/serial_lld.c2
-rw-r--r--os/hal/templates/serial_lld.h2
-rw-r--r--os/hal/templates/spi_lld.c2
-rw-r--r--os/hal/templates/spi_lld.h2
12 files changed, 12 insertions, 12 deletions
diff --git a/os/hal/templates/adc_lld.c b/os/hal/templates/adc_lld.c
index 9aabc4bcd..dc68ef64a 100644
--- a/os/hal/templates/adc_lld.c
+++ b/os/hal/templates/adc_lld.c
@@ -27,7 +27,7 @@
#include "ch.h"
#include "hal.h"
-#if CH_HAL_USE_ADC
+#if CH_HAL_USE_ADC || defined(__DOXYGEN__)
/*===========================================================================*/
/* Low Level Driver exported variables. */
diff --git a/os/hal/templates/adc_lld.h b/os/hal/templates/adc_lld.h
index ca14577f0..1cacf2ac9 100644
--- a/os/hal/templates/adc_lld.h
+++ b/os/hal/templates/adc_lld.h
@@ -27,7 +27,7 @@
#ifndef _ADC_LLD_H_
#define _ADC_LLD_H_
-#if CH_HAL_USE_ADC
+#if CH_HAL_USE_ADC || defined(__DOXYGEN__)
/*===========================================================================*/
/* Driver pre-compile time settings. */
diff --git a/os/hal/templates/can_lld.c b/os/hal/templates/can_lld.c
index 7c56acad1..f2f54e66d 100644
--- a/os/hal/templates/can_lld.c
+++ b/os/hal/templates/can_lld.c
@@ -27,7 +27,7 @@
#include "ch.h"
#include "hal.h"
-#if CH_HAL_USE_CAN
+#if CH_HAL_USE_CAN || defined(__DOXYGEN__)
/*===========================================================================*/
/* Low Level Driver exported variables. */
diff --git a/os/hal/templates/can_lld.h b/os/hal/templates/can_lld.h
index c899055c6..202f7e044 100644
--- a/os/hal/templates/can_lld.h
+++ b/os/hal/templates/can_lld.h
@@ -27,7 +27,7 @@
#ifndef _CAN_LLD_H_
#define _CAN_LLD_H_
-#if CH_HAL_USE_CAN
+#if CH_HAL_USE_CAN || defined(__DOXYGEN__)
/**
* @brief This switch defines whether the driver implementation supports
diff --git a/os/hal/templates/mac_lld.c b/os/hal/templates/mac_lld.c
index fa6ef7a9e..cd859fff4 100644
--- a/os/hal/templates/mac_lld.c
+++ b/os/hal/templates/mac_lld.c
@@ -27,7 +27,7 @@
#include "ch.h"
#include "hal.h"
-#if CH_HAL_USE_MAC
+#if CH_HAL_USE_MAC || defined(__DOXYGEN__)
/**
* @brief Low level MAC initialization.
diff --git a/os/hal/templates/mac_lld.h b/os/hal/templates/mac_lld.h
index 07a199f7e..82e88280d 100644
--- a/os/hal/templates/mac_lld.h
+++ b/os/hal/templates/mac_lld.h
@@ -27,7 +27,7 @@
#ifndef _MAC_LLD_H_
#define _MAC_LLD_H_
-#if CH_HAL_USE_MAC
+#if CH_HAL_USE_MAC || defined(__DOXYGEN__)
/*===========================================================================*/
/* Driver pre-compile time settings. */
diff --git a/os/hal/templates/pal_lld.c b/os/hal/templates/pal_lld.c
index 598832d09..69417b24c 100644
--- a/os/hal/templates/pal_lld.c
+++ b/os/hal/templates/pal_lld.c
@@ -27,7 +27,7 @@
#include "ch.h"
#include "hal.h"
-#if CH_HAL_USE_PAL
+#if CH_HAL_USE_PAL || defined(__DOXYGEN__)
/*===========================================================================*/
/* Low Level Driver exported variables. */
diff --git a/os/hal/templates/pal_lld.h b/os/hal/templates/pal_lld.h
index a8caf089b..2412ee294 100644
--- a/os/hal/templates/pal_lld.h
+++ b/os/hal/templates/pal_lld.h
@@ -27,7 +27,7 @@
#ifndef _PAL_LLD_H_
#define _PAL_LLD_H_
-#if CH_HAL_USE_PAL
+#if CH_HAL_USE_PAL || defined(__DOXYGEN__)
/*===========================================================================*/
/* Unsupported modes and specific modes */
diff --git a/os/hal/templates/serial_lld.c b/os/hal/templates/serial_lld.c
index c4d63ed76..4b6164c2e 100644
--- a/os/hal/templates/serial_lld.c
+++ b/os/hal/templates/serial_lld.c
@@ -27,7 +27,7 @@
#include "ch.h"
#include "hal.h"
-#if CH_HAL_USE_SERIAL
+#if CH_HAL_USE_SERIAL || defined(__DOXYGEN__)
/** @brief Driver default configuration.*/
static const SerialDriverConfig default_config = {
diff --git a/os/hal/templates/serial_lld.h b/os/hal/templates/serial_lld.h
index 53cf2ce25..a0874c5e7 100644
--- a/os/hal/templates/serial_lld.h
+++ b/os/hal/templates/serial_lld.h
@@ -27,7 +27,7 @@
#ifndef _SERIAL_LLD_H_
#define _SERIAL_LLD_H_
-#if CH_HAL_USE_SERIAL
+#if CH_HAL_USE_SERIAL || defined(__DOXYGEN__)
/*===========================================================================*/
/* Driver pre-compile time settings. */
diff --git a/os/hal/templates/spi_lld.c b/os/hal/templates/spi_lld.c
index 5fd6295d2..67e337f9f 100644
--- a/os/hal/templates/spi_lld.c
+++ b/os/hal/templates/spi_lld.c
@@ -27,7 +27,7 @@
#include "ch.h"
#include "hal.h"
-#if CH_HAL_USE_SPI
+#if CH_HAL_USE_SPI || defined(__DOXYGEN__)
/*===========================================================================*/
/* Low Level Driver exported variables. */
diff --git a/os/hal/templates/spi_lld.h b/os/hal/templates/spi_lld.h
index 907bad859..b66d6cd70 100644
--- a/os/hal/templates/spi_lld.h
+++ b/os/hal/templates/spi_lld.h
@@ -27,7 +27,7 @@
#ifndef _SPI_LLD_H_
#define _SPI_LLD_H_
-#if CH_HAL_USE_SPI
+#if CH_HAL_USE_SPI || defined(__DOXYGEN__)
/*===========================================================================*/
/* Driver pre-compile time settings. */