Allow to write to sram from the command line
[fw/stlink] / src / stlink-common.h
index a1442f366cd3ab0738e9522c0aa9921dc3cbe2d7..155c6c003083e5e3fe45c4b253ccb67d3370e222 100644 (file)
@@ -363,6 +363,7 @@ extern "C" {
     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);
+    int stlink_fwrite_sram(stlink_t *sl, const char* path, stm32_addr_t addr);
     int stlink_verify_write_flash(stlink_t *sl, stm32_addr_t address, uint8_t *data, unsigned length);
     
     // PUBLIC