aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/fsmc.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple/fsmc.h')
-rw-r--r--libmaple/fsmc.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libmaple/fsmc.h b/libmaple/fsmc.h
index e83b529..fed6894 100644
--- a/libmaple/fsmc.h
+++ b/libmaple/fsmc.h
@@ -37,6 +37,8 @@
extern "C"{
#endif
+#ifdef STM32_HIGH_DENSITY
+
// There are 4 FSMC chip-select devices; here are the SRAM-specific registers
// for each
@@ -82,9 +84,10 @@ typedef struct {
void fsmc_native_sram_init(void);
+#endif /* STM32_HIGH_DENSITY */
+
#ifdef __cplusplus
} // extern "C"
#endif
-
#endif