From bdbf125d4dd210b29131ac844ce41cecbeecbf6c Mon Sep 17 00:00:00 2001 From: Valerii Koval Date: Mon, 7 May 2018 23:50:32 +0300 Subject: [PATCH] Replace PARTITION_TABLE_CSV variable instead of appending --- builder/frameworks/espidf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/frameworks/espidf.py b/builder/frameworks/espidf.py index be689a6..933def6 100644 --- a/builder/frameworks/espidf.py +++ b/builder/frameworks/espidf.py @@ -323,7 +323,7 @@ if not isfile(join(env.subst("$PROJECTSRC_DIR"), "sdkconfig.h")): # # Export path to the partitions table -env.Append( +env.Replace( PARTITION_TABLE_CSV=join( FRAMEWORK_DIR, "components", "partition_table", "%s.csv" % env.BoardConfig().get("build.partitions", "partitions_singleapp")