From 4c29d0f2de68080f642d5024ae4145b27606bb58 Mon Sep 17 00:00:00 2001 From: William Emfinger Date: Wed, 15 Jul 2026 13:38:59 -0500 Subject: [PATCH] fix(cardputer-ci): Fix CI build of cardputer which consumes more flash on older ESP-IDF --- components/m5stack-cardputer/example/partitions.csv | 5 +++++ components/m5stack-cardputer/example/sdkconfig.defaults | 7 +++++++ 2 files changed, 12 insertions(+) create mode 100644 components/m5stack-cardputer/example/partitions.csv 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