From 69843086f92ce1cb69f1960cb9499e5bb59628a7 Mon Sep 17 00:00:00 2001 From: Julien Calixte Date: Sun, 12 Jul 2026 10:49:16 +0200 Subject: [PATCH] chore(firmware): flash at 921600 baud Default espflash baud (115200) made a full flash take ~2-3 min of serial transfer. Bump the cargo runner and the two direct-espflash recipes (flash-git-push, flash-git-sync) to 921600. Monitor recipes keep 115200 to match the device UART log rate. --- firmware/.cargo/config.toml | 2 +- firmware/justfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/firmware/.cargo/config.toml b/firmware/.cargo/config.toml index 4b8eb47..3175e3a 100644 --- a/firmware/.cargo/config.toml +++ b/firmware/.cargo/config.toml @@ -3,7 +3,7 @@ target = "xtensa-esp32s3-espidf" [target.'cfg(target_os = "espidf")'] linker = "ldproxy" -runner = "espflash flash --monitor" +runner = "espflash flash --monitor --baud 921600" rustflags = [ "--cfg", "espidf_time64"] [unstable] diff --git a/firmware/justfile b/firmware/justfile index 568cb47..6f16ede 100644 --- a/firmware/justfile +++ b/firmware/justfile @@ -112,7 +112,7 @@ build-git-push: # (so the `storage` FAT partition exists) and sets 16 MB flash. Uses espflash # directly, not `cargo run`, so the table is applied only to this binary. flash-git-push: build-git-push - espflash flash --monitor --partition-table {{partition_table}} --flash-size 16mb {{elf_git_push}} + espflash flash --monitor --baud 921600 --partition-table {{partition_table}} --flash-size 16mb {{elf_git_push}} # serial monitor for the git push, with decoded backtraces monitor-git-push: @@ -125,7 +125,7 @@ build-git-sync: # Milestone #2A — flash + monitor. Applies the same custom partition table as # git-push (the `storage` FAT partition holds the persistent clone). flash-git-sync: build-git-sync - espflash flash --monitor --partition-table {{partition_table}} --flash-size 16mb {{elf_git_sync}} + espflash flash --monitor --baud 921600 --partition-table {{partition_table}} --flash-size 16mb {{elf_git_sync}} # serial monitor for the git sync, with decoded backtraces monitor-git-sync: