From 21b97c63a23e98f6b6e9db438783af75a46414c0 Mon Sep 17 00:00:00 2001 From: Akos Vandra-Meyer Date: Sun, 25 Sep 2022 21:17:53 +0200 Subject: [PATCH] Use the partitions.csv file in the git root Fixes #116 Also bails with build failures if the image would not fit into the partitions defined by the csv file. --- sdkconfig.defaults | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sdkconfig.defaults b/sdkconfig.defaults index 48099ad8..fb0fb774 100644 --- a/sdkconfig.defaults +++ b/sdkconfig.defaults @@ -22,3 +22,8 @@ CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_DEFAULT_FULL=y # Future: proper back-trace for esp32c3 #CONFIG_ESP_SYSTEM_USE_EH_FRAME=y + +#Use the partitions.csv file in the git root +CONFIG_PARTITION_TABLE_SINGLE_APP= +CONFIG_PARTITION_TABLE_CUSTOM=y +CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="../../../../../../partitions.csv"