[fix] missing stlink_fwrite_flash decl
authorFabien Le Mentec <texane@gmail.com>
Sun, 16 Oct 2011 20:36:53 +0000 (15:36 -0500)
committerFabien Le Mentec <texane@gmail.com>
Sun, 16 Oct 2011 20:36:53 +0000 (15:36 -0500)
TODO
src/stlink-common.h

diff --git a/TODO b/TODO
index d715eb0d745bbe66c723f4522c6b8785e897bebf..4d1929c963a6cb0d2ab5b67e2f00fdc35a120bfc 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,4 +1,7 @@
 . flash writing is not working from GDB
+add a standalone application, flash/
+
+. add a startup.S based example
 
 . remove libsg dependency using:
 https://github.com/afaerber/stlink/tree/master/libstlink
index 6110875fbc51dae132ebaedfe69c10e6196ec4ed..cb6c6cc09705ddbdebc7d7d0cfbde60746027729 100644 (file)
@@ -211,6 +211,7 @@ extern "C" {
     // unprocessed
     int stlink_erase_flash_mass(stlink_t* sl);
     int stlink_write_flash(stlink_t* sl, stm32_addr_t address, uint8_t* data, unsigned length);
+    int stlink_fwrite_flash(stlink_t *sl, const char* path, stm32_addr_t addr);
     
     // PUBLIC
     uint16_t stlink_chip_id(stlink_t *sl);