From 5c4177047522f3c7bb26236b6437488131748343 Mon Sep 17 00:00:00 2001 From: Claas Date: Wed, 28 Jan 2026 23:13:21 +0100 Subject: [PATCH] Set up partition table --- .cargo/config.toml | 3 ++- README.md | 1 + partitions.csv => partition-table.csv | 0 3 files changed, 3 insertions(+), 1 deletion(-) rename partitions.csv => partition-table.csv (100%) diff --git a/.cargo/config.toml b/.cargo/config.toml index ae85381..7ae8236 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,5 +1,6 @@ [target.riscv32imc-unknown-none-elf] -runner = "espflash flash --monitor --chip esp32c3 --log-format defmt" +# Parition table can also be converted to .bin using espflash and set in espflash.toml +runner = "espflash flash --monitor --chip esp32c3 --log-format defmt --partition-table ./partition-table.csv" [env] DEFMT_LOG="info" diff --git a/README.md b/README.md index fadd07c..c4d39d0 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ I did not build this from scratch. This is based on the previous and future work - [ESPConnect](https://thelastoutpostworkshop.github.io/ESPConnect/) - Crates - [Embedded graphics](https://crates.io/crates/embedded_graphics) +- [Reading/Writing partition tables](https://docs.espressif.com/projects/rust/esp-bootloader-esp-idf/0.3.0/esp32c2/esp_bootloader_esp_idf/partitions/index.html) ## Backup diff --git a/partitions.csv b/partition-table.csv similarity index 100% rename from partitions.csv rename to partition-table.csv -- 2.51.2