aboutsummaryrefslogtreecommitdiffstats
path: root/testhal
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-01-09 19:37:58 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-01-09 19:37:58 +0000
commita2708c091beb3331967dff2af9a9232744427de4 (patch)
treeb6b7e640ea6ac6876c291f9c09acdac3fc26847d /testhal
parent3de75ec6c3c29edde55edfa75f2db26c198de35a (diff)
downloadChibiOS-a2708c091beb3331967dff2af9a9232744427de4.tar.gz
ChibiOS-a2708c091beb3331967dff2af9a9232744427de4.tar.bz2
ChibiOS-a2708c091beb3331967dff2af9a9232744427de4.zip
Updated all halconf.h files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3777 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal')
-rw-r--r--testhal/LPC11xx/IRQ_STORM/halconf.h9
-rw-r--r--testhal/LPC13xx/IRQ_STORM/halconf.h7
-rw-r--r--testhal/STM32F1xx/ADC/halconf.h7
-rw-r--r--testhal/STM32F1xx/CAN/halconf.h7
-rw-r--r--testhal/STM32F1xx/EXT/halconf.h7
-rw-r--r--testhal/STM32F1xx/EXT_WAKEUP/halconf.h9
-rw-r--r--testhal/STM32F1xx/GPT/halconf.h7
-rw-r--r--testhal/STM32F1xx/I2C/halconf.h9
-rw-r--r--testhal/STM32F1xx/IRQ_STORM/halconf.h7
-rw-r--r--testhal/STM32F1xx/MAC/halconf.h7
-rw-r--r--testhal/STM32F1xx/MAC/main.c2
-rw-r--r--testhal/STM32F1xx/PVD/halconf.h7
-rw-r--r--testhal/STM32F1xx/PWM-ICU/halconf.h7
-rw-r--r--testhal/STM32F1xx/RTC/halconf.h7
-rw-r--r--testhal/STM32F1xx/SDC/halconf.h7
-rw-r--r--testhal/STM32F1xx/SPI/halconf.h7
-rw-r--r--testhal/STM32F1xx/UART/halconf.h14
-rw-r--r--testhal/STM32F1xx/USB_CDC/halconf.h14
-rw-r--r--testhal/STM32F1xx/USB_MSC/halconf.h14
-rw-r--r--testhal/STM32F4xx/ADC/halconf.h7
-rw-r--r--testhal/STM32F4xx/EXT/halconf.h7
-rw-r--r--testhal/STM32F4xx/GPT/halconf.h7
-rw-r--r--testhal/STM32F4xx/I2C/halconf.h7
-rw-r--r--testhal/STM32F4xx/IRQ_STORM/halconf.h7
-rw-r--r--testhal/STM32F4xx/IRQ_STORM_FPU/halconf.h7
-rw-r--r--testhal/STM32F4xx/PVD/halconf.h7
-rw-r--r--testhal/STM32F4xx/PWM-ICU/halconf.h7
-rw-r--r--testhal/STM32F4xx/RTC/halconf.h7
-rw-r--r--testhal/STM32F4xx/SPI/halconf.h7
-rw-r--r--testhal/STM32F4xx/UART/halconf.h14
-rw-r--r--testhal/STM32L1xx/ADC/halconf.h7
-rw-r--r--testhal/STM32L1xx/EXT/halconf.h7
-rw-r--r--testhal/STM32L1xx/GPT/halconf.h7
-rw-r--r--testhal/STM32L1xx/IRQ_STORM/halconf.h7
-rw-r--r--testhal/STM32L1xx/PVD/halconf.h7
-rw-r--r--testhal/STM32L1xx/PWM-ICU/halconf.h7
-rw-r--r--testhal/STM32L1xx/SPI/halconf.h7
-rw-r--r--testhal/STM32L1xx/UART/halconf.h14
-rw-r--r--testhal/STM8S/SPI/demo/halconf.h14
39 files changed, 312 insertions, 4 deletions
diff --git a/testhal/LPC11xx/IRQ_STORM/halconf.h b/testhal/LPC11xx/IRQ_STORM/halconf.h
index f9a1b78f6..944627bb4 100644
--- a/testhal/LPC11xx/IRQ_STORM/halconf.h
+++ b/testhal/LPC11xx/IRQ_STORM/halconf.h
@@ -35,6 +35,13 @@
#include "mcuconf.h"
/**
+ * @brief Enables the TM subsystem.
+ */
+#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
+#define HAL_USE_TM TRUE
+#endif
+
+/**
* @brief Enables the PAL subsystem.
*/
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
@@ -66,7 +73,7 @@
* @brief Enables the GPT subsystem.
*/
#if !defined(HAL_USE_GPT) || defined(__DOXYGEN__)
-#define HAL_USE_GPT TRUE
+#define HAL_USE_GPT FALSE
#endif
/**
diff --git a/testhal/LPC13xx/IRQ_STORM/halconf.h b/testhal/LPC13xx/IRQ_STORM/halconf.h
index f9a1b78f6..df586a1df 100644
--- a/testhal/LPC13xx/IRQ_STORM/halconf.h
+++ b/testhal/LPC13xx/IRQ_STORM/halconf.h
@@ -35,6 +35,13 @@
#include "mcuconf.h"
/**
+ * @brief Enables the TM subsystem.
+ */
+#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
+#define HAL_USE_TM TRUE
+#endif
+
+/**
* @brief Enables the PAL subsystem.
*/
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
diff --git a/testhal/STM32F1xx/ADC/halconf.h b/testhal/STM32F1xx/ADC/halconf.h
index b1de4bf39..6cb28fb0a 100644
--- a/testhal/STM32F1xx/ADC/halconf.h
+++ b/testhal/STM32F1xx/ADC/halconf.h
@@ -35,6 +35,13 @@
#include "mcuconf.h"
/**
+ * @brief Enables the TM subsystem.
+ */
+#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
+#define HAL_USE_TM TRUE
+#endif
+
+/**
* @brief Enables the PAL subsystem.
*/
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
diff --git a/testhal/STM32F1xx/CAN/halconf.h b/testhal/STM32F1xx/CAN/halconf.h
index 03b395896..2f29d918c 100644
--- a/testhal/STM32F1xx/CAN/halconf.h
+++ b/testhal/STM32F1xx/CAN/halconf.h
@@ -35,6 +35,13 @@
#include "mcuconf.h"
/**
+ * @brief Enables the TM subsystem.
+ */
+#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
+#define HAL_USE_TM TRUE
+#endif
+
+/**
* @brief Enables the PAL subsystem.
*/
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
diff --git a/testhal/STM32F1xx/EXT/halconf.h b/testhal/STM32F1xx/EXT/halconf.h
index 775428e22..24fdd613d 100644
--- a/testhal/STM32F1xx/EXT/halconf.h
+++ b/testhal/STM32F1xx/EXT/halconf.h
@@ -35,6 +35,13 @@
#include "mcuconf.h"
/**
+ * @brief Enables the TM subsystem.
+ */
+#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
+#define HAL_USE_TM TRUE
+#endif
+
+/**
* @brief Enables the PAL subsystem.
*/
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
diff --git a/testhal/STM32F1xx/EXT_WAKEUP/halconf.h b/testhal/STM32F1xx/EXT_WAKEUP/halconf.h
index e77cc2ae7..4441df1e1 100644
--- a/testhal/STM32F1xx/EXT_WAKEUP/halconf.h
+++ b/testhal/STM32F1xx/EXT_WAKEUP/halconf.h
@@ -35,6 +35,13 @@
#include "mcuconf.h"
/**
+ * @brief Enables the TM subsystem.
+ */
+#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
+#define HAL_USE_TM TRUE
+#endif
+
+/**
* @brief Enables the PAL subsystem.
*/
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
@@ -296,7 +303,7 @@
* default configuration.
*/
#if !defined(SERIAL_DEFAULT_BITRATE) || defined(__DOXYGEN__)
-#define SERIAL_DEFAULT_BITRATE 57600
+#define SERIAL_DEFAULT_BITRATE 38400
#endif
/**
diff --git a/testhal/STM32F1xx/GPT/halconf.h b/testhal/STM32F1xx/GPT/halconf.h
index 3be209376..8d737d99a 100644
--- a/testhal/STM32F1xx/GPT/halconf.h
+++ b/testhal/STM32F1xx/GPT/halconf.h
@@ -35,6 +35,13 @@
#include "mcuconf.h"
/**
+ * @brief Enables the TM subsystem.
+ */
+#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
+#define HAL_USE_TM TRUE
+#endif
+
+/**
* @brief Enables the PAL subsystem.
*/
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
diff --git a/testhal/STM32F1xx/I2C/halconf.h b/testhal/STM32F1xx/I2C/halconf.h
index 3f73e9cd9..122fa5ebf 100644
--- a/testhal/STM32F1xx/I2C/halconf.h
+++ b/testhal/STM32F1xx/I2C/halconf.h
@@ -35,6 +35,13 @@
#include "mcuconf.h"
/**
+ * @brief Enables the TM subsystem.
+ */
+#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
+#define HAL_USE_TM TRUE
+#endif
+
+/**
* @brief Enables the PAL subsystem.
*/
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
@@ -66,7 +73,7 @@
* @brief Enables the GPT subsystem.
*/
#if !defined(HAL_USE_GPT) || defined(__DOXYGEN__)
-#define HAL_USE_GPT TRUE
+#define HAL_USE_GPT FALSE
#endif
/**
diff --git a/testhal/STM32F1xx/IRQ_STORM/halconf.h b/testhal/STM32F1xx/IRQ_STORM/halconf.h
index f9a1b78f6..df586a1df 100644
--- a/testhal/STM32F1xx/IRQ_STORM/halconf.h
+++ b/testhal/STM32F1xx/IRQ_STORM/halconf.h
@@ -35,6 +35,13 @@
#include "mcuconf.h"
/**
+ * @brief Enables the TM subsystem.
+ */
+#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
+#define HAL_USE_TM TRUE
+#endif
+
+/**
* @brief Enables the PAL subsystem.
*/
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
diff --git a/testhal/STM32F1xx/MAC/halconf.h b/testhal/STM32F1xx/MAC/halconf.h
index 8ccf4de5c..fda316d97 100644
--- a/testhal/STM32F1xx/MAC/halconf.h
+++ b/testhal/STM32F1xx/MAC/halconf.h
@@ -35,6 +35,13 @@
#include "mcuconf.h"
/**
+ * @brief Enables the TM subsystem.
+ */
+#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
+#define HAL_USE_TM TRUE
+#endif
+
+/**
* @brief Enables the PAL subsystem.
*/
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
diff --git a/testhal/STM32F1xx/MAC/main.c b/testhal/STM32F1xx/MAC/main.c
index 6e6081162..0e14236da 100644
--- a/testhal/STM32F1xx/MAC/main.c
+++ b/testhal/STM32F1xx/MAC/main.c
@@ -37,7 +37,7 @@ int main(void) {
chSysInit();
/*
- * Activates the EXT driver 1.
+ * Activates the MAC driver 1.
*/
/* macStart(&ETHD1, NULL);*/
diff --git a/testhal/STM32F1xx/PVD/halconf.h b/testhal/STM32F1xx/PVD/halconf.h
index 775428e22..24fdd613d 100644
--- a/testhal/STM32F1xx/PVD/halconf.h
+++ b/testhal/STM32F1xx/PVD/halconf.h
@@ -35,6 +35,13 @@
#include "mcuconf.h"
/**
+ * @brief Enables the TM subsystem.
+ */
+#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
+#define HAL_USE_TM TRUE
+#endif
+
+/**
* @brief Enables the PAL subsystem.
*/
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
diff --git a/testhal/STM32F1xx/PWM-ICU/halconf.h b/testhal/STM32F1xx/PWM-ICU/halconf.h
index 5d3985cdd..934c0a66b 100644
--- a/testhal/STM32F1xx/PWM-ICU/halconf.h
+++ b/testhal/STM32F1xx/PWM-ICU/halconf.h
@@ -35,6 +35,13 @@
#include "mcuconf.h"
/**
+ * @brief Enables the TM subsystem.
+ */
+#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
+#define HAL_USE_TM TRUE
+#endif
+
+/**
* @brief Enables the PAL subsystem.
*/
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
diff --git a/testhal/STM32F1xx/RTC/halconf.h b/testhal/STM32F1xx/RTC/halconf.h
index b15abca14..ac68722dd 100644
--- a/testhal/STM32F1xx/RTC/halconf.h
+++ b/testhal/STM32F1xx/RTC/halconf.h
@@ -35,6 +35,13 @@
#include "mcuconf.h"
/**
+ * @brief Enables the TM subsystem.
+ */
+#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
+#define HAL_USE_TM TRUE
+#endif
+
+/**
* @brief Enables the PAL subsystem.
*/
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
diff --git a/testhal/STM32F1xx/SDC/halconf.h b/testhal/STM32F1xx/SDC/halconf.h
index 978dbc65c..7626c5ced 100644
--- a/testhal/STM32F1xx/SDC/halconf.h
+++ b/testhal/STM32F1xx/SDC/halconf.h
@@ -35,6 +35,13 @@
#include "mcuconf.h"
/**
+ * @brief Enables the TM subsystem.
+ */
+#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
+#define HAL_USE_TM TRUE
+#endif
+
+/**
* @brief Enables the PAL subsystem.
*/
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
diff --git a/testhal/STM32F1xx/SPI/halconf.h b/testhal/STM32F1xx/SPI/halconf.h
index b3bbd85fd..1083c2291 100644
--- a/testhal/STM32F1xx/SPI/halconf.h
+++ b/testhal/STM32F1xx/SPI/halconf.h
@@ -35,6 +35,13 @@
#include "mcuconf.h"
/**
+ * @brief Enables the TM subsystem.
+ */
+#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
+#define HAL_USE_TM TRUE
+#endif
+
+/**
* @brief Enables the PAL subsystem.
*/
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
diff --git a/testhal/STM32F1xx/UART/halconf.h b/testhal/STM32F1xx/UART/halconf.h
index 8a458d702..f63aacaae 100644
--- a/testhal/STM32F1xx/UART/halconf.h
+++ b/testhal/STM32F1xx/UART/halconf.h
@@ -35,6 +35,13 @@
#include "mcuconf.h"
/**
+ * @brief Enables the TM subsystem.
+ */
+#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
+#define HAL_USE_TM TRUE
+#endif
+
+/**
* @brief Enables the PAL subsystem.
*/
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
@@ -199,6 +206,13 @@
/* MAC driver related settings. */
/*===========================================================================*/
+/**
+ * @brief Enables an event sources for incoming packets.
+ */
+#if !defined(MAC_USE_EVENTS) || defined(__DOXYGEN__)
+#define MAC_USE_EVENTS TRUE
+#endif
+
/*===========================================================================*/
/* MMC_SPI driver related settings. */
/*===========================================================================*/
diff --git a/testhal/STM32F1xx/USB_CDC/halconf.h b/testhal/STM32F1xx/USB_CDC/halconf.h
index cfe13f216..a5bd46e40 100644
--- a/testhal/STM32F1xx/USB_CDC/halconf.h
+++ b/testhal/STM32F1xx/USB_CDC/halconf.h
@@ -35,6 +35,13 @@
#include "mcuconf.h"
/**
+ * @brief Enables the TM subsystem.
+ */
+#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
+#define HAL_USE_TM TRUE
+#endif
+
+/**
* @brief Enables the PAL subsystem.
*/
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
@@ -199,6 +206,13 @@
/* MAC driver related settings. */
/*===========================================================================*/
+/**
+ * @brief Enables an event sources for incoming packets.
+ */
+#if !defined(MAC_USE_EVENTS) || defined(__DOXYGEN__)
+#define MAC_USE_EVENTS TRUE
+#endif
+
/*===========================================================================*/
/* MMC_SPI driver related settings. */
/*===========================================================================*/
diff --git a/testhal/STM32F1xx/USB_MSC/halconf.h b/testhal/STM32F1xx/USB_MSC/halconf.h
index 726ec0a55..13972b990 100644
--- a/testhal/STM32F1xx/USB_MSC/halconf.h
+++ b/testhal/STM32F1xx/USB_MSC/halconf.h
@@ -35,6 +35,13 @@
#include "mcuconf.h"
/**
+ * @brief Enables the TM subsystem.
+ */
+#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
+#define HAL_USE_TM TRUE
+#endif
+
+/**
* @brief Enables the PAL subsystem.
*/
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
@@ -199,6 +206,13 @@
/* MAC driver related settings. */
/*===========================================================================*/
+/**
+ * @brief Enables an event sources for incoming packets.
+ */
+#if !defined(MAC_USE_EVENTS) || defined(__DOXYGEN__)
+#define MAC_USE_EVENTS TRUE
+#endif
+
/*===========================================================================*/
/* MMC_SPI driver related settings. */
/*===========================================================================*/
diff --git a/testhal/STM32F4xx/ADC/halconf.h b/testhal/STM32F4xx/ADC/halconf.h
index b1de4bf39..6cb28fb0a 100644
--- a/testhal/STM32F4xx/ADC/halconf.h
+++ b/testhal/STM32F4xx/ADC/halconf.h
@@ -35,6 +35,13 @@
#include "mcuconf.h"
/**
+ * @brief Enables the TM subsystem.
+ */
+#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
+#define HAL_USE_TM TRUE
+#endif
+
+/**
* @brief Enables the PAL subsystem.
*/
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
diff --git a/testhal/STM32F4xx/EXT/halconf.h b/testhal/STM32F4xx/EXT/halconf.h
index 775428e22..24fdd613d 100644
--- a/testhal/STM32F4xx/EXT/halconf.h
+++ b/testhal/STM32F4xx/EXT/halconf.h
@@ -35,6 +35,13 @@
#include "mcuconf.h"
/**
+ * @brief Enables the TM subsystem.
+ */
+#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
+#define HAL_USE_TM TRUE
+#endif
+
+/**
* @brief Enables the PAL subsystem.
*/
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
diff --git a/testhal/STM32F4xx/GPT/halconf.h b/testhal/STM32F4xx/GPT/halconf.h
index 3be209376..8d737d99a 100644
--- a/testhal/STM32F4xx/GPT/halconf.h
+++ b/testhal/STM32F4xx/GPT/halconf.h
@@ -35,6 +35,13 @@
#include "mcuconf.h"
/**
+ * @brief Enables the TM subsystem.
+ */
+#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
+#define HAL_USE_TM TRUE
+#endif
+
+/**
* @brief Enables the PAL subsystem.
*/
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
diff --git a/testhal/STM32F4xx/I2C/halconf.h b/testhal/STM32F4xx/I2C/halconf.h
index 71bb07687..4441df1e1 100644
--- a/testhal/STM32F4xx/I2C/halconf.h
+++ b/testhal/STM32F4xx/I2C/halconf.h
@@ -35,6 +35,13 @@
#include "mcuconf.h"
/**
+ * @brief Enables the TM subsystem.
+ */
+#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
+#define HAL_USE_TM TRUE
+#endif
+
+/**
* @brief Enables the PAL subsystem.
*/
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
diff --git a/testhal/STM32F4xx/IRQ_STORM/halconf.h b/testhal/STM32F4xx/IRQ_STORM/halconf.h
index f9a1b78f6..df586a1df 100644
--- a/testhal/STM32F4xx/IRQ_STORM/halconf.h
+++ b/testhal/STM32F4xx/IRQ_STORM/halconf.h
@@ -35,6 +35,13 @@
#include "mcuconf.h"
/**
+ * @brief Enables the TM subsystem.
+ */
+#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
+#define HAL_USE_TM TRUE
+#endif
+
+/**
* @brief Enables the PAL subsystem.
*/
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
diff --git a/testhal/STM32F4xx/IRQ_STORM_FPU/halconf.h b/testhal/STM32F4xx/IRQ_STORM_FPU/halconf.h
index f9a1b78f6..df586a1df 100644
--- a/testhal/STM32F4xx/IRQ_STORM_FPU/halconf.h
+++ b/testhal/STM32F4xx/IRQ_STORM_FPU/halconf.h
@@ -35,6 +35,13 @@
#include "mcuconf.h"
/**
+ * @brief Enables the TM subsystem.
+ */
+#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
+#define HAL_USE_TM TRUE
+#endif
+
+/**
* @brief Enables the PAL subsystem.
*/
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
diff --git a/testhal/STM32F4xx/PVD/halconf.h b/testhal/STM32F4xx/PVD/halconf.h
index 775428e22..24fdd613d 100644
--- a/testhal/STM32F4xx/PVD/halconf.h
+++ b/testhal/STM32F4xx/PVD/halconf.h
@@ -35,6 +35,13 @@
#include "mcuconf.h"
/**
+ * @brief Enables the TM subsystem.
+ */
+#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
+#define HAL_USE_TM TRUE
+#endif
+
+/**
* @brief Enables the PAL subsystem.
*/
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
diff --git a/testhal/STM32F4xx/PWM-ICU/halconf.h b/testhal/STM32F4xx/PWM-ICU/halconf.h
index 5d3985cdd..934c0a66b 100644
--- a/testhal/STM32F4xx/PWM-ICU/halconf.h
+++ b/testhal/STM32F4xx/PWM-ICU/halconf.h
@@ -35,6 +35,13 @@
#include "mcuconf.h"
/**
+ * @brief Enables the TM subsystem.
+ */
+#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
+#define HAL_USE_TM TRUE
+#endif
+
+/**
* @brief Enables the PAL subsystem.
*/
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
diff --git a/testhal/STM32F4xx/RTC/halconf.h b/testhal/STM32F4xx/RTC/halconf.h
index 81417dcd0..ecd44addc 100644
--- a/testhal/STM32F4xx/RTC/halconf.h
+++ b/testhal/STM32F4xx/RTC/halconf.h
@@ -35,6 +35,13 @@
#include "mcuconf.h"
/**
+ * @brief Enables the TM subsystem.
+ */
+#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
+#define HAL_USE_TM TRUE
+#endif
+
+/**
* @brief Enables the PAL subsystem.
*/
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
diff --git a/testhal/STM32F4xx/SPI/halconf.h b/testhal/STM32F4xx/SPI/halconf.h
index b3bbd85fd..1083c2291 100644
--- a/testhal/STM32F4xx/SPI/halconf.h
+++ b/testhal/STM32F4xx/SPI/halconf.h
@@ -35,6 +35,13 @@
#include "mcuconf.h"
/**
+ * @brief Enables the TM subsystem.
+ */
+#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
+#define HAL_USE_TM TRUE
+#endif
+
+/**
* @brief Enables the PAL subsystem.
*/
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
diff --git a/testhal/STM32F4xx/UART/halconf.h b/testhal/STM32F4xx/UART/halconf.h
index 8a458d702..f63aacaae 100644
--- a/testhal/STM32F4xx/UART/halconf.h
+++ b/testhal/STM32F4xx/UART/halconf.h
@@ -35,6 +35,13 @@
#include "mcuconf.h"
/**
+ * @brief Enables the TM subsystem.
+ */
+#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
+#define HAL_USE_TM TRUE
+#endif
+
+/**
* @brief Enables the PAL subsystem.
*/
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
@@ -199,6 +206,13 @@
/* MAC driver related settings. */
/*===========================================================================*/
+/**
+ * @brief Enables an event sources for incoming packets.
+ */
+#if !defined(MAC_USE_EVENTS) || defined(__DOXYGEN__)
+#define MAC_USE_EVENTS TRUE
+#endif
+
/*===========================================================================*/
/* MMC_SPI driver related settings. */
/*===========================================================================*/
diff --git a/testhal/STM32L1xx/ADC/halconf.h b/testhal/STM32L1xx/ADC/halconf.h
index b1de4bf39..6cb28fb0a 100644
--- a/testhal/STM32L1xx/ADC/halconf.h
+++ b/testhal/STM32L1xx/ADC/halconf.h
@@ -35,6 +35,13 @@
#include "mcuconf.h"
/**
+ * @brief Enables the TM subsystem.
+ */
+#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
+#define HAL_USE_TM TRUE
+#endif
+
+/**
* @brief Enables the PAL subsystem.
*/
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
diff --git a/testhal/STM32L1xx/EXT/halconf.h b/testhal/STM32L1xx/EXT/halconf.h
index 775428e22..24fdd613d 100644
--- a/testhal/STM32L1xx/EXT/halconf.h
+++ b/testhal/STM32L1xx/EXT/halconf.h
@@ -35,6 +35,13 @@
#include "mcuconf.h"
/**
+ * @brief Enables the TM subsystem.
+ */
+#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
+#define HAL_USE_TM TRUE
+#endif
+
+/**
* @brief Enables the PAL subsystem.
*/
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
diff --git a/testhal/STM32L1xx/GPT/halconf.h b/testhal/STM32L1xx/GPT/halconf.h
index 3be209376..8d737d99a 100644
--- a/testhal/STM32L1xx/GPT/halconf.h
+++ b/testhal/STM32L1xx/GPT/halconf.h
@@ -35,6 +35,13 @@
#include "mcuconf.h"
/**
+ * @brief Enables the TM subsystem.
+ */
+#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
+#define HAL_USE_TM TRUE
+#endif
+
+/**
* @brief Enables the PAL subsystem.
*/
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
diff --git a/testhal/STM32L1xx/IRQ_STORM/halconf.h b/testhal/STM32L1xx/IRQ_STORM/halconf.h
index f9a1b78f6..df586a1df 100644
--- a/testhal/STM32L1xx/IRQ_STORM/halconf.h
+++ b/testhal/STM32L1xx/IRQ_STORM/halconf.h
@@ -35,6 +35,13 @@
#include "mcuconf.h"
/**
+ * @brief Enables the TM subsystem.
+ */
+#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
+#define HAL_USE_TM TRUE
+#endif
+
+/**
* @brief Enables the PAL subsystem.
*/
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
diff --git a/testhal/STM32L1xx/PVD/halconf.h b/testhal/STM32L1xx/PVD/halconf.h
index 775428e22..24fdd613d 100644
--- a/testhal/STM32L1xx/PVD/halconf.h
+++ b/testhal/STM32L1xx/PVD/halconf.h
@@ -35,6 +35,13 @@
#include "mcuconf.h"
/**
+ * @brief Enables the TM subsystem.
+ */
+#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
+#define HAL_USE_TM TRUE
+#endif
+
+/**
* @brief Enables the PAL subsystem.
*/
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
diff --git a/testhal/STM32L1xx/PWM-ICU/halconf.h b/testhal/STM32L1xx/PWM-ICU/halconf.h
index 5d3985cdd..934c0a66b 100644
--- a/testhal/STM32L1xx/PWM-ICU/halconf.h
+++ b/testhal/STM32L1xx/PWM-ICU/halconf.h
@@ -35,6 +35,13 @@
#include "mcuconf.h"
/**
+ * @brief Enables the TM subsystem.
+ */
+#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
+#define HAL_USE_TM TRUE
+#endif
+
+/**
* @brief Enables the PAL subsystem.
*/
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
diff --git a/testhal/STM32L1xx/SPI/halconf.h b/testhal/STM32L1xx/SPI/halconf.h
index b3bbd85fd..1083c2291 100644
--- a/testhal/STM32L1xx/SPI/halconf.h
+++ b/testhal/STM32L1xx/SPI/halconf.h
@@ -35,6 +35,13 @@
#include "mcuconf.h"
/**
+ * @brief Enables the TM subsystem.
+ */
+#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
+#define HAL_USE_TM TRUE
+#endif
+
+/**
* @brief Enables the PAL subsystem.
*/
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
diff --git a/testhal/STM32L1xx/UART/halconf.h b/testhal/STM32L1xx/UART/halconf.h
index 8a458d702..f63aacaae 100644
--- a/testhal/STM32L1xx/UART/halconf.h
+++ b/testhal/STM32L1xx/UART/halconf.h
@@ -35,6 +35,13 @@
#include "mcuconf.h"
/**
+ * @brief Enables the TM subsystem.
+ */
+#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
+#define HAL_USE_TM TRUE
+#endif
+
+/**
* @brief Enables the PAL subsystem.
*/
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
@@ -199,6 +206,13 @@
/* MAC driver related settings. */
/*===========================================================================*/
+/**
+ * @brief Enables an event sources for incoming packets.
+ */
+#if !defined(MAC_USE_EVENTS) || defined(__DOXYGEN__)
+#define MAC_USE_EVENTS TRUE
+#endif
+
/*===========================================================================*/
/* MMC_SPI driver related settings. */
/*===========================================================================*/
diff --git a/testhal/STM8S/SPI/demo/halconf.h b/testhal/STM8S/SPI/demo/halconf.h
index b2567cb8f..1083c2291 100644
--- a/testhal/STM8S/SPI/demo/halconf.h
+++ b/testhal/STM8S/SPI/demo/halconf.h
@@ -35,6 +35,13 @@
#include "mcuconf.h"
/**
+ * @brief Enables the TM subsystem.
+ */
+#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
+#define HAL_USE_TM TRUE
+#endif
+
+/**
* @brief Enables the PAL subsystem.
*/
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
@@ -199,6 +206,13 @@
/* MAC driver related settings. */
/*===========================================================================*/
+/**
+ * @brief Enables an event sources for incoming packets.
+ */
+#if !defined(MAC_USE_EVENTS) || defined(__DOXYGEN__)
+#define MAC_USE_EVENTS TRUE
+#endif
+
/*===========================================================================*/
/* MMC_SPI driver related settings. */
/*===========================================================================*/