From 27cbec5d271d7479ec1a54a05c901c1fd01c1041 Mon Sep 17 00:00:00 2001 From: Fabien Le Mentec Date: Sun, 16 Oct 2011 15:36:53 -0500 Subject: [PATCH] [fix] missing stlink_fwrite_flash decl --- TODO | 3 +++ src/stlink-common.h | 1 + 2 files changed, 4 insertions(+) diff --git a/TODO b/TODO index d715eb0..4d1929c 100644 --- 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 diff --git a/src/stlink-common.h b/src/stlink-common.h index 6110875..cb6c6cc 100644 --- a/src/stlink-common.h +++ b/src/stlink-common.h @@ -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); -- 2.47.2