From a2f9bc469a30a16b125d7f1a01f9bd2fbfc7eeac Mon Sep 17 00:00:00 2001 From: barthess Date: Wed, 14 Oct 2015 17:46:40 +0300 Subject: FSMC code cleanup --- testhal/STM32/STM32F4xx/FSMC_SRAM/.cproject | 43 +++++++++++----------- testhal/STM32/STM32F4xx/FSMC_SRAM/.project | 1 + .../STM32/STM32F4xx/FSMC_SRAM/halconf_community.h | 7 ++++ 3 files changed, 29 insertions(+), 22 deletions(-) (limited to 'testhal/STM32/STM32F4xx/FSMC_SRAM') diff --git a/testhal/STM32/STM32F4xx/FSMC_SRAM/.cproject b/testhal/STM32/STM32F4xx/FSMC_SRAM/.cproject index 9ba3e1a..64d4678 100644 --- a/testhal/STM32/STM32F4xx/FSMC_SRAM/.cproject +++ b/testhal/STM32/STM32F4xx/FSMC_SRAM/.cproject @@ -1,36 +1,33 @@ - - + + - + + + - - - - - - - - - - - + + + + - diff --git a/testhal/STM32/STM32F4xx/FSMC_SRAM/.project b/testhal/STM32/STM32F4xx/FSMC_SRAM/.project index dd8ba3a..38b4c10 100644 --- a/testhal/STM32/STM32F4xx/FSMC_SRAM/.project +++ b/testhal/STM32/STM32F4xx/FSMC_SRAM/.project @@ -22,6 +22,7 @@ org.eclipse.cdt.core.cnature org.eclipse.cdt.managedbuilder.core.managedBuildNature org.eclipse.cdt.managedbuilder.core.ScannerConfigNature + org.eclipse.cdt.core.ccnature diff --git a/testhal/STM32/STM32F4xx/FSMC_SRAM/halconf_community.h b/testhal/STM32/STM32F4xx/FSMC_SRAM/halconf_community.h index 5eecb56..e15f68d 100644 --- a/testhal/STM32/STM32F4xx/FSMC_SRAM/halconf_community.h +++ b/testhal/STM32/STM32F4xx/FSMC_SRAM/halconf_community.h @@ -24,6 +24,13 @@ #define HAL_USE_COMMUNITY TRUE #endif +/** + * @brief Enables the NAND subsystem. + */ +#if !defined(HAL_USE_FSMC) || defined(__DOXYGEN__) +#define HAL_USE_FSMC TRUE +#endif + /** * @brief Enables the NAND subsystem. */ -- cgit v1.2.3 From c457b4d7d14a37eca844b5979cb705264ed4c155 Mon Sep 17 00:00:00 2001 From: barthess Date: Thu, 15 Oct 2015 10:17:53 +0300 Subject: Fixed copypaste typo in comments --- testhal/STM32/STM32F4xx/FSMC_SRAM/halconf_community.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testhal/STM32/STM32F4xx/FSMC_SRAM') diff --git a/testhal/STM32/STM32F4xx/FSMC_SRAM/halconf_community.h b/testhal/STM32/STM32F4xx/FSMC_SRAM/halconf_community.h index e15f68d..8d24d02c 100644 --- a/testhal/STM32/STM32F4xx/FSMC_SRAM/halconf_community.h +++ b/testhal/STM32/STM32F4xx/FSMC_SRAM/halconf_community.h @@ -25,7 +25,7 @@ #endif /** - * @brief Enables the NAND subsystem. + * @brief Enables the FSMC subsystem. */ #if !defined(HAL_USE_FSMC) || defined(__DOXYGEN__) #define HAL_USE_FSMC TRUE -- cgit v1.2.3 From 2c7dc44fad1de5ff9ce449aeaf2ff94784d7807f Mon Sep 17 00:00:00 2001 From: barthess Date: Wed, 13 Jan 2016 10:21:50 +0300 Subject: Added WDG switch to halconf.h files --- testhal/STM32/STM32F4xx/FSMC_SRAM/halconf.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'testhal/STM32/STM32F4xx/FSMC_SRAM') diff --git a/testhal/STM32/STM32F4xx/FSMC_SRAM/halconf.h b/testhal/STM32/STM32F4xx/FSMC_SRAM/halconf.h index b4882dc..726e673 100644 --- a/testhal/STM32/STM32F4xx/FSMC_SRAM/halconf.h +++ b/testhal/STM32/STM32F4xx/FSMC_SRAM/halconf.h @@ -163,6 +163,13 @@ #define HAL_USE_USB FALSE #endif +/** + * @brief Enables the WDG subsystem. + */ +#if !defined(HAL_USE_WDG) || defined(__DOXYGEN__) +#define HAL_USE_WDG FALSE +#endif + /*===========================================================================*/ /* ADC driver related settings. */ /*===========================================================================*/ -- cgit v1.2.3