File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Original file line number Diff line number Diff line change @@ -181,10 +181,18 @@ def _get_board_flash_mode(env):
181
181
#
182
182
# Generate partition table
183
183
#
184
+
185
+ # Export path to the partitions table
186
+ env .Replace (
187
+ PARTITION_TABLE_CSV = join (
188
+ FRAMEWORK_DIR , "tools" , "partitions" ,
189
+ "%s.csv" % env .BoardConfig ().get ("build.partitions" , "default" )
190
+ )
191
+ )
192
+
184
193
partition_table = env .Command (
185
194
join ("$BUILD_DIR" , "partitions.bin" ),
186
- join (FRAMEWORK_DIR , "tools" , "partitions" ,
187
- "%s.csv" % env .BoardConfig ().get ("build.partitions" , "default" )),
195
+ "$PARTITION_TABLE_CSV" ,
188
196
env .VerboseAction ('"$PYTHONEXE" "%s" -q $SOURCE $TARGET' % join (
189
197
FRAMEWORK_DIR , "tools" , "gen_esp32part.py" ),
190
198
"Generating partitions $TARGET" ))
You can’t perform that action at this time.
0 commit comments