From 9e5ea4d768da3273b6d060cceffcc858e1c4827d Mon Sep 17 00:00:00 2001 From: Damien George Date: Mon, 17 Mar 2014 13:31:35 +0000 Subject: stmhal: Add flash write support and flash storage driver. --- stmhal/flash.h | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 stmhal/flash.h (limited to 'stmhal/flash.h') diff --git a/stmhal/flash.h b/stmhal/flash.h new file mode 100644 index 000000000..33d31df7a --- /dev/null +++ b/stmhal/flash.h @@ -0,0 +1,2 @@ +uint32_t flash_get_sector_info(uint32_t addr, uint32_t *start_addr, uint32_t *size); +void flash_write(uint32_t flash_dest, const uint32_t *src, uint32_t num_word32); -- cgit v1.2.3