ESP Flasher quick flash for wroom / dev pro

This commit is contained in:
Willy-JL
2023-08-11 22:53:31 +02:00
parent 29c3031942
commit 35cf740a63
24 changed files with 206 additions and 98 deletions

View File

@@ -189,6 +189,7 @@ static int32_t esp_flasher_flash_bin(void* context) {
// done
app->flash_worker_busy = false;
app->quickflash = false;
// cleanup
furi_stream_buffer_free(flash_rx_stream);
@@ -236,6 +237,10 @@ static int32_t esp_flasher_reset(void* context) {
app->reset = false;
app->boot = false;
if(app->quickflash) {
esp_flasher_flash_bin(app);
}
return 0;
}
@@ -324,4 +329,4 @@ void esp_flasher_worker_handle_rx_data_cb(uint8_t* buf, size_t len, void* contex
// done flashing
if(global_app) esp_flasher_console_output_handle_rx_data_cb(buf, len, global_app);
}
}
}