From 4301222a4441bada2803fcf7498f4c7fbd7c1d95 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 21 Jul 2013 12:41:44 +0000 Subject: Why an STM32F4xx-specific feature in halconf.h? git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6016 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/ARMCM4-STM32F407-DISCOVERY-G++/halconf.h | 7 ------- demos/ARMCM4-STM32F407-DISCOVERY-MEMS/halconf.h | 7 ------- demos/ARMCM4-STM32F407-DISCOVERY/halconf.h | 7 ------- demos/ARMCM4-STM32F407-LWIP-FATFS-USB/halconf.h | 7 ------- demos/ARMCM4-STM32F407-LWIP/halconf.h | 7 ------- os/hal/templates/halconf.h | 7 ------- testhal/STM32F4xx/ADC/halconf.h | 7 ------- testhal/STM32F4xx/BKPSRAM/halconf.h | 2 +- testhal/STM32F4xx/CAN/halconf.h | 7 ------- testhal/STM32F4xx/DMA_STORM/halconf.h | 7 ------- testhal/STM32F4xx/EXT/halconf.h | 7 ------- testhal/STM32F4xx/GPT/halconf.h | 7 ------- testhal/STM32F4xx/I2C/halconf.h | 7 ------- testhal/STM32F4xx/IRQ_STORM/halconf.h | 7 ------- testhal/STM32F4xx/IRQ_STORM_FPU/halconf.h | 7 ------- testhal/STM32F4xx/PWM-ICU/halconf.h | 7 ------- testhal/STM32F4xx/RTC/halconf.h | 7 ------- testhal/STM32F4xx/RTC_FATTIME/halconf.h | 7 ------- testhal/STM32F4xx/SDC/halconf.h | 7 ------- testhal/STM32F4xx/SPI/halconf.h | 7 ------- testhal/STM32F4xx/UART/halconf.h | 7 ------- testhal/STM32F4xx/USB_CDC/halconf.h | 7 ------- 22 files changed, 1 insertion(+), 148 deletions(-) diff --git a/demos/ARMCM4-STM32F407-DISCOVERY-G++/halconf.h b/demos/ARMCM4-STM32F407-DISCOVERY-G++/halconf.h index f7fce8b3d..3858828e6 100644 --- a/demos/ARMCM4-STM32F407-DISCOVERY-G++/halconf.h +++ b/demos/ARMCM4-STM32F407-DISCOVERY-G++/halconf.h @@ -114,13 +114,6 @@ #define HAL_USE_RTC FALSE #endif -/** - * @brief Enables the BKPSRAM subsystem. - */ -#if !defined(HAL_USE_BKPSRAM) || defined(__DOXYGEN__) -#define HAL_USE_BKPSRAM FALSE -#endif - /** * @brief Enables the SDC subsystem. */ diff --git a/demos/ARMCM4-STM32F407-DISCOVERY-MEMS/halconf.h b/demos/ARMCM4-STM32F407-DISCOVERY-MEMS/halconf.h index db36aa85e..5351803c1 100644 --- a/demos/ARMCM4-STM32F407-DISCOVERY-MEMS/halconf.h +++ b/demos/ARMCM4-STM32F407-DISCOVERY-MEMS/halconf.h @@ -114,13 +114,6 @@ #define HAL_USE_RTC FALSE #endif -/** - * @brief Enables the BKPSRAM subsystem. - */ -#if !defined(HAL_USE_BKPSRAM) || defined(__DOXYGEN__) -#define HAL_USE_BKPSRAM FALSE -#endif - /** * @brief Enables the SDC subsystem. */ diff --git a/demos/ARMCM4-STM32F407-DISCOVERY/halconf.h b/demos/ARMCM4-STM32F407-DISCOVERY/halconf.h index 4a0d66987..8d3f4a793 100644 --- a/demos/ARMCM4-STM32F407-DISCOVERY/halconf.h +++ b/demos/ARMCM4-STM32F407-DISCOVERY/halconf.h @@ -114,13 +114,6 @@ #define HAL_USE_RTC FALSE #endif -/** - * @brief Enables the BKPSRAM subsystem. - */ -#if !defined(HAL_USE_BKPSRAM) || defined(__DOXYGEN__) -#define HAL_USE_BKPSRAM FALSE -#endif - /** * @brief Enables the SDC subsystem. */ diff --git a/demos/ARMCM4-STM32F407-LWIP-FATFS-USB/halconf.h b/demos/ARMCM4-STM32F407-LWIP-FATFS-USB/halconf.h index 6dff73e05..b5fd15079 100644 --- a/demos/ARMCM4-STM32F407-LWIP-FATFS-USB/halconf.h +++ b/demos/ARMCM4-STM32F407-LWIP-FATFS-USB/halconf.h @@ -114,13 +114,6 @@ #define HAL_USE_RTC FALSE #endif -/** - * @brief Enables the BKPSRAM subsystem. - */ -#if !defined(HAL_USE_BKPSRAM) || defined(__DOXYGEN__) -#define HAL_USE_BKPSRAM FALSE -#endif - /** * @brief Enables the SDC subsystem. */ diff --git a/demos/ARMCM4-STM32F407-LWIP/halconf.h b/demos/ARMCM4-STM32F407-LWIP/halconf.h index c0b987c8e..43fddb60e 100644 --- a/demos/ARMCM4-STM32F407-LWIP/halconf.h +++ b/demos/ARMCM4-STM32F407-LWIP/halconf.h @@ -114,13 +114,6 @@ #define HAL_USE_RTC FALSE #endif -/** - * @brief Enables the BKPSRAM subsystem. - */ -#if !defined(HAL_USE_BKPSRAM) || defined(__DOXYGEN__) -#define HAL_USE_BKPSRAM FALSE -#endif - /** * @brief Enables the SDC subsystem. */ diff --git a/os/hal/templates/halconf.h b/os/hal/templates/halconf.h index ff608b7a6..f879c03b3 100644 --- a/os/hal/templates/halconf.h +++ b/os/hal/templates/halconf.h @@ -124,13 +124,6 @@ #define HAL_USE_RTC FALSE #endif -/** - * @brief Enables the BKPSRAM subsystem. - */ -#if !defined(HAL_USE_RTC) || defined(__DOXYGEN__) -#define HAL_USE_BKPSRAM FALSE -#endif - /** * @brief Enables the SDC subsystem. */ diff --git a/testhal/STM32F4xx/ADC/halconf.h b/testhal/STM32F4xx/ADC/halconf.h index b08cfa3c7..85a5dbd3b 100644 --- a/testhal/STM32F4xx/ADC/halconf.h +++ b/testhal/STM32F4xx/ADC/halconf.h @@ -114,13 +114,6 @@ #define HAL_USE_RTC FALSE #endif -/** - * @brief Enables the BKPSRAM subsystem. - */ -#if !defined(HAL_USE_BKPSRAM) || defined(__DOXYGEN__) -#define HAL_USE_BKPSRAM FALSE -#endif - /** * @brief Enables the SDC subsystem. */ diff --git a/testhal/STM32F4xx/BKPSRAM/halconf.h b/testhal/STM32F4xx/BKPSRAM/halconf.h index ec1bc65cd..1e5556afc 100644 --- a/testhal/STM32F4xx/BKPSRAM/halconf.h +++ b/testhal/STM32F4xx/BKPSRAM/halconf.h @@ -115,7 +115,7 @@ #endif /** - * @brief Enables the BKPSRAM subsystem. + * @brief Enables the RTC subsystem. */ #if !defined(HAL_USE_BKPSRAM) || defined(__DOXYGEN__) #define HAL_USE_BKPSRAM TRUE diff --git a/testhal/STM32F4xx/CAN/halconf.h b/testhal/STM32F4xx/CAN/halconf.h index e3d5e301b..5b6535967 100644 --- a/testhal/STM32F4xx/CAN/halconf.h +++ b/testhal/STM32F4xx/CAN/halconf.h @@ -114,13 +114,6 @@ #define HAL_USE_RTC FALSE #endif -/** - * @brief Enables the BKPSRAM subsystem. - */ -#if !defined(HAL_USE_BKPSRAM) || defined(__DOXYGEN__) -#define HAL_USE_BKPSRAM FALSE -#endif - /** * @brief Enables the SDC subsystem. */ diff --git a/testhal/STM32F4xx/DMA_STORM/halconf.h b/testhal/STM32F4xx/DMA_STORM/halconf.h index ac68201e4..e2b440694 100644 --- a/testhal/STM32F4xx/DMA_STORM/halconf.h +++ b/testhal/STM32F4xx/DMA_STORM/halconf.h @@ -114,13 +114,6 @@ #define HAL_USE_RTC FALSE #endif -/** - * @brief Enables the BKPSRAM subsystem. - */ -#if !defined(HAL_USE_BKPSRAM) || defined(__DOXYGEN__) -#define HAL_USE_BKPSRAM FALSE -#endif - /** * @brief Enables the SDC subsystem. */ diff --git a/testhal/STM32F4xx/EXT/halconf.h b/testhal/STM32F4xx/EXT/halconf.h index 02c8ac3fd..e0e0c38ff 100644 --- a/testhal/STM32F4xx/EXT/halconf.h +++ b/testhal/STM32F4xx/EXT/halconf.h @@ -114,13 +114,6 @@ #define HAL_USE_RTC FALSE #endif -/** - * @brief Enables the BKPSRAM subsystem. - */ -#if !defined(HAL_USE_BKPSRAM) || defined(__DOXYGEN__) -#define HAL_USE_BKPSRAM FALSE -#endif - /** * @brief Enables the SDC subsystem. */ diff --git a/testhal/STM32F4xx/GPT/halconf.h b/testhal/STM32F4xx/GPT/halconf.h index 73ef9f4d8..554b4e9ca 100644 --- a/testhal/STM32F4xx/GPT/halconf.h +++ b/testhal/STM32F4xx/GPT/halconf.h @@ -114,13 +114,6 @@ #define HAL_USE_RTC FALSE #endif -/** - * @brief Enables the BKPSRAM subsystem. - */ -#if !defined(HAL_USE_BKPSRAM) || defined(__DOXYGEN__) -#define HAL_USE_BKPSRAM FALSE -#endif - /** * @brief Enables the SDC subsystem. */ diff --git a/testhal/STM32F4xx/I2C/halconf.h b/testhal/STM32F4xx/I2C/halconf.h index c2d446f19..8f77e1d4a 100644 --- a/testhal/STM32F4xx/I2C/halconf.h +++ b/testhal/STM32F4xx/I2C/halconf.h @@ -114,13 +114,6 @@ #define HAL_USE_RTC FALSE #endif -/** - * @brief Enables the BKPSRAM subsystem. - */ -#if !defined(HAL_USE_BKPSRAM) || defined(__DOXYGEN__) -#define HAL_USE_BKPSRAM FALSE -#endif - /** * @brief Enables the SDC subsystem. */ diff --git a/testhal/STM32F4xx/IRQ_STORM/halconf.h b/testhal/STM32F4xx/IRQ_STORM/halconf.h index c36593fcc..117a5979b 100644 --- a/testhal/STM32F4xx/IRQ_STORM/halconf.h +++ b/testhal/STM32F4xx/IRQ_STORM/halconf.h @@ -114,13 +114,6 @@ #define HAL_USE_RTC FALSE #endif -/** - * @brief Enables the BKPSRAM subsystem. - */ -#if !defined(HAL_USE_BKPSRAM) || defined(__DOXYGEN__) -#define HAL_USE_BKPSRAM FALSE -#endif - /** * @brief Enables the SDC subsystem. */ diff --git a/testhal/STM32F4xx/IRQ_STORM_FPU/halconf.h b/testhal/STM32F4xx/IRQ_STORM_FPU/halconf.h index 9ee6cd363..d91a792b4 100644 --- a/testhal/STM32F4xx/IRQ_STORM_FPU/halconf.h +++ b/testhal/STM32F4xx/IRQ_STORM_FPU/halconf.h @@ -114,13 +114,6 @@ #define HAL_USE_RTC FALSE #endif -/** - * @brief Enables the BKPSRAM subsystem. - */ -#if !defined(HAL_USE_BKPSRAM) || defined(__DOXYGEN__) -#define HAL_USE_BKPSRAM FALSE -#endif - /** * @brief Enables the SDC subsystem. */ diff --git a/testhal/STM32F4xx/PWM-ICU/halconf.h b/testhal/STM32F4xx/PWM-ICU/halconf.h index a78714ab3..2f74c82c8 100644 --- a/testhal/STM32F4xx/PWM-ICU/halconf.h +++ b/testhal/STM32F4xx/PWM-ICU/halconf.h @@ -114,13 +114,6 @@ #define HAL_USE_RTC FALSE #endif -/** - * @brief Enables the BKPSRAM subsystem. - */ -#if !defined(HAL_USE_BKPSRAM) || defined(__DOXYGEN__) -#define HAL_USE_BKPSRAM FALSE -#endif - /** * @brief Enables the SDC subsystem. */ diff --git a/testhal/STM32F4xx/RTC/halconf.h b/testhal/STM32F4xx/RTC/halconf.h index c0fa8ef7c..f0040635d 100644 --- a/testhal/STM32F4xx/RTC/halconf.h +++ b/testhal/STM32F4xx/RTC/halconf.h @@ -114,13 +114,6 @@ #define HAL_USE_RTC TRUE #endif -/** - * @brief Enables the BKPSRAM subsystem. - */ -#if !defined(HAL_USE_BKPSRAM) || defined(__DOXYGEN__) -#define HAL_USE_BKPSRAM FALSE -#endif - /** * @brief Enables the SDC subsystem. */ diff --git a/testhal/STM32F4xx/RTC_FATTIME/halconf.h b/testhal/STM32F4xx/RTC_FATTIME/halconf.h index 9b64bdafe..f33c18c27 100644 --- a/testhal/STM32F4xx/RTC_FATTIME/halconf.h +++ b/testhal/STM32F4xx/RTC_FATTIME/halconf.h @@ -107,13 +107,6 @@ #define HAL_USE_RTC TRUE #endif -/** - * @brief Enables the BKPSRAM subsystem. - */ -#if !defined(HAL_USE_BKPSRAM) || defined(__DOXYGEN__) -#define HAL_USE_BKPSRAM FALSE -#endif - /** * @brief Enables the SDC subsystem. */ diff --git a/testhal/STM32F4xx/SDC/halconf.h b/testhal/STM32F4xx/SDC/halconf.h index d6f8c4efa..7c79feea0 100644 --- a/testhal/STM32F4xx/SDC/halconf.h +++ b/testhal/STM32F4xx/SDC/halconf.h @@ -107,13 +107,6 @@ #define HAL_USE_RTC FALSE #endif -/** - * @brief Enables the BKPSRAM subsystem. - */ -#if !defined(HAL_USE_BKPSRAM) || defined(__DOXYGEN__) -#define HAL_USE_BKPSRAM FALSE -#endif - /** * @brief Enables the SDC subsystem. */ diff --git a/testhal/STM32F4xx/SPI/halconf.h b/testhal/STM32F4xx/SPI/halconf.h index fdc5203d8..3e1cafbbf 100644 --- a/testhal/STM32F4xx/SPI/halconf.h +++ b/testhal/STM32F4xx/SPI/halconf.h @@ -114,13 +114,6 @@ #define HAL_USE_RTC FALSE #endif -/** - * @brief Enables the BKPSRAM subsystem. - */ -#if !defined(HAL_USE_BKPSRAM) || defined(__DOXYGEN__) -#define HAL_USE_BKPSRAM FALSE -#endif - /** * @brief Enables the SDC subsystem. */ diff --git a/testhal/STM32F4xx/UART/halconf.h b/testhal/STM32F4xx/UART/halconf.h index 3f824879d..520e71b0a 100644 --- a/testhal/STM32F4xx/UART/halconf.h +++ b/testhal/STM32F4xx/UART/halconf.h @@ -114,13 +114,6 @@ #define HAL_USE_RTC FALSE #endif -/** - * @brief Enables the BKPSRAM subsystem. - */ -#if !defined(HAL_USE_BKPSRAM) || defined(__DOXYGEN__) -#define HAL_USE_BKPSRAM FALSE -#endif - /** * @brief Enables the SDC subsystem. */ diff --git a/testhal/STM32F4xx/USB_CDC/halconf.h b/testhal/STM32F4xx/USB_CDC/halconf.h index 9530c387b..cd76b0cfe 100644 --- a/testhal/STM32F4xx/USB_CDC/halconf.h +++ b/testhal/STM32F4xx/USB_CDC/halconf.h @@ -114,13 +114,6 @@ #define HAL_USE_RTC FALSE #endif -/** - * @brief Enables the BKPSRAM subsystem. - */ -#if !defined(HAL_USE_BKPSRAM) || defined(__DOXYGEN__) -#define HAL_USE_BKPSRAM FALSE -#endif - /** * @brief Enables the SDC subsystem. */ -- cgit v1.2.3