From 4cdddfb675743ec724f0e1d72ffd21c7b76604f9 Mon Sep 17 00:00:00 2001 From: barthess Date: Sun, 21 Jul 2013 11:51:52 +0000 Subject: BKPSRAM. Updated halconf.h files. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6015 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, 148 insertions(+), 1 deletion(-) diff --git a/demos/ARMCM4-STM32F407-DISCOVERY-G++/halconf.h b/demos/ARMCM4-STM32F407-DISCOVERY-G++/halconf.h index 3858828e6..f7fce8b3d 100644 --- a/demos/ARMCM4-STM32F407-DISCOVERY-G++/halconf.h +++ b/demos/ARMCM4-STM32F407-DISCOVERY-G++/halconf.h @@ -114,6 +114,13 @@ #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 5351803c1..db36aa85e 100644 --- a/demos/ARMCM4-STM32F407-DISCOVERY-MEMS/halconf.h +++ b/demos/ARMCM4-STM32F407-DISCOVERY-MEMS/halconf.h @@ -114,6 +114,13 @@ #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 8d3f4a793..4a0d66987 100644 --- a/demos/ARMCM4-STM32F407-DISCOVERY/halconf.h +++ b/demos/ARMCM4-STM32F407-DISCOVERY/halconf.h @@ -114,6 +114,13 @@ #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 b5fd15079..6dff73e05 100644 --- a/demos/ARMCM4-STM32F407-LWIP-FATFS-USB/halconf.h +++ b/demos/ARMCM4-STM32F407-LWIP-FATFS-USB/halconf.h @@ -114,6 +114,13 @@ #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 43fddb60e..c0b987c8e 100644 --- a/demos/ARMCM4-STM32F407-LWIP/halconf.h +++ b/demos/ARMCM4-STM32F407-LWIP/halconf.h @@ -114,6 +114,13 @@ #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 f879c03b3..ff608b7a6 100644 --- a/os/hal/templates/halconf.h +++ b/os/hal/templates/halconf.h @@ -124,6 +124,13 @@ #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 85a5dbd3b..b08cfa3c7 100644 --- a/testhal/STM32F4xx/ADC/halconf.h +++ b/testhal/STM32F4xx/ADC/halconf.h @@ -114,6 +114,13 @@ #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 1e5556afc..ec1bc65cd 100644 --- a/testhal/STM32F4xx/BKPSRAM/halconf.h +++ b/testhal/STM32F4xx/BKPSRAM/halconf.h @@ -115,7 +115,7 @@ #endif /** - * @brief Enables the RTC subsystem. + * @brief Enables the BKPSRAM 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 5b6535967..e3d5e301b 100644 --- a/testhal/STM32F4xx/CAN/halconf.h +++ b/testhal/STM32F4xx/CAN/halconf.h @@ -114,6 +114,13 @@ #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 e2b440694..ac68201e4 100644 --- a/testhal/STM32F4xx/DMA_STORM/halconf.h +++ b/testhal/STM32F4xx/DMA_STORM/halconf.h @@ -114,6 +114,13 @@ #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 e0e0c38ff..02c8ac3fd 100644 --- a/testhal/STM32F4xx/EXT/halconf.h +++ b/testhal/STM32F4xx/EXT/halconf.h @@ -114,6 +114,13 @@ #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 554b4e9ca..73ef9f4d8 100644 --- a/testhal/STM32F4xx/GPT/halconf.h +++ b/testhal/STM32F4xx/GPT/halconf.h @@ -114,6 +114,13 @@ #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 8f77e1d4a..c2d446f19 100644 --- a/testhal/STM32F4xx/I2C/halconf.h +++ b/testhal/STM32F4xx/I2C/halconf.h @@ -114,6 +114,13 @@ #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 117a5979b..c36593fcc 100644 --- a/testhal/STM32F4xx/IRQ_STORM/halconf.h +++ b/testhal/STM32F4xx/IRQ_STORM/halconf.h @@ -114,6 +114,13 @@ #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 d91a792b4..9ee6cd363 100644 --- a/testhal/STM32F4xx/IRQ_STORM_FPU/halconf.h +++ b/testhal/STM32F4xx/IRQ_STORM_FPU/halconf.h @@ -114,6 +114,13 @@ #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 2f74c82c8..a78714ab3 100644 --- a/testhal/STM32F4xx/PWM-ICU/halconf.h +++ b/testhal/STM32F4xx/PWM-ICU/halconf.h @@ -114,6 +114,13 @@ #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 f0040635d..c0fa8ef7c 100644 --- a/testhal/STM32F4xx/RTC/halconf.h +++ b/testhal/STM32F4xx/RTC/halconf.h @@ -114,6 +114,13 @@ #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 f33c18c27..9b64bdafe 100644 --- a/testhal/STM32F4xx/RTC_FATTIME/halconf.h +++ b/testhal/STM32F4xx/RTC_FATTIME/halconf.h @@ -107,6 +107,13 @@ #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 7c79feea0..d6f8c4efa 100644 --- a/testhal/STM32F4xx/SDC/halconf.h +++ b/testhal/STM32F4xx/SDC/halconf.h @@ -107,6 +107,13 @@ #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 3e1cafbbf..fdc5203d8 100644 --- a/testhal/STM32F4xx/SPI/halconf.h +++ b/testhal/STM32F4xx/SPI/halconf.h @@ -114,6 +114,13 @@ #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 520e71b0a..3f824879d 100644 --- a/testhal/STM32F4xx/UART/halconf.h +++ b/testhal/STM32F4xx/UART/halconf.h @@ -114,6 +114,13 @@ #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 cd76b0cfe..9530c387b 100644 --- a/testhal/STM32F4xx/USB_CDC/halconf.h +++ b/testhal/STM32F4xx/USB_CDC/halconf.h @@ -114,6 +114,13 @@ #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