diff --git a/rust/.cargo/config.toml b/rust/.cargo/config.toml index c7e8e2b..726c94a 100644 --- a/rust/.cargo/config.toml +++ b/rust/.cargo/config.toml @@ -5,8 +5,8 @@ target = "riscv32imac-esp-espidf" [target.riscv32imac-esp-espidf] linker = "ldproxy" #runner = "espflash flash --monitor --baud 921600 --partition-table partitions.csv -b no-reset" # Select this runner in case of usb ttl -runner = "espflash flash --monitor --baud 921600 --flash-size 16mb --partition-table partitions.csv" -#runner = "cargo runner" +#runner = "espflash flash --monitor" +runner = "cargo runner" #runner = "espflash flash --monitor --partition-table partitions.csv -b no-reset" # create upgrade image file for webupload diff --git a/rust/espflash.toml b/rust/espflash.toml new file mode 100644 index 0000000..0d52e35 --- /dev/null +++ b/rust/espflash.toml @@ -0,0 +1,6 @@ +partition_table="partitions.csv" +[connection] +serial = "/dev/ttyACM0" +baudrate = 921600 +[flash] +size = "16MB" \ No newline at end of file diff --git a/rust/partitions.csv b/rust/partitions.csv index 68f2fe9..7c42c1d 100644 --- a/rust/partitions.csv +++ b/rust/partitions.csv @@ -1,6 +1,6 @@ nvs, data, nvs, , 16k, otadata, data, ota, , 8k, phy_init, data, phy, , 4k, -ota_0, app, ota_0, , 5632k, -ota_1, app, ota_1, , 5632k, -storage, data, spiffs, , 5000k, \ No newline at end of file +ota_0, app, ota_0, , 3968k, +ota_1, app, ota_0, , 3968k, +storage, data, spiffs, , 8M,