Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thirdpin/libopencm3.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Palsson <karlp@tweak.net.au>2018-07-23 12:36:50 +0300
committerKarl Palsson <karlp@tweak.net.au>2018-07-29 23:31:17 +0300
commita949b223c35e8aa7e3dfa20cbd513490eb63562c (patch)
treed3e121b522f7eff5bca7678e6d49aa16af067721 /include/libopencm3/stm32/common
parentb9448bff169114f8263d11a5b452e141a48c0448 (diff)
stm32f3: flash: pgerr is not the same as pgperr
F3's flash interface is actually quite different, don't try and force sharing code that isn't really related. The "PGERR" is a very different bit than the parallelism error that f2/4/7 have.
Diffstat (limited to 'include/libopencm3/stm32/common')
-rw-r--r--include/libopencm3/stm32/common/flash_common_f234.h1
-rw-r--r--include/libopencm3/stm32/common/flash_common_f24.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/include/libopencm3/stm32/common/flash_common_f234.h b/include/libopencm3/stm32/common/flash_common_f234.h
index 50390c38..e1bb37d3 100644
--- a/include/libopencm3/stm32/common/flash_common_f234.h
+++ b/include/libopencm3/stm32/common/flash_common_f234.h
@@ -75,7 +75,6 @@
BEGIN_DECLS
-void flash_clear_pgperr_flag(void);
void flash_clear_status_flags(void);
void flash_wait_for_last_operation(void);
diff --git a/include/libopencm3/stm32/common/flash_common_f24.h b/include/libopencm3/stm32/common/flash_common_f24.h
index 647f8413..706774b0 100644
--- a/include/libopencm3/stm32/common/flash_common_f24.h
+++ b/include/libopencm3/stm32/common/flash_common_f24.h
@@ -114,6 +114,7 @@ BEGIN_DECLS
void flash_lock_option_bytes(void);
void flash_clear_pgserr_flag(void);
+void flash_clear_pgperr_flag(void);
void flash_clear_wrperr_flag(void);
void flash_clear_pgaerr_flag(void);
void flash_erase_all_sectors(uint32_t program_size);