Skip to content

Commit

Permalink
Add partition table
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani committed May 11, 2023
1 parent c008d74 commit 7a29af2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ esp32s3 = ["dep:esp32s3", "dep:esp32s3-hal", "esp-backtrace/esp32s3", "esp-print
jtag_serial = ["esp-backtrace/print-jtag-serial", "esp-println/jtag_serial"]
rtt = ["esp-backtrace/print-rtt", "esp-println/rtt"]

[package.metadata.espflash]
partition_table = "partitions.csv"
format = "esp-bootloader"

[workspace]
members = [
".",
Expand Down
5 changes: 5 additions & 0 deletions partitions.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Name, Type, SubType, Offset, Size, Flags
otadata, data, ota, , 0x2000,
ota_0, app, ota_0, , 2M,
ota_1, app, ota_1, , 2M,
storage, data, undefined,, 4032K,

0 comments on commit 7a29af2

Please sign in to comment.