Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP Flasher: add c3 and c6 to s3 option #35

Merged
merged 4 commits into from
Nov 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion esp_flasher/application.fam
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
App(
appid="esp_flasher",
name="[ESP] ESP Flasher",
fap_version=(1, 6),
fap_version=(1, 7),
apptype=FlipperAppType.EXTERNAL,
entry_point="esp_flasher_app",
requires=["gui"],
Expand Down
8 changes: 4 additions & 4 deletions esp_flasher/scenes/esp_flasher_scene_browse.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,9 @@ static void esp_flasher_scene_browse_callback(void* context, uint32_t index) {
#define STR_APP_A "FirmwareA(" TOSTRING(ESP_ADDR_APP_A) ")"
#define STR_APP_B "FirmwareB(" TOSTRING(ESP_ADDR_APP_B) ")"
#define STR_CUSTOM "Custom"
#define STR_FLASH_S3 "[>] FLASH - slow (S3)"
#define STR_FLASH_S3 "[>] FLASH - slow (0x0)"
#define STR_FLASH "[>] FLASH - slow"
#define STR_FLASH_TURBO_S3 "[>] FLASH - fast (S3)"
#define STR_FLASH_TURBO_S3 "[>] FLASH - fast (0x0)"
#define STR_FLASH_TURBO "[>] FLASH - fast"
static void _refresh_submenu(EspFlasherApp* app) {
Submenu* submenu = app->submenu;
Expand All @@ -192,8 +192,8 @@ static void _refresh_submenu(EspFlasherApp* app) {
submenu_set_header(submenu, "Browse for files to flash");
submenu_add_item(
submenu,
app->selected_flash_options[SelectedFlashS3Mode] ? "[x] Using ESP32-S3" :
"[ ] Select if using S3",
app->selected_flash_options[SelectedFlashS3Mode] ? "[x] Using S3, C3 or C6" :
"[ ] Select for S3, C3, C6",
SubmenuIndexS3Mode,
esp_flasher_scene_browse_callback,
app);
Expand Down