aboutsummaryrefslogtreecommitdiff
path: root/include/libopencm3/stm32/f4/flash.h
diff options
context:
space:
mode:
authorPiotr Esden-Tempski2012-09-10 12:21:21 -0700
committerPiotr Esden-Tempski2012-09-10 12:21:21 -0700
commit02ea612142fb93d43698b10502a05f6ccd2ec781 (patch)
tree575f5a1be19a9c5133fcd9d0593ad7bb60c99f34 /include/libopencm3/stm32/f4/flash.h
parent9af50d6e5cf0681b276438acfd92c9975290f1b2 (diff)
parent5ad8f26ede984cbf820707a11e1ddbc8ea52d06b (diff)
Merge pull request #25 "Add support for C++ and fix some comments typo"
Merge remote-tracking branch 'schodet/master' Conflicts: include/libopencm3/stm32/f1/adc.h
Diffstat (limited to 'include/libopencm3/stm32/f4/flash.h')
-rw-r--r--include/libopencm3/stm32/f4/flash.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libopencm3/stm32/f4/flash.h b/include/libopencm3/stm32/f4/flash.h
index f85d56f..2221333 100644
--- a/include/libopencm3/stm32/f4/flash.h
+++ b/include/libopencm3/stm32/f4/flash.h
@@ -115,6 +115,8 @@
/* --- Function prototypes ------------------------------------------------- */
+BEGIN_DECLS
+
void flash_dcache_enable(void);
void flash_dcache_disable(void);
void flash_icache_enable(void);
@@ -144,4 +146,6 @@ void flash_program_byte(u32 address, u8 data, u32 program_size);
void flash_wait_for_last_operation(void);
void flash_program_option_bytes(u32 data);
+END_DECLS
+
#endif