diff options
author | Damien George <damien.p.george@gmail.com> | 2014-03-17 13:31:35 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-03-17 13:31:35 +0000 |
commit | 9e5ea4d768da3273b6d060cceffcc858e1c4827d (patch) | |
tree | ca4ca9e8398e86af2d39a44e6f91f0fed08941a7 /stmhal/flash.h | |
parent | 8a9a31e57b48f948dd8c0cf23a91e08848af2462 (diff) | |
download | micropython-9e5ea4d768da3273b6d060cceffcc858e1c4827d.tar.gz micropython-9e5ea4d768da3273b6d060cceffcc858e1c4827d.zip |
stmhal: Add flash write support and flash storage driver.
Diffstat (limited to 'stmhal/flash.h')
-rw-r--r-- | stmhal/flash.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stmhal/flash.h b/stmhal/flash.h new file mode 100644 index 0000000000..33d31df7a6 --- /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); |