diff --git a/partitions.csv b/partitions.csv new file mode 100644 index 0000000..fc9a91e --- /dev/null +++ b/partitions.csv @@ -0,0 +1,7 @@ +# 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, , 0x4000, +otadata, data, ota, , 0x2000, +phy_init, data, phy, , 0x1000, +dfu, app, factory, , 200K, +app, app, ota_0, , 1M, diff --git a/sdkconfig.defaults b/sdkconfig.defaults index 1230543..858ccdb 100644 --- a/sdkconfig.defaults +++ b/sdkconfig.defaults @@ -8,3 +8,9 @@ CONFIG_TINYUSB_DFU=y # Communication Device Class (CDC) # CONFIG_TINYUSB_DFU_CDC_ENABLED=y +# +# Partition Table +# +CONFIG_PARTITION_TABLE_CUSTOM=y +CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv" +CONFIG_PARTITION_TABLE_FILENAME="partitions.csv"