aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/stm32f1
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple/stm32f1')
-rw-r--r--libmaple/stm32f1/include/series/stm32.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmaple/stm32f1/include/series/stm32.h b/libmaple/stm32f1/include/series/stm32.h
index 86f0294..26c45a2 100644
--- a/libmaple/stm32f1/include/series/stm32.h
+++ b/libmaple/stm32f1/include/series/stm32.h
@@ -58,8 +58,10 @@ extern "C" {
#ifdef STM32_MEDIUM_DENSITY
# define STM32_NR_INTERRUPTS 43
+# define STM32_HAVE_FSMC 0
#elif defined(STM32_HIGH_DENSITY)
# define STM32_NR_INTERRUPTS 60
+# define STM32_HAVE_FSMC 1
#else
#error "Unsupported STM32F1 density, or no density specified. Add something " \
"like -DSTM32_MEDIUM_DENSITY to your compiler arguments."