From abda86c0eae7567ea2290401a3252d7b2c487868 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 3 May 2015 09:23:14 +0000 Subject: Updated all halconf.h files with DAC switch. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7944 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- testhal/STM32/STM32F37x/ADC/halconf.h | 7 +++++++ testhal/STM32/STM32F37x/CAN/halconf.h | 7 +++++++ testhal/STM32/STM32F37x/EXT/halconf.h | 7 +++++++ testhal/STM32/STM32F37x/I2C/halconf.h | 7 +++++++ testhal/STM32/STM32F37x/IRQ_STORM/halconf.h | 7 +++++++ testhal/STM32/STM32F37x/PWM-ICU/halconf.h | 7 +++++++ testhal/STM32/STM32F37x/SDADC/halconf.h | 7 +++++++ testhal/STM32/STM32F37x/SPI/halconf.h | 7 +++++++ testhal/STM32/STM32F37x/UART/halconf.h | 7 +++++++ testhal/STM32/STM32F37x/USB_CDC/halconf.h | 7 +++++++ 10 files changed, 70 insertions(+) (limited to 'testhal/STM32/STM32F37x') diff --git a/testhal/STM32/STM32F37x/ADC/halconf.h b/testhal/STM32/STM32F37x/ADC/halconf.h index 3c05d2f46..6d34adbf5 100644 --- a/testhal/STM32/STM32F37x/ADC/halconf.h +++ b/testhal/STM32/STM32F37x/ADC/halconf.h @@ -51,6 +51,13 @@ #define HAL_USE_CAN FALSE #endif +/** + * @brief Enables the DAC subsystem. + */ +#if !defined(HAL_USE_DAC) || defined(__DOXYGEN__) +#define HAL_USE_DAC TRUE +#endif + /** * @brief Enables the EXT subsystem. */ diff --git a/testhal/STM32/STM32F37x/CAN/halconf.h b/testhal/STM32/STM32F37x/CAN/halconf.h index 999ae7818..357117e54 100644 --- a/testhal/STM32/STM32F37x/CAN/halconf.h +++ b/testhal/STM32/STM32F37x/CAN/halconf.h @@ -51,6 +51,13 @@ #define HAL_USE_CAN TRUE #endif +/** + * @brief Enables the DAC subsystem. + */ +#if !defined(HAL_USE_DAC) || defined(__DOXYGEN__) +#define HAL_USE_DAC TRUE +#endif + /** * @brief Enables the EXT subsystem. */ diff --git a/testhal/STM32/STM32F37x/EXT/halconf.h b/testhal/STM32/STM32F37x/EXT/halconf.h index db6de0346..b642bec8d 100644 --- a/testhal/STM32/STM32F37x/EXT/halconf.h +++ b/testhal/STM32/STM32F37x/EXT/halconf.h @@ -51,6 +51,13 @@ #define HAL_USE_CAN FALSE #endif +/** + * @brief Enables the DAC subsystem. + */ +#if !defined(HAL_USE_DAC) || defined(__DOXYGEN__) +#define HAL_USE_DAC TRUE +#endif + /** * @brief Enables the EXT subsystem. */ diff --git a/testhal/STM32/STM32F37x/I2C/halconf.h b/testhal/STM32/STM32F37x/I2C/halconf.h index 352ad7196..6960c35d0 100644 --- a/testhal/STM32/STM32F37x/I2C/halconf.h +++ b/testhal/STM32/STM32F37x/I2C/halconf.h @@ -51,6 +51,13 @@ #define HAL_USE_CAN FALSE #endif +/** + * @brief Enables the DAC subsystem. + */ +#if !defined(HAL_USE_DAC) || defined(__DOXYGEN__) +#define HAL_USE_DAC TRUE +#endif + /** * @brief Enables the EXT subsystem. */ diff --git a/testhal/STM32/STM32F37x/IRQ_STORM/halconf.h b/testhal/STM32/STM32F37x/IRQ_STORM/halconf.h index fbec9bbd9..dd732fa15 100644 --- a/testhal/STM32/STM32F37x/IRQ_STORM/halconf.h +++ b/testhal/STM32/STM32F37x/IRQ_STORM/halconf.h @@ -51,6 +51,13 @@ #define HAL_USE_CAN FALSE #endif +/** + * @brief Enables the DAC subsystem. + */ +#if !defined(HAL_USE_DAC) || defined(__DOXYGEN__) +#define HAL_USE_DAC TRUE +#endif + /** * @brief Enables the EXT subsystem. */ diff --git a/testhal/STM32/STM32F37x/PWM-ICU/halconf.h b/testhal/STM32/STM32F37x/PWM-ICU/halconf.h index 57d20a287..a18bd8f34 100644 --- a/testhal/STM32/STM32F37x/PWM-ICU/halconf.h +++ b/testhal/STM32/STM32F37x/PWM-ICU/halconf.h @@ -51,6 +51,13 @@ #define HAL_USE_CAN FALSE #endif +/** + * @brief Enables the DAC subsystem. + */ +#if !defined(HAL_USE_DAC) || defined(__DOXYGEN__) +#define HAL_USE_DAC TRUE +#endif + /** * @brief Enables the EXT subsystem. */ diff --git a/testhal/STM32/STM32F37x/SDADC/halconf.h b/testhal/STM32/STM32F37x/SDADC/halconf.h index 3c05d2f46..6d34adbf5 100644 --- a/testhal/STM32/STM32F37x/SDADC/halconf.h +++ b/testhal/STM32/STM32F37x/SDADC/halconf.h @@ -51,6 +51,13 @@ #define HAL_USE_CAN FALSE #endif +/** + * @brief Enables the DAC subsystem. + */ +#if !defined(HAL_USE_DAC) || defined(__DOXYGEN__) +#define HAL_USE_DAC TRUE +#endif + /** * @brief Enables the EXT subsystem. */ diff --git a/testhal/STM32/STM32F37x/SPI/halconf.h b/testhal/STM32/STM32F37x/SPI/halconf.h index bd08ac480..94bf1407e 100644 --- a/testhal/STM32/STM32F37x/SPI/halconf.h +++ b/testhal/STM32/STM32F37x/SPI/halconf.h @@ -51,6 +51,13 @@ #define HAL_USE_CAN FALSE #endif +/** + * @brief Enables the DAC subsystem. + */ +#if !defined(HAL_USE_DAC) || defined(__DOXYGEN__) +#define HAL_USE_DAC TRUE +#endif + /** * @brief Enables the EXT subsystem. */ diff --git a/testhal/STM32/STM32F37x/UART/halconf.h b/testhal/STM32/STM32F37x/UART/halconf.h index ac9f406cd..3dfd968c9 100644 --- a/testhal/STM32/STM32F37x/UART/halconf.h +++ b/testhal/STM32/STM32F37x/UART/halconf.h @@ -51,6 +51,13 @@ #define HAL_USE_CAN FALSE #endif +/** + * @brief Enables the DAC subsystem. + */ +#if !defined(HAL_USE_DAC) || defined(__DOXYGEN__) +#define HAL_USE_DAC TRUE +#endif + /** * @brief Enables the EXT subsystem. */ diff --git a/testhal/STM32/STM32F37x/USB_CDC/halconf.h b/testhal/STM32/STM32F37x/USB_CDC/halconf.h index 468973ae1..11c1c9b64 100644 --- a/testhal/STM32/STM32F37x/USB_CDC/halconf.h +++ b/testhal/STM32/STM32F37x/USB_CDC/halconf.h @@ -51,6 +51,13 @@ #define HAL_USE_CAN FALSE #endif +/** + * @brief Enables the DAC subsystem. + */ +#if !defined(HAL_USE_DAC) || defined(__DOXYGEN__) +#define HAL_USE_DAC TRUE +#endif + /** * @brief Enables the EXT subsystem. */ -- cgit v1.2.3