pub fn openocd_flash(&self, firmware: &Path) -> Result<String> {
        let data = json!({ "firmware": firmware });
        helpers::clear_vars();
        Ok(self.0.render("openocd/flash.openocd", &data)?)
    }
/// Renders OpenOCD `flash` command script.
Renders OpenOCD `flash` command script.
Renders OpenOCD ` flash ` command script .
pub fn openocd_flash(&self, firmware: &Path) -> Result<String> {
        let data = json!({ "firmware": firmware });
        helpers::clear_vars();
        Ok(self.0.render("openocd/flash.openocd", &data)?)
    }
pub fn openocd_flash ( & self , firmware : & Path ) -> Result < String > { let data = json ! ( { " " firmware } ) ; helpers :: clear_vars ( ) ; Ok ( self . 0 . render ( " " , & data ) ? ) }
Renders OpenOCD `flash` command script.
Renders OpenOCD ` flash ` command script .
&self
firmware
&Path
&self
firmware
&Path