aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/stm32f2/include
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2012-03-26 17:04:06 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2012-04-11 16:56:55 -0400
commitc997dcd4f4d4c1a2cba55dc4bb5998e3ec3e03da (patch)
tree7f8ad1a28239eacc2b9787ee02c33ebd5db4e7ca /libmaple/stm32f2/include
parenteee763308a497105a1aa1aefd3c4b3124e8362b3 (diff)
downloadlibrambutan-c997dcd4f4d4c1a2cba55dc4bb5998e3ec3e03da.tar.gz
librambutan-c997dcd4f4d4c1a2cba55dc4bb5998e3ec3e03da.zip
stm32.h: Add STM32_HAVE_FSMC.
This is a feature test macro for the flexible static memory controller (FSMC) peripheral. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'libmaple/stm32f2/include')
-rw-r--r--libmaple/stm32f2/include/series/stm32.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/libmaple/stm32f2/include/series/stm32.h b/libmaple/stm32f2/include/series/stm32.h
index 29e789f..222608d 100644
--- a/libmaple/stm32f2/include/series/stm32.h
+++ b/libmaple/stm32f2/include/series/stm32.h
@@ -53,21 +53,16 @@ extern "C" {
#endif
/*
- * Interrupts
- */
-
-#define STM32_NR_INTERRUPTS 81
-
-/*
* Series- and MCU-specific values
*/
#define STM32_MCU_SERIES STM32_SERIES_F2
+#define STM32_NR_INTERRUPTS 81
+#define STM32_HAVE_FSMC 1
#if defined(MCU_STM32F207IC) || defined(MCU_STM32F207IG)
# define STM32_NR_GPIO_PORTS 9
# define STM32_SRAM_END ((void*)0x20020000)
-
#else
#error "Unrecognized STM32F2 MCU, or no MCU specified."
#endif