mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-09-26 20:00:32 +00:00
Fix ota-update example (#4145)
This commit is contained in:
parent
5e938322f4
commit
37f048f20b
@ -1,12 +1,12 @@
|
||||
[target.'cfg(target_arch = "riscv32")']
|
||||
runner = "espflash flash --monitor --partition-table=partitions.csv"
|
||||
runner = "espflash flash --monitor --partition-table=examples/ota/update/partitions.csv"
|
||||
rustflags = [
|
||||
"-C", "link-arg=-Tlinkall.x",
|
||||
"-C", "force-frame-pointers",
|
||||
]
|
||||
|
||||
[target.'cfg(target_arch = "xtensa")']
|
||||
runner = "espflash flash --monitor --partition-table=partitions.csv"
|
||||
runner = "espflash flash --monitor --partition-table=examples/ota/update/partitions.csv"
|
||||
rustflags = [
|
||||
# GNU LD
|
||||
"-C", "link-arg=-Wl,-Tlinkall.x",
|
||||
|
@ -10,11 +10,11 @@
|
||||
//!
|
||||
//! ```ignore,bash
|
||||
//! cargo xtask build examples gpio --chip=esp32
|
||||
//! espflash save-image --chip=esp32 examples/interrupt/gpio/target/xtensa-esp32-none-elf/release/gpio_interrupt examples/target/ota_image
|
||||
//! espflash save-image --chip=esp32 target/xtensa-esp32-none-elf/release/gpio_interrupt examples/target/ota_image
|
||||
//! cargo xtask build examples update --chip=esp32
|
||||
//! espflash save-image --chip=esp32 examples/ota/update/target/xtensa-esp32-none-elf/release/ota_update examples/target/ota_image
|
||||
//! espflash save-image --chip=esp32 target/xtensa-esp32-none-elf/release/ota_update examples/target/ota_image
|
||||
//! cargo xtask build examples update --chip=esp32
|
||||
//! espflash save-image --chip=esp32 examples/ota/update/target/xtensa-esp32-none-elf/release/ota_update examples/target/ota_image
|
||||
//! espflash save-image --chip=esp32 target/xtensa-esp32-none-elf/release/ota_update examples/target/ota_image
|
||||
//! espflash erase-flash
|
||||
//! cargo xtask run example update --chip=esp32
|
||||
//! ```
|
||||
|
Loading…
x
Reference in New Issue
Block a user