From 5314cf8aeea8c82f5cdeaaec0bdd120b2c487666 Mon Sep 17 00:00:00 2001 From: liuning Date: Tue, 27 Feb 2024 09:42:52 +0800 Subject: [PATCH] example: add custom partition table for mesh manual networking --- examples/mesh/manual_networking/partitions.csv | 5 +++++ examples/mesh/manual_networking/sdkconfig.defaults | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 examples/mesh/manual_networking/partitions.csv create mode 100644 examples/mesh/manual_networking/sdkconfig.defaults diff --git a/examples/mesh/manual_networking/partitions.csv b/examples/mesh/manual_networking/partitions.csv new file mode 100644 index 0000000000..028e2a905b --- /dev/null +++ b/examples/mesh/manual_networking/partitions.csv @@ -0,0 +1,5 @@ +# Name, Type, SubType, Offset, Size, Flags +# Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlap +nvs, data, nvs, 0x9000, 0x6000, +phy_init, data, phy, 0xf000, 0x1000, +factory, app, factory, 0x10000, 1200K, diff --git a/examples/mesh/manual_networking/sdkconfig.defaults b/examples/mesh/manual_networking/sdkconfig.defaults new file mode 100644 index 0000000000..4fa6805624 --- /dev/null +++ b/examples/mesh/manual_networking/sdkconfig.defaults @@ -0,0 +1,5 @@ +CONFIG_PARTITION_TABLE_CUSTOM=y +CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv" +CONFIG_PARTITION_TABLE_FILENAME="partitions.csv" +CONFIG_PARTITION_TABLE_OFFSET=0x8000 +CONFIG_PARTITION_TABLE_MD5=y