summaryrefslogtreecommitdiff
path: root/ucoo/hal/self_programming/self_programming.hh
diff options
context:
space:
mode:
authorNicolas Schodet2015-11-25 17:11:43 +0100
committerNicolas Schodet2019-10-07 00:44:57 +0200
commitcd8dfb2c6cae2cb3c4a9440bb19773cefb1d0eb3 (patch)
treec77322da6186470de532b9ccd9ddd9e2a608094d /ucoo/hal/self_programming/self_programming.hh
parentdde0d4cfe6379e628729fe87aa5849db6cc11366 (diff)
ucoo/hal/self_programming: add STM32F1 support
Diffstat (limited to 'ucoo/hal/self_programming/self_programming.hh')
-rw-r--r--ucoo/hal/self_programming/self_programming.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/ucoo/hal/self_programming/self_programming.hh b/ucoo/hal/self_programming/self_programming.hh
index 8964fb8..4e06709 100644
--- a/ucoo/hal/self_programming/self_programming.hh
+++ b/ucoo/hal/self_programming/self_programming.hh
@@ -27,6 +27,10 @@
namespace ucoo {
+/// Query flash size.
+int
+self_programming_flash_size ();
+
/// Erase flash, must be aligned on erase size.
void
self_programming_erase (uint32_t addr, int count);