diff --git a/components/m5stack-cardputer/example/partitions.csv b/components/m5stack-cardputer/example/partitions.csv new file mode 100644 index 000000000..e2f979691 --- /dev/null +++ b/components/m5stack-cardputer/example/partitions.csv @@ -0,0 +1,5 @@ +# Name, Type, SubType, Offset, Size +nvs, data, nvs, 0xa000, 0x6000 +phy_init, data, phy, , 0x1000 +factory, app, factory, , 3M +littlefs, data, littlefs, , 3M diff --git a/components/m5stack-cardputer/example/sdkconfig.defaults b/components/m5stack-cardputer/example/sdkconfig.defaults index 477a010ce..6237a09eb 100644 --- a/components/m5stack-cardputer/example/sdkconfig.defaults +++ b/components/m5stack-cardputer/example/sdkconfig.defaults @@ -10,6 +10,13 @@ CONFIG_ESPTOOLPY_FLASHSIZE="8MB" # over twice as fast as DIO CONFIG_ESPTOOLPY_FLASHMODE_QIO=y +# +# Partition Table +# +CONFIG_PARTITION_TABLE_CUSTOM=y +CONFIG_PARTITION_TABLE_OFFSET=0x9000 +CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv" + # ESP32-specific # CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y