diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2012-03-26 17:04:06 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-04-11 16:56:55 -0400 |
commit | c997dcd4f4d4c1a2cba55dc4bb5998e3ec3e03da (patch) | |
tree | 7f8ad1a28239eacc2b9787ee02c33ebd5db4e7ca /libmaple/stm32f1 | |
parent | eee763308a497105a1aa1aefd3c4b3124e8362b3 (diff) | |
download | librambutan-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/stm32f1')
-rw-r--r-- | libmaple/stm32f1/include/series/stm32.h | 2 |
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." |