From e9e6cdc67c77040502ff3ad85c3d5857fef16522 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Mon, 9 Jan 2012 19:43:26 +0000 Subject: Added macro HAL_IMPLEMENTS_COUNTERS to all HAL driver implementations. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3778 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/AT91SAM7/hal_lld.h | 5 +++++ os/hal/platforms/AVR/hal_lld.h | 5 +++++ os/hal/platforms/LPC11xx/hal_lld.h | 5 +++++ os/hal/platforms/LPC13xx/hal_lld.h | 5 +++++ os/hal/platforms/LPC214x/hal_lld.h | 5 +++++ os/hal/platforms/MSP430/hal_lld.h | 5 +++++ os/hal/platforms/Posix/hal_lld.h | 5 +++++ os/hal/platforms/SPC56x/hal_lld.h | 5 +++++ os/hal/platforms/STM8L/hal_lld.h | 5 +++++ os/hal/platforms/STM8S/hal_lld.h | 5 +++++ os/hal/platforms/Win32/hal_lld.h | 5 +++++ 11 files changed, 55 insertions(+) (limited to 'os/hal/platforms') diff --git a/os/hal/platforms/AT91SAM7/hal_lld.h b/os/hal/platforms/AT91SAM7/hal_lld.h index e40cc533f..9092142af 100644 --- a/os/hal/platforms/AT91SAM7/hal_lld.h +++ b/os/hal/platforms/AT91SAM7/hal_lld.h @@ -36,6 +36,11 @@ /* Driver constants. */ /*===========================================================================*/ +/** + * @brief Defines the support for realtime counters in the HAL. + */ +#define HAL_IMPLEMENTS_COUNTERS FALSE + /** * @brief Platform name. */ diff --git a/os/hal/platforms/AVR/hal_lld.h b/os/hal/platforms/AVR/hal_lld.h index c3d65f167..13bc7dc41 100644 --- a/os/hal/platforms/AVR/hal_lld.h +++ b/os/hal/platforms/AVR/hal_lld.h @@ -33,6 +33,11 @@ /* Driver constants. */ /*===========================================================================*/ +/** + * @brief Defines the support for realtime counters in the HAL. + */ +#define HAL_IMPLEMENTS_COUNTERS FALSE + /** * @brief Platform name. */ diff --git a/os/hal/platforms/LPC11xx/hal_lld.h b/os/hal/platforms/LPC11xx/hal_lld.h index 267ce9105..7913fd304 100644 --- a/os/hal/platforms/LPC11xx/hal_lld.h +++ b/os/hal/platforms/LPC11xx/hal_lld.h @@ -36,6 +36,11 @@ /* Driver constants. */ /*===========================================================================*/ +/** + * @brief Defines the support for realtime counters in the HAL. + */ +#define HAL_IMPLEMENTS_COUNTERS FALSE + /** * @brief Platform name. */ diff --git a/os/hal/platforms/LPC13xx/hal_lld.h b/os/hal/platforms/LPC13xx/hal_lld.h index 0f6b1f611..480c54a73 100644 --- a/os/hal/platforms/LPC13xx/hal_lld.h +++ b/os/hal/platforms/LPC13xx/hal_lld.h @@ -36,6 +36,11 @@ /* Driver constants. */ /*===========================================================================*/ +/** + * @brief Defines the support for realtime counters in the HAL. + */ +#define HAL_IMPLEMENTS_COUNTERS FALSE + /** * @brief Platform name. */ diff --git a/os/hal/platforms/LPC214x/hal_lld.h b/os/hal/platforms/LPC214x/hal_lld.h index 70349ae30..942cd2ec8 100644 --- a/os/hal/platforms/LPC214x/hal_lld.h +++ b/os/hal/platforms/LPC214x/hal_lld.h @@ -36,6 +36,11 @@ /* Driver constants. */ /*===========================================================================*/ +/** + * @brief Defines the support for realtime counters in the HAL. + */ +#define HAL_IMPLEMENTS_COUNTERS FALSE + /** * @brief Platform name. */ diff --git a/os/hal/platforms/MSP430/hal_lld.h b/os/hal/platforms/MSP430/hal_lld.h index c2c23342f..8eae96a3d 100644 --- a/os/hal/platforms/MSP430/hal_lld.h +++ b/os/hal/platforms/MSP430/hal_lld.h @@ -35,6 +35,11 @@ /* Driver constants. */ /*===========================================================================*/ +/** + * @brief Defines the support for realtime counters in the HAL. + */ +#define HAL_IMPLEMENTS_COUNTERS FALSE + /** * @brief Platform name. */ diff --git a/os/hal/platforms/Posix/hal_lld.h b/os/hal/platforms/Posix/hal_lld.h index 192f7fefc..850d180e4 100644 --- a/os/hal/platforms/Posix/hal_lld.h +++ b/os/hal/platforms/Posix/hal_lld.h @@ -37,6 +37,11 @@ /* Driver constants. */ /*===========================================================================*/ +/** + * @brief Defines the support for realtime counters in the HAL. + */ +#define HAL_IMPLEMENTS_COUNTERS FALSE + /** * @brief Platform name. */ diff --git a/os/hal/platforms/SPC56x/hal_lld.h b/os/hal/platforms/SPC56x/hal_lld.h index 48b12b19d..20696b7ab 100644 --- a/os/hal/platforms/SPC56x/hal_lld.h +++ b/os/hal/platforms/SPC56x/hal_lld.h @@ -35,6 +35,11 @@ /* Driver constants. */ /*===========================================================================*/ +/** + * @brief Defines the support for realtime counters in the HAL. + */ +#define HAL_IMPLEMENTS_COUNTERS FALSE + /** * @brief Platform name. */ diff --git a/os/hal/platforms/STM8L/hal_lld.h b/os/hal/platforms/STM8L/hal_lld.h index 159bd0c71..4ea47b4ee 100644 --- a/os/hal/platforms/STM8L/hal_lld.h +++ b/os/hal/platforms/STM8L/hal_lld.h @@ -61,6 +61,11 @@ /* Driver constants. */ /*===========================================================================*/ +/** + * @brief Defines the support for realtime counters in the HAL. + */ +#define HAL_IMPLEMENTS_COUNTERS FALSE + /** * @brief Platform name. */ diff --git a/os/hal/platforms/STM8S/hal_lld.h b/os/hal/platforms/STM8S/hal_lld.h index a57da439a..3f7c8af39 100644 --- a/os/hal/platforms/STM8S/hal_lld.h +++ b/os/hal/platforms/STM8S/hal_lld.h @@ -57,6 +57,11 @@ /* Driver constants. */ /*===========================================================================*/ +/** + * @brief Defines the support for realtime counters in the HAL. + */ +#define HAL_IMPLEMENTS_COUNTERS FALSE + /** * @brief Platform name. */ diff --git a/os/hal/platforms/Win32/hal_lld.h b/os/hal/platforms/Win32/hal_lld.h index fbeeaa61e..b9fb947e1 100644 --- a/os/hal/platforms/Win32/hal_lld.h +++ b/os/hal/platforms/Win32/hal_lld.h @@ -36,6 +36,11 @@ /* Driver constants. */ /*===========================================================================*/ +/** + * @brief Defines the support for realtime counters in the HAL. + */ +#define HAL_IMPLEMENTS_COUNTERS FALSE + /** * @brief Platform name. */ -- cgit v1.2.3